Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a disk with sector size of 1024 bytes, 1000 tracks per surface, 50 sectors per track, 4 doublesided platters. Suppose that the disk platters

Consider a disk with sector size of 1024 bytes, 1000 tracks per surface, 50 sectors per track, 4 doublesided platters. Suppose that the disk platters rotate at 7400 rpm (revolutions per minute) and the average seek time is 7 msec. Suppose that a block (page) of 4096 bytes is chosen. Now, consider a file with 1,000,000 records of 190 bytes each that is to be stored on such a disk and that no record is allowed to span two blocks. Also, no block can span two tracks.

a. How many records fit onto a block?

b. How many blocks are required to store the entire file? If the file is arranged sequentially on the disk, how many cylinders are needed?

c. How many records of 100 bytes each can be stored using this disk?

d. What time is required to read a file containing 100,000 records of 100 bytes each sequentially?

e. What is the time required to read a file containing 100,000 records of 100 bytes each in a random order? To read a record, the block containing the record has to be fetched from disk. Assume that each block request incurs the average seek time and rotational delay.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions