Question: One can uncover the pattern size with the following code. The code accesses the raw device to avoid file system optimizations. The key to all

One can uncover the pattern size with the following code. The code accesses the raw device to avoid file system optimizations. The key to all of the Shear algorithms is to use random requests to avoid triggering any of the prefetch or caching mechanisms within the RAID or within individual disks. The basic idea of this code sequence is to access N random blocks at a fixed interval p within the RAID array and to measure the completion time of each interval.
One can uncover the pattern size with the following code.

If you run this code on a RAID array and plot the measured time for the N requests as a function of p, then you will see that the time is highest when all N

One can uncover the pattern size with the following code.

Figure 6.26 Results from running the pattern size algorithm of Shear on a mock storage system.
Requests fall on the same disk; thus, the value of p with the highest time corresponds to the pattern size of the RAID.
a. Figure 6.26 shows the results of running the pattern size algorithm on an unknown RAID system.
€¢ What is the pattern size of this storage system?
€¢ What do the measured times of 0.4, 0.8, and 1.6 seconds correspond to in this storage system?
€¢ If this is a RAID 0 array, then how many disks are present?
€¢ If this is a RAID 0 array, then what is the chunk size?
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: 4
€¢ Chunk size: 8 KB

for (p = BLOCKS IZE; p

Step by Step Solution

3.40 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a The pattern size is detected by the highest time which first occurs at 64 KB At that point all req... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

903-C-S-S-A-D (3249).docx

120 KBs Word File

Students Have Also Explored These Related Systems Analysis And Design Questions!