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

#&#8206;include&#8236;<stdio.h> void main() { int i; for(i=5;0;i++) { printf("%d",i); } }

2 Answers   Facebook,


Write a program to print the prime numbers from 1 to 100?

7 Answers  


Write a function that will take in a phone number and output all possible alphabetical combinations

0 Answers   Motorola,


i want to know aptitude questions,technical questions

2 Answers  


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

0 Answers   Oracle,






Why is c so important?

0 Answers  


If the static variable is declared as global, will it be same as extern?

1 Answers   Samsung,


Write a c program to demonstrate Type casting in c?

2 Answers  


What is the best style for code layout in c?

0 Answers  


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

1 Answers   91mobiles, Amazon, App Guruz, College School Exams Tests, Folio3, Infosys, Omega, Planin, Riphah International University, Subex,


What is the best way to comment out a section of code that contains comments?

0 Answers  


Write a program to find the smallest and largest element in a given array in c language

11 Answers   Microsoft, Vembu,


Categories