Author: Sean Mintz
Date: 08:22:44 12/21/03
Go up one level in this thread
>Your adaptive command produces one question you can answer for me...
>
>use your adaptive command in "text mode" (console mode).
>
>then type a "level 0 5 3" command
>
>and the hash size will self-adjust. Check the memory usage. Then
>do
>
>" level 0 60 60" which should adjust hash size way up.
>
>Check memory usage again. Then back to the level 0 5 3 and so forth,
>and the memory size should _not_ slowly increase. If it does, that will
>point me to what is happening in windows....
F:\chess\engines\crafty>crafty-stmintz-1908.exe
Initializing multiple threads.
System is SMP, not NUMA.
found computer opening book file [./bookc.bin].
adaptive estimated NPS = 1600K
adaptive minimum hsize = 6M
adaptive maximum hsize = 192M
adaptive minimum psize = 1M
adaptive maximum psize = 48M
max threads set to 2
5 piece tablebase files found
13989kb of RAM used for TB indices and decompression tables
EGTB cache memory = 8M bytes.
book learning enabled
result learning enabled
position learning enabled
pondering enabled.
end game on time forfeits
Crafty v19.8 (2 cpus)
White(1):
======================
Mem Usage 20,480 K, Virtual Mem 28,944 K
======================
White(1): level 0 5 3
game/5 minutes primary time control
increment 3 seconds.
time limit 13.88 (1:28)
hash table memory = 24M bytes.
pawn hash table memory = 3M bytes.
White(1):
======================
Mem Usage 48,216 K, Virtual Mem 56,624 K
======================
White(1): level 0 60 60
game/60 minutes primary time control
increment 60 seconds.
time limit 3:15 (18:15)
hash table memory = 192M bytes.
pawn hash table memory = 48M bytes.
White(1):
======================
Ouch. Setting the hash tables was a few seconds instead of instantanous -and-
Mem Usage 48,460 K, Virtual Mem 302,632 K
I switched it back to ''level 0 5 3'' and the memory usage went down to 21,448
K, but the virtual memory went up to 330,316 K.
I sure hope this helps. I'll try Eugenes code and see if it fixes it.
Sean Mintz
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.