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:42:45 08/23/04

Go up one level in this thread


On August 23, 2004 at 00:18:30, Tom Kerrigan wrote:

>On August 22, 2004 at 23:43:32, Robert Hyatt wrote:
>
>>>No, you're not an idiot for that. (Duh.) You're an idiot for not knowing if your
>>>program takes ~1MB of memory or ~16MB of memory. I mean, seriously, you're off
>>>by more than an order of magnitude here.
>>
>>No I'm not.  I simply _always_ run a full version, supporting threads, endgame
>>tables, everything.  Never occurs to me to test with something that I don't
>>actually use in real games...
>
>Who said anything about testing? I know roughly how much memory every part of my
>own program takes because I _WROTE_ it.

So do _I_ for the "normal threaded Crafty".

Hence my earlier comments of 5.5mb can't be right.

I don't compile it without threads, or without tables, or without futility, or
without null-move, etc, because I don't play it like that.


>
>>Now, unless something further comes up, I'll leave the last word to you.  I
>>don't see much point in continuing to argue about working set size without some
>>_real_ data.
>
>Interesting that you quit the discussion right when we have some new data that
>conclusively proves my assertion. The maximum possible size that Crafty's
>working set could possibly be is 1236k (5076-3840).



Will you please read for a minute.  A scaled-down version might be that small.
The normal crafty that plays on ICC is _not_ that small.  Need I keep repeating
that over and over?




> So we can throw out all of
>your hypotheticals about the cache getting thrashed so much during search that
>cache size doesn't affect performance--with e.g. a 1024k L2 cache, you only have
>212k left to thrash it with!! I could write more but I wouldn't want to
>embarrass you even more.

Or embarass yourself when you keep forgetting about important details.  I just
ran crafty on my dual, default everything.  Memory usage is 6.2mb.  With 3.75mb
for hash/hashp, no egtbs, just the full engine, that leaves about 2.5mb of
non-hash stuff.  Those are _real_ numbers.  How much of it is not used during
the search would be a guess.  But there is _real_ traffic over a big chunk of
that due to threading.



>
>-Tom



This page took 0.01 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.