How can I find hard disk speed
How can I find hard disk speed? I can not use System.IO.File.Copy and use timer to get hard disk speed, because after caching file, the speed will be really higher than real time. What can I do instead? The reason the subsequent read speed is much higher than expected after writing a file, is that the file is cached by the OS in the disk system cache when it is written i.e. in-memory. The subsequent file read is in effect being read from memory, rather than disk. Please see this code project article which provides a solution for bypassing the OS disk cache by leveraging the FILE_FLAG_NO