Question

Consider a disk with a sector size of 512 bytes, 2000 tracks per surface, 50 sectors...

Consider a disk with a sector size of 512 bytes, 2000 tracks per surface, 50 sectors per track, five double-sided platters, and average seek time of 10 msec

Suppose that a block size of 1024 bytes is chosen. Suppose that a file containing 100,000 records of 100 bytes each is to be stored on such a disk and that no record is allowed to span two blocks

1. Suppose the interleaving factor is 3. What time is required to read a file containing 100,000 records of 100 bytes each sequentially?

2. 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

0 0
Add a comment Improve this question Transcribed image text
Answer #1

I have first answered the second question and then with first question, kindly don’t confuse, comment me if you have any clarification.

Solution for second answer:

Let me first define these factors so that you can understand vividly:

Access time is defined as the time taken to approach a block and then seek time is defined as the time consumed to transfer the disk head for locating the block, the rotational delay is regarded as the waiting time taken by the block to revolve around under the disk head while transfer time is defined as the time consumed for write and read, in other words, time consumed for disk to rotate. Therefore, we can derive that, access time can be gained by adding seek time with rotational delay and transfer time together. It is evident that the seek time is 10msec , rotational is 6msec and transfer time is 1k/2,250 where 2,250 is obtained by capacity of a track which is 25K bytes, 0.11 is the maximum rotational delay , therefore, 25K/ 0.011= 2, 250Kbytes/sec. Now we can find the access time which is 16.44 msec and since the question says 10,000 blocks, the answer would be 164.4 seconds.

Solution for first answer:

Transfer Time is obtained by 400 tracks multiplied with maximum rotational delay which is 0.011, therefore the total transfer time is 4.4 seconds and seek time is obtained by 40 cylinders multiplied with seek time of 0.01 about 100,000 records of 100 bytes, therefore, the total seek time is 0.4 seconds. Now by adding the seek time with transfer time we obtain the total access time which is 4.8 seconds.

Add a comment
Know the answer?
Add Answer to:
Consider a disk with a sector size of 512 bytes, 2000 tracks per surface, 50 sectors...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 12 Consider a magnetic disk drive with 10 double sided platters, 512(=2^9) tracks per surface,...

    Question 12 Consider a magnetic disk drive with 10 double sided platters, 512(=2^9) tracks per surface, and 1024 (=2^10) sectors per track. Sector size is 2KBytes (=2^10 Bytes ). Assume the average seek time 0.02 ms, the seek time from a track to its adjacent track can be ignored. The drive rotates at 5400 rpm. Successive tracks in a cylinder can be read without head movement. Furthermore, disks can be handled independently, so multiple tracks in a cylinder can be...

  • a drive has 512 sectors per track a block size of 512 bytes and spins at...

    a drive has 512 sectors per track a block size of 512 bytes and spins at 12000 rpm. (a)what is the max file size in terms of blocks for a unix file system with 1024 byte blocks and 32 bit bloack addresses if every i-node has 10 direct block addresses, 1 indirect block address, 1 double indirect block address and 1 triple indirect block address. (B) consider the prefix code : b: 1111 a:1110 i:1101 j:1100 s:101 t:100 1:01 3:00...

  • Assume a rather old disk drive is configured as follows. The total storage is divided among...

    Assume a rather old disk drive is configured as follows. The total storage is divided among 32 surfaces. There are 2048 tracks per sector. There are 512 sectors per track. There are 512 Bytes per sector. The interleaving factor is 4. The disk turns at 7200 rpm. The average startup time for the read/write arm is 15 ms and the average time to move the arm is 0.2 ms per track. Now assume that there is 8 MB file on...

  • 17 18 19 Direction of disk rotation 14 15 19 20 21 22 23 24 Figure on the right shows the tracks and sectors on a disk. The size of File A, B, and C is 1028 bytes, 2521 bytes, and 8211 bytes respecti...

    17 18 19 Direction of disk rotation 14 15 19 20 21 22 23 24 Figure on the right shows the tracks and sectors on a disk. The size of File A, B, and C is 1028 bytes, 2521 bytes, and 8211 bytes respectivelv. Answer the following questions. 17 18 1 27 28/29 2212324252 If data block size is 1KB, how many data blocks does this disk contain? Answer: How many data blocks does File A take? Answe How many...

  • Consider a magnetic disk that has 1,764 cylinders, 500 sectors per track (on average), 0.07 milliseconds...

    Consider a magnetic disk that has 1,764 cylinders, 500 sectors per track (on average), 0.07 milliseconds minimum seek time, and 5,376 rpm rotational speed. Assume that the disk heads have a constant speed. Each sector is 512 bytes, and each block is four sectors. What is the average rotational delay in milliseconds (rounded to no decimal places)?

  • On a traditional hard drive with spinning magnetic platters, the time it takes to execute a...

    On a traditional hard drive with spinning magnetic platters, the time it takes to execute a read is the sum of the seek time and the block read time. The seek time is the amount of time it takes the hard drive to physically locate the requested data, and the block read time is the amount of time it takes the data to be read off the disk. If a file is split across multiple blocks, then the drive must...

  • Consider a disk with block size = 4096 bytes. A block pointer is 6 bytes and...

    Consider a disk with block size = 4096 bytes. A block pointer is 6 bytes and a record pointer is 8 bytes long. A file has 100,000 records of fixed length. Each record has the following fields and byte size: Name (30), Ssn (9), Dept (9), Address (40), Phone (10), Bdate (8), Sex (1), Job (4) and Salary (4). An additional byte is used as a deletion marked. a. Calculate the record size R in bytes b. Calculate the blocking...

  • Question 7. A hard disk has the following parameters 8 surfaces 40,000 tracks per surface •...

    Question 7. A hard disk has the following parameters 8 surfaces 40,000 tracks per surface • 512 sectors per track 1024 bytes per sector Rotational speed 10,000 rpm a) What is the capacity of the drive? b) What is the rotational latency? c) Once a sector has been accessed, what is the rate at which data is read?

  • A) How long does it take to read 1,056,000 contiguous bytes from a disk with these...

    A) How long does it take to read 1,056,000 contiguous bytes from a disk with these specs: Block (sector) size: 512 bytes Sectors per track: 180 IODCU overhead: 1.6 ms Seek time: 11 ms Rotation speed: 12,500 RPM B) A disk has 250 (512 byte) blocks per track and a data transfer rate of 22.4 Megabytes per second. What is the disk's rotational speed in revolutions per minute (RPM)?

  • Problem 1. Consider a disk with block size B=1024 bytes. A block pointer is P =...

    Problem 1. Consider a disk with block size B=1024 bytes. A block pointer is P = 8 bytes long, and a record pointer is R =7 bytes long. A file has r=5,000,000 EMPLOYEE records of fixed- length. Each record has the following fields: NAME (30 bytes), SSN (9 bytes), DEPARTMENTCODE (9 bytes), ADDRESS (35 bytes), PHONE (9 bytes), BIRTHDATE (8 bytes), SEX (1 byte), JOBCODE (4 bytes), SALARY (4 bytes, real number). An additional byte is used as a deletion...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT