[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GC slower via XBoard than via glChess
From: |
dae3 |
Subject: |
Re: GC slower via XBoard than via glChess |
Date: |
Mon, 27 Oct 2008 11:19:39 +0100 |
User-agent: |
Mutt/1.4.2.2i |
Il 26/10/2008 alle 19:16, Simon Waters ha scritto:
> I'm not sure this should appear in the debug output, but it is useful as
> it suggests there is no opening book available.
>
> With 5 minutes for the rest of the game, and no opening book, I'd expect
> it to take a few seconds to make the first few moves.
Actually, I'm using the "-xclock" option to avoid time limits.
> The "bonus" is because the program would often go wrong on leaving
> book due to inadequate search.
>
> Does the other program (glChess) manage to start gnuchess with an
> opening book perhaps?
I think I haven't got any opening books installed: there's nothing for
GnuChess in /usr/share/games, and a 'locate -i gnuchess' only finds the
tarball's directory and 3 binaries:
/usr/local/bin/gnuchess
/usr/local/bin/gnuchessx
/usr/local/bin/gnuchessx.org
Unfortunately, glChess doesn't have a -debug option, but a 'lsof'
reports that the GnuChess launched by glChess has the following files
open, both at game start and after the first 2 moves:
gnuchess 3676 dae3 cwd DIR 253,0 20480 2717946 /home/dae3
gnuchess 3676 dae3 rtd DIR 253,0 4096 2 /
gnuchess 3676 dae3 txt REG 253,0 202868 8020892
/usr/local/bin/gnuchess
gnuchess 3676 dae3 mem REG 253,0 125736 2685795 /lib/ld-2.5.so
gnuchess 3676 dae3 mem REG 253,0 1585788 2685809
/lib/libc-2.5.so
gnuchess 3676 dae3 mem REG 253,0 16528 2685810
/lib/libdl-2.5.so
gnuchess 3676 dae3 mem REG 253,0 125668 2685811
/lib/libpthread-2.5.so
gnuchess 3676 dae3 mem REG 253,0 210256 6567418
/usr/lib/libreadline.so.5.1
gnuchess 3676 dae3 mem REG 253,0 297464 6583562
/usr/lib/libncurses.so.5.5
gnuchess 3676 dae3 mem REG 253,0 56413600 6551462
/usr/lib/locale/locale-archive
gnuchess 3676 dae3 mem REG 253,0 25462 6645668
/usr/lib/gconv/gconv-modules.cache
gnuchess 3676 dae3 0u CHR 136,6 8 /dev/pts/6
gnuchess 3676 dae3 1u CHR 136,6 8 /dev/pts/6
gnuchess 3676 dae3 2u CHR 136,6 8 /dev/pts/6
gnuchess 3676 dae3 10r FIFO 0,6 75129 pipe
gnuchess 3676 dae3 11w FIFO 0,6 75129 pipe
gnuchess 3676 dae3 12r FIFO 0,6 75130 pipe
gnuchess 3676 dae3 13w FIFO 0,6 75130 pipe
gnuchess 3676 dae3 14r FIFO 0,6 75131 pipe
gnuchess 3676 dae3 15w FIFO 0,6 75131 pipe
Not knowing GnuChess' internals, I'm not sure that the above is
relevant, but it looks like there is no book file open at the moment.
Cheers,
dae3