Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: 0x88 and move generator speed

Author: Larry Griffiths

Date: 19:23:11 01/30/01

Go up one level in this thread


On January 30, 2001 at 21:44:46, Larry Griffiths wrote:

>On January 29, 2001 at 09:08:59, José Carlos wrote:
>
>>  As I started to rewrite my book management code, I decide to rewrite the whole
>>engine in order to get more speed and being able to include new knowledge
>>without getting too slow.
>>  With that idea, I tried changing my board[64] for a 0x88 move generator. Right
>>now, I've only written the move generator but, when I tested it to measure if
>>any improvement in speed, I got amazed. In this position:
>>
>>[D]rnbqkbnr/ppp2ppp/8/3pp3/3PP3/8/PPP2PPP/RNBQKBNR w KQkq d6 0 3
>>
>>  that, if I'm not wrong, is call "Vincent's test" (because Vincent Diepeveen
>>created it), where you have to generate all moves 2,000,000 times, I was getting
>>about 9,500,000 moves per second (8.5 seconds for the whole test) in my AMD
>>Athlon 550, with my old board[64].
>>  Now, with 0x88 I'm getting about 14,500,000 mps (5.5 seconds), which is a huge
>>improvement (I don't remember the exact numbers; it happend last night and I'm
>>at work right now).
>>  My questions:
>>    - is my new number (14,500,000 moves per second) really fast for my hardware
>>or I was really slow with my previous board[64]?
>>    - does it make sense such improvement in speed for that change?
>>    - could you please post your results in this test (and your hardware) for
>>your programs, so that I can compare.
>
Silly me, I ran the test from intial position.

My hardware is a 550Mhz Pentium III xeon processor.
I get 17,006,042 moves generated per second using the position you posted.
My run is posted below:


Here is my corrected run...

1/30/2001 9:14:51 PM | ------------------------------------------------------
1/30/2001 9:14:51 PM | Setting up the board using the following EPD string...
1/30/2001 9:14:51 PM |
1/30/2001 9:14:51 PM | rnbqkbnr/ppp2ppp/8/3pp3/3PP3/8/PPP2PPP/RNBQKBNR w KQkq d6
0 3
1/30/2001 9:14:51 PM |
1/30/2001 9:14:51 PM | White Kingside Castleing Enabled
1/30/2001 9:14:51 PM | White Queenside Castleing Enabled
1/30/2001 9:14:51 PM | Black Kingside Castleing Enabled
1/30/2001 9:14:51 PM | Black Queenside Castleing Enabled
1/30/2001 9:14:51 PM | Enpassant NOT supported yet...
1/30/2001 9:14:51 PM | Enpassant NOT supported yet...
1/30/2001 9:15:21 PM | Bitboard Move Generations Made=      76,000,000

Bitboard Move Generations Per Second=      17,006,042

1/30/2001 9:15:49 PM | Makes/UnMakes Made=      76,000,000
Makes/UnMakes Per Second=       3,074,558

1/30/2001 9:16:22 PM | Generate/Makes/UnMakes Made=      76,000,000
Generate/Makes/UnMakes Per Second=       2,484,147



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.