xbord 4.4.0 (Mac) and -matchGames

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

Re: xbord 4.4.0 (Mac) and -matchGames

Postby H.G.Muller » 24 Oct 2009, 16:01

Oh yes, it is a bug in both WinBoard and XBoard (this is code from the common back-end). I am just surprised that it never hit me. I would not call 256 open files very restricive, but for each book miss, one file is opened. So 256 sounds about good for 2-3 games, if both players use the book.

When I used Unix as a student you could have only 16 open files! My favorite trick of becoming super-user ("root") was based on this: open 16 files before calling "su" (the predecessor of "sudo"), so that it could not open the password file...
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL

Re: xbord 4.4.0 (Mac) and -matchGames

Postby schlucke » 24 Oct 2009, 16:29

H.G.Muller wrote:Oh yes, it is a bug in both WinBoard and XBoard (this is code from the common back-end). I am just surprised that it never hit me. I would not call 256 open files very restricive, but for each book miss, one file is opened. So 256 sounds about good for 2-3 games, if both players use the book.


What is the default in common Linux distributions? 1024, 2048 or even more ... I think. So what you/we shoul learn? Don't test under Windows only ;)

H.G.Muller wrote:When I used Unix as a student you could have only 16 open files! My favorite trick of becoming super-user ("root") was based on this: open 16 files before calling "su" (the predecessor of "sudo"), so that it could not open the password file...


That on is good :D
schlucke
 
Posts: 20
Joined: 16 Apr 2009, 21:39

Re: xbord 4.4.0 (Mac) and -matchGames

Postby schlucke » 24 Oct 2009, 22:38

This time in runs perfectly, thanks! Four runs with each six games ... no error!

Code: Select all
                             Score     123456789012345678901234
----------------------------------------------------------------
 1: Shredder 12 x64        14.5 / 24   1=0==10=1===1===1011==1=
 2: Stockfish 1.5.1 64bit   9.5 / 24   0=1==01=0===0===0100==0=
----------------------------------------------------------------
24 games: +4 =13 -7


Not bad for an open source engine!

Holger
schlucke
 
Posts: 20
Joined: 16 Apr 2009, 21:39

Previous

Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 26 guests