Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: to rotate or not?

Author: Robert Hyatt

Date: 15:02:36 04/25/00

Go up one level in this thread


On April 25, 2000 at 05:59:45, Bas Hamstra wrote:

>On April 25, 2000 at 01:33:45, Tom Kerrigan wrote:
>
>>On April 25, 2000 at 01:32:48, Tom Kerrigan wrote:
>>
>>>On April 25, 2000 at 01:20:11, Bas Hamstra wrote:
>>>
>>>>(Currently I myself have started all over trying to make a really fast rotated
>>>>BB program. Looks promising so far: make/unmake=2M/sec and movegeneration=12M
>>>>moves/sec on a Celeron 466)
>>>
>>>My program does gen/make/unmake at 2M/sec, and just gen at ~10M/sec.
>>>
>>>I'm not using any sort of bitboards.
>>>
>>>Maybe something to consider...
>>>
>>>-Tom
>>
>>Whoops, forgot to mention that I have a Celeron/400.
>>-Tom
>
>I am not very familiar with these type of statistics. What exactly does that
>"gen/make/unmake" mean? Gen all moves and then making/unmaking each? But what
>does it SAY..? I am afraid not much for my type of program. Here is why.
>
>- I have distinct functions gencaps() and gennoncaps()
>- Profiler says caps() is called 10x as much called as noncaps()
>- So 90% the time all the work of gen() is only to find a capture that gives a
>cutoff. Regardless if you distinct them or not.
>
>So you can maybe extremely fast gen+make+unmake all moves. But what *I* want to
>know is "how many times/sec" can I do a capgen(), since that has to be done
>practically *every* node.
>
>And since it don't seem to matter a lot timewise if I generate 3 or 5 captures,
>I simply measure the above TotalCapGens/sec. Maybe we can compare (same hardware
>anyway):
>
>after e4 e5 Nf3 Nf6 Nc3 Nc6 Bc4 Bc5
>
>I can do a CaptureGen() 800k times a second. I am interested in what others
>have, especially 0x88 and non-rotated BB programs.
>
>
>Regards,
>Bas Hamstra.


that was a good data point.  I do the same thing of course, but I often forget
to point out that total move generation is not that frequent, that often
captures are enough.

I just had crafty annotate a whole game at 40 secs/move, with profiler turned
on, to see where the speed is going nowadays.  The data you mentioned looks like
this in this particular profile run:

Generate Captures: 98.3M calls
Generate non-captures: 8.6M calls

Generating only captures is something bitboards excel at, and it is obviously
important, as opposed to the total move generator speed which is not done
even 10% of the time.



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.