Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Sempron vs. Athlon 64: Proof that Crafty's working set is < 256k

Author: Robert Hyatt

Date: 06:45:56 08/23/04

Go up one level in this thread


On August 23, 2004 at 03:25:54, Sune Fischer wrote:

>On August 22, 2004 at 22:44:16, Robert Hyatt wrote:
>
>>BTW when you tested that did you _run_ the program?  It defers some mallocs
>>until it actually does a _search_...
>>
>>Aha.  OK.  I just ran a test with (a) no egtables, (b) no compiled in threads
>>and I get a running size of about 5.75mb, with 3.75mb for the hash/hashp tables,
>>that leaves 2.0mb for crafty and data.  How much is unused?  I don't know.  But
>>then I don't run a stripped-down no-thread version either, so perhaps we are not
>>comparing apples to apples...
>
>Using the following rc file:
>hash 4M
>hashp 1M
>cache 1M  (no EGT access)
>drawscore=0
>book off
>book random 1
>book width 5
>learn 0
>resign 6
>log off
>
>Crafty v.18.15 (smp) will use 5532 kB while running the benchmark according to
>the task manager.
>
>Crafty v.19.03 (single) will use 5332 kB while running the benchmark.
>
>If I'm reading it right that means about 5120 kB is for the pawn and main hash,
>so the remainder is a working set of a few hundred kB.
>
>-S.


You aren't reading it right.  Hash will be 3.0 mb (the default).  Crafty won't
use anything but 3/4 of a power of 2.  Ditto for phash.  So you are using
exactly 3.75mb of hash total.  Not 5120k.

to see the above, after starting crafty just type "info" and it will tell you
how much memory is being used for hash and phash...

And maybe then we can stop the disinformation express???



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.