Author: Tony Werten
Date: 04:29:03 10/18/02
Go up one level in this thread
On October 18, 2002 at 06:54:58, Gian-Carlo Pascutto wrote: >Since I've rewritten Sjeng's bookbuilder, I've noticed something >strange. When I build books on Linux, the bookbuilder runs at >a constant speed of several hundred games per second no matter >how large the book is. > >On Windows 2000 however, performance falls steeply to a tens >of games per second as soon as the size of the book gets bigger >than (approximately) 16M. > >The natural explanation seems to be that Linux has no problem >caching the entire book in RAM (>600M RAM free) so building happens >essentially with disk access only to read the PGN. > >Windows doesn't seem to be able or willing to cache more than 16M >of the book and starts writing to disk to soon. > >Some questions: > >a) Does the same effect still exists in Windows XP or is it fixed there? >b) Can my application give 'hints' to the OS via system calls to avoid this? >c) Is there any way to fix this possibly via editing the registry? > >If there's no satisfactory solution, I'll likely add more caching in >my bookbuilder, but it seems silly that a modern OS cannot handle this. > >Another question: Is it possible the determine the actual amount of >physical RAM that is installed in the machine? I'm not sure about 2000, but older version of windows have a cachemanager that is set depending on the type of computer (netwerkserver,desktop or portable ) set in system->performance->filesystem. When set to netwerkserver, this cache is biggest. You can also download a cachemanager to manually set this. Tony > >-- >GCP
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.