Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Nodes per second

Author: Robert Hyatt

Date: 05:51:01 04/01/98

Go up one level in this thread


On April 01, 1998 at 03:21:58, Andreas De Troy wrote:

>[I wrote a similar post a few days ago in rec.games.chess.computer, but
>it did not show up there (at least I did not see it), so I repost it
>now.]
>
>I am working on My First ChessProgram and I wonder how you people count
>these nps (nodes per second). I see that Nimzo98 claims 200 000 nps on a
>Pentium 200 and when I compare this to *my* current program I cannot
>imagine how I could ever reach, say, half of this number. I got
>typically between 45 000 and 70 000 nps with material evaluation only.
>
>So how do you count this? I saw in Crafty the "nodes++"-statement at the
>beginning of the ab-search and the q-search, and that's how I count too.
>But maybe you should count the number of generated moves instead? (The
>number would be much higher then.)
>
>And a few days ago I saw in a message from KK that hashing influenced
>this number too so my second question is: are the hits counted, or
>aren't they?
>
>Thanks for any info on this,
>
>Andreas De Troy.



1.  the way I count NPS has been the "standard" for years, although
everyone doesn't follow it all the time...  If you are doing what I
do, you are producing the "right number"

2.  hashing has little effect on NPS, and this effect is not predictable
at all.  Bigger hash tables can slightly speed you up or slow you down
depending on specific hits and where they happen and how they effect
pruning.

3.  to go faster (nps) simply use bad move ordering.  IE NPS is not the
thing to work on.    If you can ramp NPS up *without* compromising any-
thing, you will play better.  But for development, use "time-to-
solution" as the metric you minimize, to win games...



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.