- Jul 2, 2012
- 8,173
- 524
- 126
I considered asking this in several other forums, but this is a programming and software testing question in most respects.
I want to test the performance of a software package that reads and indexes tens of thousands of files (music files of various types). It's been shown that disk caching of the files has a huge impact on the timings that are found during testing.
How can I flush the Windows (different flavors) OS cache of the files read from disk, as well as any hardware cashes? I need to do this from the command-line, so that it can be dropped into a testing script.
I want to test the performance of a software package that reads and indexes tens of thousands of files (music files of various types). It's been shown that disk caching of the files has a huge impact on the timings that are found during testing.
How can I flush the Windows (different flavors) OS cache of the files read from disk, as well as any hardware cashes? I need to do this from the command-line, so that it can be dropped into a testing script.