One can uncover the chunk size with the following code. The basic idea is to perform reads

Question:

One can uncover the chunk size with the following code. The basic idea is to perform reads from N patterns chosen at random, but always at controlled offsets, c and c - 1, within the pattern.
One can uncover the chunk size with the following code.
One can uncover the chunk size with the following code.

Figure 6.27 Results from running the chunk size algorithm of Shear on a mock storage system.

One can uncover the chunk size with the following code.

If you run this code and plot the measured time as a function of c, then you will see that the measured time is lowest when the requestA and requestB reads fall on two different disks. Thus, the values of c with low times correspond to the chunk boundaries between disks of the RAID.
a. Figure 6.27 shows the results of running the chunk size algorithm on an unknown RAID system.
€¢ What is the chunk size of this storage system?
€¢ What do the measured times of 0.75 and 1.5 seconds correspond to in this storage system?
b. Draw the graph that would result from running this Shear code on a storage system with the following characteristics:
Number of requests: N = 1000
€¢ Time for a random read on disk: 5 ms
€¢ RAID level: RAID 0
€¢ Number of disks: 8
€¢ Chunk size: 12 KB

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Architecture A Quantitative Approach

ISBN: 978-0123704900

4th edition

Authors: John L. Hennessy, David A. Patterson

Question Posted: