Terminating the ChessGUI project.

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Martin Thoresen
Posts: 1833
Joined: Thu Jun 22, 2006 12:07 am

Re: Terminating the ChessGUI project.

Post by Martin Thoresen »

Matthias Gemuh wrote:I have not found the reason why first 0.198 crashed.

Matthias.
Well, as you know, the test tournament has been running flawlessly so far - not one single crash.

I can't explain why, either. I just hope the crash will come soon so that we can debug it.

Best Regards,
Martin
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: Terminating the ChessGUI project.

Post by Matthias Gemuh »

Martin Thoresen wrote:
Matthias Gemuh wrote:I have not found the reason why first 0.198 crashed.

Matthias.
Well, as you know, the test tournament has been running flawlessly so far - not one single crash.

I can't explain why, either. I just hope the crash will come soon so that we can debug it.

Best Regards,
Martin
Sometimes it not good if a progam does not crash. :D :lol:

Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
User avatar
mhurd
Posts: 46
Joined: Wed Dec 30, 2009 9:27 pm

Re: Terminating the ChessGUI project.

Post by mhurd »

Here is the version that should be used to test for crashes and time forfeits:
http://www.hugedrive.com/published/WG/s ... =-3eb0543f
It is an improved version of the one that crashed.
BTW, when testing at fast TC, "Time Left" is more important in pgn than "Move Time".
I am running a 396 game tournament with the above version, nearly 200 games so far, no crashes and seems to be running ok.

Mike
User avatar
mhurd
Posts: 46
Joined: Wed Dec 30, 2009 9:27 pm

Re: Terminating the ChessGUI project.

Post by mhurd »

The 396 games have now finished. Time control was game in 60 seconds + 1 second.

Results :-

121.0 Houdini 1.03a x64 4_CPU
111.0 Deep Rybka 4 x64
97.5 Stockfish 1.8 JA 64bit
66.5 Critter 0.80 64-bit

The program appeared to run fine and there were no crashes.

Win 7 64 bit
4 Gb Ram


Mike
Jouni
Posts: 3293
Joined: Wed Mar 08, 2006 8:15 pm

Re: Terminating the ChessGUI project.

Post by Jouni »

In version 199 Stockfish still loses most games by time (60/60 level ) ...

Jouni
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: Terminating the ChessGUI project.

Post by Matthias Gemuh »

Jouni wrote:In version 199 Stockfish still loses most games by time (60/60 level ) ...

Jouni
Default timing is strict.
Can you try relaxed timing and tell us the outcome ?
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
User avatar
hgm
Posts: 27811
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Terminating the ChessGUI project.

Post by hgm »

Is there a UCI engine that sends the time stamp of its move as an info string, so that it ends up in the GUI log (e.g. winboard.debug) together with the move time stamped at the receiving end, so that we could determine the exact communication delay?

This seems a much more informative (and quicker) method for determining where the problem lies than playing games, and counting the number of time losses...
Jouni
Posts: 3293
Joined: Wed Mar 08, 2006 8:15 pm

Re: Terminating the ChessGUI project.

Post by Jouni »

Done: no more time losses! I haven't followed all discussion, so what's
"relaxed timing" meaning?

Jouni
User avatar
hgm
Posts: 27811
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Terminating the ChessGUI project.

Post by hgm »

That the GUI is forgiving when you only exceed the time by a little amount, and does not flag you. But when playing on-line, the ICS calls the shots, and it will be strict, so you would still lose there...
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: Terminating the ChessGUI project.

Post by Matthias Gemuh »

hgm wrote:That the GUI is forgiving when you only exceed the time by a little amount, and does not flag you. But when playing on-line, the ICS calls the shots, and it will be strict, so you would still lose there...
The so-called relaxed timing in ChessGUI works as follows:

when ChessGUI reads in-coming data, it stuffs it into a FIFO buffer.
If a move is in that data, ChessGUI notes the time (PipeTime in debug files), then it uses PostMessage() to alert the routine that will process that data.
The time that PostMessage() takes is measured as lag (see debug files).
On my WinXP32, this lag is zero ms most of the time, but sometimes 16 ms.
In relaxed timing, ChessGUI assumes that the same amount of lag occurs when GUI sends data to engine, so it adds that lag to engine's time.
This lag is basically a measure of how much Windows is ignoring the GUI and engines.

Relaxed timing is of course not for engine authors. ;)

Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de