How to Calculate access time of Disk.....

Posted on 2013-06-08
Last Modified: 2013-07-15
Seek Time on a hard disk is 60 ms.It rotates at the rate of 12000 rpm.Each tract has 300 sectors.Calculate the access time of disk?
Question by:sarang8180
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +1
LVL 27

Expert Comment

ID: 39232534
average seek time + average rotational delay + transfer time + controller overhead + queuing delay


Author Comment

ID: 39232542
Calculation is: Access time=Seek time+latency time

    =60 ms+(300/2)/12000*100

how 100 they have put here?Each time i have to divide 2 from number of sectors ie. 300
LVL 92

Expert Comment

ID: 39232589
where does that calculation come from??
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 39232597
from my book..Another example..

Seek time of dsk is 20ms.It rotates at the rate of 6000 track on this disk has 200 sectors. Calculate access time of disk.

Solution: (200/2 /6000*200)*60

     now please tell how above calculation formed?....

Author Comment

ID: 39232599
book name is
LVL 92

Expert Comment

ID: 39232640
LVL 70

Expert Comment

ID: 39232818
The statement that "... Calculation is: Access time=Seek time+latency time " is correct, but the formula does not match that.

Average latency time is simply 1/2 the time it takes to rotate the platter ... i.e. on average you will get to the data quicker sometimes, a bit longer others, but will average 1/2 of the rotation.

The number of sectors/cylinder is irrelevant (and is in fact DIFFERENT on different sections of the disk).

So ... for the first example in your question ...

Average seek time = 60 ms

Disk rotates at 12,000 rpm, so that's 12000/60 = 200 rotations/second.   So it takes 1/200 th of second to rotate once, which is 5ms.     1/2 of that is 2.5ms, so the average latency is 2.5ms.

So the average access time is 60 + 2.5 = 62.5ms

In your 2nd example, the seek time is 20ms;  the average latency for a 6000rpm disk will be 5ms (since it takes 10ms to rotate once);  so the average access = 20ms + 5ms = 25ms

Author Comment

ID: 39232980
why have you divided avg. latency by 2?
LVL 70

Accepted Solution

garycase earned 500 total points
ID: 39233355
I didn't divide the average latency by 2.   I divided the time it takes for one rotation of the platter by 2 ==> that's how you compute the average latency.

Remember, the disk is rotating.   To access data there are fundamentally two things that have to happen [there are actually others, but they take so little time it's not worth considering]:  (a)  you have to move the heads to the right cylinder ("seek");  and then you have to wait until the platter rotates so the sector you want is under the heads so it can be read/written.

The seek time obviously varies depending on where the cylinder you want is relative to where the head is right now; but the published seek times are the average, so that's what you generally use.   For more detailed calculations, you can check the manufacturer's site and get data for track-track seek; head settling time; max stroke time (time to move from the innermost cylinder to the outermost cylinder), etc. ==> but for your purposes just using the average seek time is fine.

The "latency" refers to how long you're waiting for the platter to rotate to the sector you want.    On average, this will be 1/2 of the time it takes to rotate.   It could be as little as zero ... i.e. the sector you want might just happen to be where it's at when the seek is completed;  or it could be a full rotation ... if you "just missed" the sector when the seek finished.   But statistically, it will be 1/2 of the rotation time.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AWS Glacier is Amazons cheapest storage option and is their answer to a ‘Cold’ storage service.  Customers primarily use this service for archival purposes and storage of infrastructure backups.  Its unlimited storage potential and low storage cost …
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question