System Software and Operating System - File and Input/Output System

61. If a disk has a seek time of 20 ms, rotates 20 revolutions per second, has 100 words per block, and each track has capacity of 300 words. Then the total time required to access one block is

  • Option : D
  • Explanation : Time taken to access one block = seek time + rotational delay + block transfer time
    Seek time = 20 ms (given)
    Rotational delay = on an average taken to be the time to rotate by half = 1/2 X time for 1 rotation = 1/2 X 1/20 seconds = 1/40 s = 25 ms
    Block Transfer time = block size / transfer rate = 100 / transfer rate
    Now, transfer rate = Track capacity / rotation rate = 300 / ( 1/ 20) = 6000 word per sec = 6 word per ms
    Block Transfer time = block size / transfer rate = 100 / 6 ~ 16.67 ms per block Time taken to access one block = seek time + rotational delay + block transfer time= 20 + 25 + 16.67 = 61.67 ms
Cancel reply
Cancel reply

65. Disk requests come to a disk driver for cylinders 10, 22, 20, 2, 40, 6 and 38, in that order at a time when the disk drive is reading from cylinder 20. The seek time is 6 ms per cylinder.
The total seek time, if the disk arm scheduling algorithm is first-come-first-served is

  • Option : B
  • Explanation : According to FCFS order serverd will be (20),10, 22, 20, 2, 40, 6 and 38
    Seek time = 10+12+2+18+38+34+32 = 146
    The disk drive has to traverse totally 146 cylinders (verify). So, seek time is 6 x 146 = 876 ms.
Cancel reply
Cancel reply