1 / 6

Homework Assignment #4

Homework Assignment #4. J. H. Wang Dec. 10, 2009. Homework #4. Chap.11: 11.1, 11.6 Chap.12: 12.7, 12.8, 12.29 Due: two weeks ( Dec. 24, 2009 ). Chap.11 11.1: In what situations would using memory as a RAM disk be more useful than using it as a disk cache?

cherie
Download Presentation

Homework Assignment #4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Homework Assignment #4 J. H. Wang Dec. 10, 2009

  2. Homework #4 • Chap.11: 11.1, 11.6 • Chap.12: 12.7, 12.8, 12.29 • Due: two weeks (Dec. 24, 2009)

  3. Chap.11 • 11.1: In what situations would using memory as a RAM disk be more useful than using it as a disk cache? • 11.6: Consider a file system that uses inodes to represent files. Disk blocks are 8KB in size, and a pointer to a disk block requires 4 bytes. This file system has 12 direct disk blocks, as well as single, double, and triple indirect disk blocks. What is the maximum size of a file that can be stored in this file system?

  4. Chap.12 • 12.7: Compare the performance of write operations achieved by a RAID level 5 organization with that achieved by a RAID level 1 organization.

  5. 12.8 Suppose that a disk drive has 5,000 cylinders, numbered 0 to 4999. The drive is currently serving a request at cylinder 143, and the previous request was at cylinder 125. The queue of pending requests, in FIFO order, is 86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests, for each of the following disk-scheduling algorithms?(a) FCFS(b) SSTF(c) SCAN(d) LOOK(e) C-SCAN(f) C-LOOK

  6. 12.29: Could a RAID level 1 organization achieve better performance for read requests than a RAID level 0 organization (with nonredundant striping of data)? If so, how?

More Related