Problem 3.3 In a data center, it is critical to store information redundantly so
ID: 3306503 • Letter: P
Question
Problem 3.3 In a data center, it is critical to store information redundantly so that no data is lost if a single hard drive fails. In this problem, we will examine a few methods1 for adding redundancy across the n hard drives in a single server rack: » No Redundancy: Each drive in a rack stores different data. Data is lost if one or more » Repetition: Each drive in a rack stores a copy of the same data. Data is lost only if all » Single Loss Recovery: The first n - 1 drives in a rack store different data and the last out of the n drives fail. n drives in the rack fail drive stores the XOR of the data from these drives. Data is lost if two or more out of the n drives fail. » Double Loss Recovery: This is a more complex scheme that can tolerate two drive failures. Data is lost if three or more out of the n drives fail Below, we have illustrated examples of the first three strategies for n 3 drives and the fourth strategy for n = 8 drives. The symbols b1, b2, b3, b4 refer to blocks of bits and thesymbol refers to the XOR operation No Redundancy Repetition Single Loss Recovery bi Double Loss Recovery 3 You may assume that drives fail independently of one another and the probability that a drive is working at the end of a day is p (a) For each of the four strategies described above, write down an expression for the probability that the rack loses no data at the end of the day. Your expressions should be in terms of n and p. Simplify as much as you can (b) Evaluate the probabilities from part (a) for n = 8 and p = 0.9. (c) To further increase the reliability, you have decided to maintain 3 identical copies of each rack. Using your expressions from part (a) as a building block, determine, for each of the four strategies, the probability that at least one of these three racks has lost no data at the end of the day (d) Evaluate the probabilities from part (c) for n = 8 and p = 0.9Explanation / Answer
For no redundancy,
All drives must work.
Required probability = pxpxpxp....n times = pn
For Repetition,
Any one drive must work.
Required probability = pn + pn1(1p) + pn2(1p)2 + .......+ p(1p)n1
This is a Geometric Progression with common ratio as (1p)/p
Required probability = pn [(1 (1p)n/pn) / {1 (1p)/p}]
For single loss recovery,
At maximum, one drive could fail.
Required probability = pn + pn1(1p) = pn1
For Double loss recovery:
At maximum, 2 drives could fail.
Required probability = pn + pn1(1p) + pn2(1p)2
= pn1 + pn2(p2 2p + 1)
= pn pn1 + pn2
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.