how to estimate the disk access time?
e.g. the time between read one byte and another byte in the
disk.
Answers were Sorted based on User's Feedback
Answer / prasad jvv
Disks are block devices. Mean one block of data can be read
at one point of time. So there is no point of time between
read one byte and another byte. If intended to calculate
time to read one byte, first of all we need to calculate
the time required to read one block and devide that by
block size.
Access Time = Command Overhead Time + Seek Time + Settle
Time + Latency
This equation is not universal standard.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / daniele
http://www.linuxinsight.com/how_fast_is_your_disk.html
% sudo hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads: 140 MB in 3.02 seconds = 46.28
MB/sec
Substitute /dev/hda with the name of your raw disk device,
of course (for example, it might be /dev/sda if you're using
libata, or something else).
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / arbit
I suppose the answer is to be figured out programmatically
not by handwaving. Every stupid in Computer Science knows
what you have answered
| Is This Answer Correct ? | 1 Yes | 3 No |
What are nested functions in c?
What is a void pointer in c?
What are called c variables?
can we implement multi-threads in c.
What is the purpose of void pointer?
Write a code on reverse string and its complexity.
What is return type in c?
What is main function in c?
Can we declare a function inside a function in c?
int i=~0; uint j=(uint)i; j++; printf(“%d”,j);
Explain how do you determine the length of a string value that was stored in a variable?
How can I list all of the predefined identifiers?