how to estimate the disk access time?
e.g. the time between read one byte and another byte in the
disk.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know the use of fflush() function?

812


What is the heap in c?

852


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

874


What is the purpose of sprintf() function?

819


Does * p ++ increment p or what it points to?

843


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

7778


What is c token?

828


Write a program to use switch statement.

890


pierrot's divisor program using c or c++ code

1966


Why is c called "mother" language?

1060


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

1814


What is the difference between mpi and openmp?

1002


Explain #pragma statements.

807


How to get string length of given string in c?

808


Write a program to generate the Fibinocci Series

878