Ponder

Discussion of chess software programming and technical issues.

Moderator: Ras

chrisw
Posts: 4624
Joined: Tue Apr 03, 2012 4:28 pm
Location: Midi-Pyrénées
Full name: Christopher Whittington

Ponder

Post by chrisw »

What should be the default settings be for a UCI engine. Ponder enabled=1 or 0?
alvinypeng
Posts: 36
Joined: Thu Mar 03, 2022 7:29 am
Full name: Alvin Peng

Re: Ponder

Post by alvinypeng »

Ponder is usually disabled by default.
User avatar
Ras
Posts: 2696
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Ponder

Post by Ras »

Ponder is only initiated by the GUI, never by the engine. The GUI needs to give a "go ponder" command - otherwise, the engine shall not ponder.

Also, the engine sends "option name ponder" to the GUI to announce its capability, and the UCI spec says:
* <id> = Ponder, type check
this means that the engine is able to ponder.
The GUI will send this whenever pondering is possible or not.
Note: The engine should not start pondering on its own if this is enabled, this option is only needed because the engine might change its time management algorithm when pondering is allowed.
Rasmus Althoff
https://www.ct800.net
User avatar
mvanthoor
Posts: 1784
Joined: Wed Jul 03, 2019 4:42 pm
Location: Netherlands
Full name: Marcel Vanthoor

Re: Ponder

Post by mvanthoor »

chrisw wrote: Thu Apr 20, 2023 10:42 pm What should be the default settings be for a UCI engine. Ponder enabled=1 or 0?
Off. First, as Ras says, the engine should not ponder by its own decision (when running as a UCI engine at least). Also I've never known anyone to use ponder since the time that chess engines are strong enough to defeat any human being while thinking for just 1 second per move. I've also never heard of anyone using it in a match except when playing a one-on-one match on a computer with 2 or more cores.

I might not even add ponder to my engine to be honest. When putting effort into functionality that won't be used for rating tests, I'd rather make a level function or a multi-PV function because i'd at use those myself.
Author of Rustic, an engine written in Rust.
Releases | Code | Docs | Progress | CCRL
User avatar
hgm
Posts: 28353
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Ponder

Post by hgm »

In over-the-board tournaments like the WCCC and the Leiden Pprogrammers tourney, or on-line tournaments such as the monthly blitz or when playing in the Playchess engine room, everyone uses pondering...