TRACE 1.33B Available

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

TRACE 1.33B Available

Postby Ross Boyd » 07 Dec 2004, 14:35

Hi all,

A tester reported a CPU hogging problem between TRACE 1.33 and Spike 8.0a under WildCatGUI. TRACE was being most unsporting by stealing all the CPU.

Therefore, I have released a fixed version which calls Sleep(1) instead of Sleep(0) while waiting for input.

As an added bonus a bug that has haunted me for months now is fixed. TRACE is now capable of long searches greater than 4 Giganodes without any problems. Phew! 8-)

TD's and Testers take note, 1.33 and 1.33B are identical except for the above two fixes. They play identically. ie Equally badly...

You can download 1.33B now from TRACE's homepage....

http://members.optusnet.com.au/~john.boyd/

Cheers and Enjoy!

Ross
User avatar
Ross Boyd
 
Posts: 83
Joined: 26 Sep 2004, 23:07
Location: Wollongong, Australia

Re: TRACE 1.33B Available

Postby Ralf Schäfer » 07 Dec 2004, 17:21

Hi Ross,

thank you for delivering a solution this fast! The reason that Spike allowed this (beside that Trace is very attracting :D) was that the search-thread runs with a "lower than normal" priority, this solved a problem with the Fritz8-Gui which was reported to us by some users.

The Problem was that the thinking lines came up by the Gui right _after_ the move was made, not during the thinking. In case of pondering they immediately disappeared again for the upcoming thinking lines of ponder-search. It seemed that the Gui still could not show the information because the searching thread had to high priority.

Has someone else experienced the same behaviour with his/her engine, and even better, has someone found a solution for this?

Best
Ralf
User avatar
Ralf Schäfer
 
Posts: 20
Joined: 27 Sep 2004, 10:18
Location: Wiesbaden, Germany

Re: TRACE 1.33B Available

Postby Alessandro Scotti » 08 Dec 2004, 02:50

Hi Ralf,
it is possible that, like maybe in the (infamous) "blocked-ReadFile" bug, this behavior is caused by scheduling issues in the OS kernel.
Like Ross said, if you run a thread at lower than normal priority, it's important that other engines that need to yield some timeslice use Sleep(1) rather than Sleep(0), because the latter will only yield to threads that have higher or same priority of the calling thread. However, you might experience a slight disadvantage when pondering is enabled, because when you think at "lower than normal" priority the other engine could be pondering at "normal" priority and be given more CPU. Have you experienced unequal CPU times under these conditions?
User avatar
Alessandro Scotti
 
Posts: 306
Joined: 20 Nov 2004, 00:10
Location: Rome, Italy


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 30 guests