Quote:
Originally Posted by Xitix
Mentioned about VG doing way too many redudant file reads in another thread but may as well mention it here in regards to sound. It's constantly rereading the same parts of various files and doing reads of adjacent parts of files sequentially. Pairing up the adjacent reads and using a MRU type cache of a couple megs could easily cut the number of file system read calls by 90%. There are also a lot of reads I see where it does a pile of say 512 byte reads one after another where the offset into the file is only changing by a much smaller amount.

Grab FileMon from FileMon for Windows v7.04 and load it up. Set a filter so it only shows access for sound files (*.isb;*.icb) and play the game or even just sit at char select and take a look the file activity. Doing that many small reads when it isn't neccessary isn't a good thing for performance. With a filter of VGClient.exe its very easy to see why the game hitches for so many people when it's loading stuff - it's doing it very ineffciently.


I saw your post in the other thread and aleady forwarded it to code to see if anything can be done.</div> <div> __________________
Nino McHammer
Fires of Heaven
Veeshan

Weiterlesen...