Calculating hard drive throughput

江枫思渺然 提交于 2019-12-05 21:12:01

If a program writes data to disk, there happen quite a lot of different things:

First the data is written into a RAM buffer and the operation is acknowledged to the writing program way before the data is transfered to the next stages.

Then data is written to the Harddisk controller which may do its own caching.

Then data is written to the hard-drive which in turn may do its own caching.

It is very complicated to measure the real throughput with high level software.

One possibility: Write a very large file, which is expected to be much larger than any chaches in the Operating System / Controler/Hard drive. This gives you a good estimate of sustained writing rate.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!