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



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

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

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

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

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

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

Post New Answer

More C Interview Questions

what is the different bitween abap and abap-hr?

0 Answers   TCS,


how could explain about job profile

0 Answers  


Write a program to exchange two variaables without temp

9 Answers   Geometric Software,


write a program for egyptian fractions in c?

1 Answers   Satyam,


Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com

0 Answers  


Why do we use stdio h and conio h?

0 Answers  


Can we increase size of array in c?

0 Answers  


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

0 Answers  


Is exit(status) truly equivalent to returning the same status from main?

0 Answers  


two variables are added answer is stored on not for third variable how it is possible?

3 Answers  


What functions are in conio h?

0 Answers  


#include<stdio.h> #include<conio.h> void main() { float a; clrscr(); a=0.5; if(a==0.5) printf("yes"); else printf("no"); getch(); }

9 Answers   TCS,


Categories