Winboard delay between games

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Winboard delay between games

Postby Laszlo Gaspar » 16 Oct 2007, 16:57

Hi all!

I would like to play engine matches with fast time control (<10sec). My problem is when I start Winboard with command /mg x, Winboard inserts 10sec between each game for no reason.
Can you help me to eliminate this behavior?

Regards,
László
Laszlo Gaspar
 
Posts: 8
Joined: 29 Aug 2006, 09:37
Location: Budapest, Hungary

Re: Winboard delay between games

Postby Volker Pittlik » 16 Oct 2007, 17:56

Laszlo Gaspar wrote:..., Winboard inserts 10sec between each game


Have you tried "reuse" and "reuse2"? I don't know if it is the deafult but it should shorten the waiting time.

If you like experiments then look in Winboard's source code. There is a fixed waiting time coded in it somewhere. You can shorten that and recompile.


Volker
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland

Re: Winboard delay between games

Postby Laszlo Gaspar » 16 Oct 2007, 20:59

Hi Volker,

Thanks for the quick reply! Unfortunately the reuse command doesn't work in winboard (for me), I tried different ways (/reuse, /reuse=true, /reuseFirst=true, /reuse true), not to mention the default should be true.
The recompilation also doesn't work for me because I am not familiar with C developement (I could understand the code though).

Thank you and best regards,

László
Laszlo Gaspar
 
Posts: 8
Joined: 29 Aug 2006, 09:37
Location: Budapest, Hungary

Re: Winboard delay between games

Postby Roger Brown » 17 Oct 2007, 03:37

Laszlo Gaspar wrote:Hi Volker,

Thanks for the quick reply! Unfortunately the reuse command doesn't work in winboard (for me), I tried different ways (/reuse, /reuse=true, /reuseFirst=true, /reuse true), not to mention the default should be true.
The recompilation also doesn't work for me because I am not familiar with C developement (I could understand the code though).

Thank you and best regards,

László




Hello László,

There is also:

"LG2000v39" /fd="d:\program files\engines\LG2000v39" /xreuse ; /name="Little Goliath 2000 v3.9"

There is a nifty and quite wonderful Winboard ini editor by Thomas McBurney which saves techno phobes like me again and again.

I hope this helps.

Later.
Roger Brown
 
Posts: 346
Joined: 24 Sep 2004, 12:31

Re: Winboard delay between games

Postby H.G.Muller » 17 Oct 2007, 12:58

Winboard intentionally delays 10 seconds, before it starts the new game of a match, even if (or in fact especially if) you 'reuse' the engine:
Code: Select all
   if (matchGame < appData.matchGames) {
       char *tmp;
       tmp = first.twoMachinesColor;
       first.twoMachinesColor = second.twoMachinesColor;
       second.twoMachinesColor = tmp;
       gameMode = nextGameMode;
       matchGame++;
       ScheduleDelayedEvent(NextMatchGame, 10000);
       return;
   } else {


I could easily make this 10000 (msec) a user-definable parameter, through, say, a command-line option '/matchPause'.

But probably it is there for a reason. The engine might need some time reinitializing, after a game end (e.g. clearing its hash table). I am not sure what would happen if you don't give it that time. Perhaps its clock will be started too early, before it is ready to start playing.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Winboard delay between games

Postby Matthias Gemuh » 17 Oct 2007, 14:49

H.G.Muller wrote:But probably it is there for a reason. The engine might need some time reinitializing, after a game end (e.g. clearing its hash table). I am not sure what would happen if you don't give it that time. Perhaps its clock will be started too early, before it is ready to start playing.




I shortened the time in ChessGUI and ran into the problem that late engine output from previous terminated game arrived in new game and messed things up.


Matthias.
http://www.chessgui.com
http://w2410tmq9.homepage.t-online.de
BigLion, Taktix, ArcBishop, FindDraw, ChessGUI
User avatar
Matthias Gemuh
 
Posts: 189
Joined: 10 Jun 2006, 15:08

Re: Winboard delay between games

Postby H.G.Muller » 18 Oct 2007, 11:32

Yes, this was what I was afraid of. Nevertheless, I you are sure the engines you are testing shut up quickly, a 10 sec pause seems like overdoing it. Especially if you play 40 moves in 1 sec.

Anyhow, in Winboard_F I have included the /matchPause option, to which you can give a delay in msec (from 10-10000). So people can experiment how far they can go.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: Winboard delay between games

Postby Laszlo Gaspar » 20 Oct 2007, 14:41

Many thanks for the replies!
I am now impatiently waiting for H.G-s Winboard modifications to try out...

Thank you and see you soon in tha Capablanca-Chess scene...! 8-)

Regards,
László
Laszlo Gaspar
 
Posts: 8
Joined: 29 Aug 2006, 09:37
Location: Budapest, Hungary


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 30 guests

cron