CS433: Computer Systems Organization - Homework 6 - Prof. Josep Torrellas, Assignments of Computer Architecture and Organization

The instructions and questions for homework 6 in the cs433: computer systems organization course, which covers topics such as disk performance, i/o performance, and reliability. Students are required to calculate average search times for sequential and binary search, determine the number of transactions per second for different disk choices, and calculate the reliability of an i/o subsystem.

Typology: Assignments

Pre 2010

Uploaded on 03/11/2009

koofers-user-5kz
koofers-user-5kz 🇺🇸

10 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS433: Computer Systems Organization Fall 2008
Homework 6
Assigned: Nov/20
Due in class Dec/9
Total points: 40 points.
Instructions:
Please write your name, NetID and an alias on your homework submissions for posting grades
(If you don’t want your grades posted, then don’t write an alias). We will use this alias
throughout the semester. Homeworks are due in class on the date posted.
pf3
pf4
pf5

Partial preview of the text

Download CS433: Computer Systems Organization - Homework 6 - Prof. Josep Torrellas and more Assignments Computer Architecture and Organization in PDF only on Docsity!

CS433: Computer Systems Organization Fall 2008

Homework 6

Assigned: Nov/

Due in class Dec/

Total points: 40 points.

Instructions:

Please write your name, NetID and an alias on your homework submissions for posting grades

(If you don’t want your grades posted, then don’t write an alias). We will use this alias

throughout the semester. Homeworks are due in class on the date posted.

1. Disk Performance [10 points] Consider the following hard drive: Seek Time 8 ms Rotation Speed 7200 rpm Transfer Rate 80 MB/s Controller Overhead 0.1 ms Sector Size 512 Bytes

(a) We have a 1 MB binary file stored on a single track. The file contains sorted key/value pairs. Each pair consists of two integers. The first integer is the key and the second is its corresponding value. Integers are 4 bytes long. Assuming the integer key we are searching for is contained within the file, calculate the average time needed to find its corresponding value using sequential search. Assume the only significant factor in the search time is the time to transfer sectors from disk (once transferred to memory, the time needed for to process each record is negligible).Assume we can process the file as we read. On average, how long does it take to find a key/value pair on the hard disk? [6 points]

(b) What would be the worst case time needed if we used binary search? [4 points]

(c) How many hard drives would be required if we use enough small disks such that the hard drives are not the bottleneck? What is the cost of the system? [3 points]

  1. Reliability [10 points] We want to calculate the reliability of an I/O subsystem with the following components and MTTF (mean time till failure):
  • 4 disks, each 120 GB and rated at 500,000-hour MTTF
  • 1 IDE controller, 10,000,000-hour MTTF
  • 1 power supply, 800,000-hour MTTF
  • 4 IDE cables, 2,000,000-hour MTTF Assume component lifetimes are exponentially distributed.

(a) What is the MTTF of the entire I/O subsystem? [4 points]

(b) The owner of the computer system wants more space and performance and decides to double the number of hard disks and put all the disks under RAID 0 (no redundancy). What is the MTTF for the new I/O subsystem? Note, we’ll naturally also be adding 4 IDE cables for the 4 new hard disks too. [3 points]

(c) After taking cs433, the owner of the computer system is more concerned with the reliability of his system and decides to use RAID3 on his 6 hard disks. Assuming a working hot swap drive is available at all times, and it takes 1 hour to reconstruct the data onto this new replacement drive. What is the mean time till data loss? Assume the error we are concerned with is when a drive fails and during the reconstruction, when the RAID system is vulnerable to data loss, another of the drives fails. [3 points]