26. RAID Flashcards

1
Q

Describe workshop papers.

A

Short (5-6 pages), usually containing only a provocative argument, system design, or very preliminary results

Ex: “Hierarchical Filesystems Are Dead”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe conference papers

A

Long (12-14 pages), enough space to describe and evaluate a complete novel system

Example: The Scalable Commutativity Rule

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe journal papers

A

Longer (>14 pages), usually a published conference paper with extra material (frequently all of the unnecessary results that they removed to make the conference page limit)

Advice: read the conference paper

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the 5 kinds of papers discussed in class?

A
  1. (Big) idea papers
  2. Problem papers
  3. Data papers
  4. New technology papers
  5. Wrong way papers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What do (big) idea papers cover?

A

Presents a new approach to an existing problem or a new idea about how to build systems.

Should convince you that the solution is (1) new, (2) works, and (3) is useful

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What do problem papers cover?

A

Presents a new problem and, usually, some ideas about how to solve it.

Should convince you that the problem is (1) new, (2) matters, and (3) that there are some ways to solve it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What do data papers cover?

A

Presents novel analysis or analysis of a novel data set that produces interesting insights.

Should convince you that the results are useful to the design of future systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What do new technology papers cover?

A

Describe some new hardware capability or device feature and why it’s interesting.

Should convince you that the hardware can be used to build better systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What do wrong way papers cover?

A

Argue that the community is solving an existing problem incorrectly. Frequently these are workshop-level papers and eventually lead to idea papers.

Should be able to convince you that everyone else is confused and misguided (Good luck!)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does RAID stand for?

A

Redundant Arrays of Inexpensive Disks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What kind of paper is the RAID paper?

A

A big idea paper.

It spawned a commonly-used technology, an entire industry, and lots of similar approaches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the big idea of the RAID paper?

A

Several cheap things can be better than one expensive thing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Where else do we see this idea applied today?

A

Multicore processors, Google using thousands of Dell computers in network, and crowdsourcing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the problem that the RAID paper identifies?

A

Computer CPUs are getting faster, computer memory is getting faster, and hard drives are not keeping up

While we can imagine improvements in software file systems via buffering for near term I/O demands, we need innovation to avoid an I/O crisis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the problem with the RAID solution to the cost of SLEDs?

A

Many cheap things fail much more frequently than one expensive thing.

This means there needs to be a plan in place to handle failures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does RAID 1 work?

A

RAID 1 is mirroring.

There are two duplicate disks.

Writes must go to both disks, reads can come from either.

Performance: better for reads.

Capacity: Unchanged

17
Q

How does RAID 2 work?

A

Byte-level striping, single error disk. (meaning data written to disk is spread out byte by byte across multiple disks)

Hamming codes are used to detect failures and correct errors

Most reads and writes require all disks

Capacity: “improved”

18
Q

How does RAID 3 work?

A

RAID 3 only corrects errors, since disks can detect when they fail.

Byte-level striping, single parity disk. (for each byte, there’s an extra bit of information stored somewhere on another disk)

Most reads and writes require all disks.

Capacity: “improved”

19
Q

How does RAID 4 work?

A

Block-level striping, single parity disk.

Better distribution of reads between disks due to larger stripe size, but all writes must access the parity disk.

Performance: improved for reads

20
Q

How does RAID 5 work?

A

Block-level striping.

Multiple parity disks.

Better distribution of writes between disks.

Performance: improved for writes

21
Q

What is RAID 0?

A

Each disk stores half of the data

No error correction or redundancy

Performance: fantastic!

Capacity: fantastic!

Redundancy: ZERO!

22
Q

What is RAID 0?

A

RAID 0 is not RAID.

Each disk stores half of the data (2 disks total)

No error correction or redundancy

Performance: fantastic!

Capacity: fantastic!

Redundancy: ZERO!

23
Q

What is block-level striping?

A

Writes to disk writes blocks to the many disks in RAID one block at a time, so that a multi-block write happens across multiple disks.

24
Q

What is block-level striping?

A

Writes to disk writes blocks to the many disks in RAID one block at a time, so that a multi-block write happens across multiple disks.

25
Q

How many failures can RAID arrays tolerate?

A

One (or more) disks. The more failures you want your RAID arrays to handle, the more disk space you need to set aside for keeping track of failures (thus reducing your disk’s capacity).

The challenge is identifying the optimal balance between failure tolerance and disk capacity.

26
Q

What two things happen when a disk fails in a RAID system?

A
  1. Once one (or several) disks fail, the array is vulnerable to data loss.
  2. An administrator must replace the disk(s) and then rebuild the array