Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: typical nps on single cpus

Author: Dan Newman

Date: 14:44:43 02/13/00

Go up one level in this thread


On February 13, 2000 at 12:20:21, Will Singleton wrote:

>On February 13, 2000 at 06:57:16, Dan Newman wrote:
>
>>On February 13, 2000 at 03:35:50, Will Singleton wrote:
>>
>>>I am always interested in the nps kibitzed by programs playing on ICC.  You can
>>>never be sure as to the accuracy, since one can fiddle with the numbers.  But I
>>>was surprised the other day to see an amateur program getting in excess of 1
>>>million nps on a 700mhz machine.  Many amateur progs get around 100knps or less.
>>>
>>>Just wondering.  Anybody get close to or more than 1000 nps per mhz?
>>>
>>>Will
>>
>>Shrike gets about that.  A month or so ago it was hitting 530 knps on a
>>PIII/500, but now it's down to 490 after adding a bunch of eval.  (These
>>figures are average over WAC.)  It maxes out at about 750 knps--when there's
>>only one pawn left :).  So I guess I'm at about 980 nps/MHz and going down...
>>
>>-Dan.
>
>What do you do to get that speed?  Bitboards, slim eval, anything else?
>
>Will

Well, I tend to unroll loops, and avoid if-tests where possible.  I use
switch statements to select just the right piece of code in the move
generators and make/undo and thus avoid a lot of if-tests.  My code
is rather bloated as a result: about 11,000 LOC with the comments stripped
out.

-Dan.



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.