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 is the output of the following code? main() { int I; I=0x10+010+10; printf("x=%x",I); } give detailed reason
What is the restrict keyword in C?
Explain modulus operator.
what is the similarities between. system call and library function?
What is #ifdef ? What is its application?
What is the difference between array and pointer?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What are multibyte characters?
What is the benefit of using const for declaring constants?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
how to swap four numbers without using fifth variable?
Do array subscripts always start with zero?