Why is read-ahead a problem since above is only a 512bytes read, all it takes is normally positioning the drive head .. Then if the cache is the reason, it should affect the file as well, but I am getting the same result for all reps?
More importantly, my experiment is really about time/vs blocksize, and I am trying to make it more accurate :
- Shall I only use regular files?
- position the disk head somewhere else after each test?
- is it possible to flush all caches programmatically ?
Sorry for all those questions ..