   Disabling windows file caching?
  Does anyone know of a way to disable windows file caching? I would like to optimize the load times for a game I'm working on, but the load times are only poor on the first attempt to run the game(10x as long). On every subsequent run it takes barely any time at all to startup.    I do see some methods to disable write caching.. but what I need is read caching..Thanks   
  Was this what you were looking for?   ;Quote:Original post by AndyPandyV2Does anyone know of a way to disable windows file caching? I would like to optimize the load times for a game I'm working on, but the load times are only poor on the first attempt to run the game(10x as long). On every subsequent run it takes barely any time at all to startup. Do you happen to be loading thousands upon thousands of files? Or just have them in same directory? This problem can be trivially solved by packing them into single archive - doesn't matter if compressed or not.This is the primary cause of slowdown under NTFS. With everything else, you are limited to raw disk read speed.   ;  You can use the Windows Performance Toolkit, specifically Xperf, to measure and analyze the performance of your game.Xperf's command line usage is tricky to figure out, but once you get that working you can use its powerful GUI to analyze things such as CPU usage, disk IO (actual activity on the disk), file IO (file operation calls; this sounds like what you want to investigate), and registry IO.Here's an example of someone using Xperf and other tools to investigate mysterious hard drive activity: Who Scraped Over My Disk?. There may be other examples and tutorials out there, but one downside with Xperf is that they're somewhat rare so you're mostly on your own.Here's another introduction to Xperf and example usage.   