View Single Post
Old 03-09-2007, 05:25 AM   #147 (permalink)
Xitix
Registered User
 
Join Date: Apr 2002
Posts: 188
-2 Internets
Quote:
Originally Posted by Aradune Mithara View Post
I realize that there are some issues with some video cards that need to be addressed, but I also know that, for example, the machine I play on has an ati X1950 with 512megs of RAM and I can play for hours and hours with no CTD, fast chunking, etc. So as faster PCs become available as well as faster video cards with more RAM, these issues should fade into the past. And the prices for this equipment continue to drop as well.
From what I see looking at what VG is doing in various monitoring tools I would say your chunking very fast because your using a system with multiple cores. Asset files, especially sound which I looked at in detail, are first opened VERY VERY VERY ineffeciently. Just look at the number of raw read calls and the amount of data that is re-read over and over when if first opens the file and gets the list of what is in it and where. A second CPU handling all those redundant reads would give a huge boost to the game. So would cleaning things up so they aren't done in the first place.

Added: some examples of what it's doing poorly

Take a look at how Engine.u is loaded before character select comes up. This is a 3,223,510 byte file and VG reads from it 14,099 times. Loading the whole thing into a buffer on start up and taking parts from that would be a lot faster.

On shutdown it saves Solo_VGMainBarHotkeys.xml which is 166 bytes long in 166 writes of 1 byte each. Sure it buffers writes to disk but making that many write system calls to Windows takes orders of magnitude longer than making one call to write all 166 bytes. It also opens,reads entire file in one read call then closes this file *twice* on startup here.

Last edited by Xitix; 03-09-2007 at 07:12 AM..
Xitix is offline   Reply With Quote

 
Uberguilds Network