Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Playing the NPS game

Author: Gian-Carlo Pascutto

Date: 14:13:13 09/26/01

Go up one level in this thread


On September 26, 2001 at 16:15:35, Ren Wu wrote:

>Your NPS number seems low, those numbers are for PII-450, not for Athlon 1000.
>
>First i'll check if in somewhere you do system call too often, for example, when
>did you check time during search, are you call clock() too often? Try your
>engine without any external calls and see.
>
>Are you update 64bits counters at every node? Those can be slow too. What i'll
>do is to use a extra 32 bits counter, and only update 64 bits one when this 32
>bits counter reached to a certain number, for example > 16K. This also served as
>a event to wake up the eventchecker, to see if time is up, and the user has
>input anything etc.
>
>also, try to follow those general principles, like try use int instead other
>type, alien data structure etc. All those small things can added into a big one.
>
>Last, are you sure that you didn't do a nodes >>= 2 in any place. :)

Thanks for the advice, but I'm afraid it's a 'no' on all points :-/

--
GCP



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.