Author: Koundinya Veluri
Date: 21:27:44 10/18/02
Go up one level in this thread
On October 18, 2002 at 18:43:15, Gian-Carlo Pascutto wrote: >On October 18, 2002 at 18:35:32, martin fierz wrote: > >>so your book doesn't fit into your memory? wow, that thing must be huge! or >>maybe it's just that i'm spoiled with my GB-machine :-) > >On my machine it does, but I don't want to make the assumption it >will on all machines, so the code uses fseek/fread/fwrite. > >I have 768M RAM. The book is 16M, the PGN is 153M. Windows is >*continously* busy with the disk and my program is getting <5% >CPU time. That's redicolous. If your pgn is too fragmented, that would explain the heavy disk access. Try defragmenting it. I've built books from some huge pgn files that were much larger than my ram and still had no problems. Even disabling caching completely shouldn't slow the program down that much. Probably your pgn file is fragmented on your windows partition and isn't fragmented on your linux partition. Koundinya > >The exact same program runs about 10x faster on Linux and barely >accesses the disk. > >-- >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.