"1 core" issue with stockfish 171

Code, algorithms, languages, construction...
Post Reply
JCoit
Posts: 7
Joined: Fri Jun 11, 2010 1:34 am

"1 core" issue with stockfish 171

Post by JCoit » Sun Jun 20, 2010 2:24 am

I'm running Ubuntu 10.04 LTS 64-bit, running Stockfish 1.7.1 JA with xboard and polyglot on an AMD Phenom x4 (quad core cpu). I've specified 4 threads in the ini file that polyglot uses, but Stockfish does not use 4 cores. All other behavior is normal, logs on to FICS, uses the book, wins a lot, etc. Has anyone else experienced this? I watch it using 'top' in the terminal, and also suspected it before verifying it with top because it does not search as deeply as it was on my other, slower, 32-bit windows machine. Sure enough, only 1 core and I can't get it to use any more.

I'll also warn, I'm no linux guru, so maybe I have a system setting incorrect... any ideas on that?

Michel Van den Bergh
Posts: 24
Joined: Thu Jun 10, 2010 4:30 pm

Re: "1 core" issue with stockfish 171

Post by Michel Van den Bergh » Sun Jun 20, 2010 6:19 am

Xboard overrides the polyglot.ini file settings for threads. You should specify the number of threads on the command line
with -smpCores.

You can also use the global/engine configuration dialog in the menu to set options.

If you do this there is no need to invoke polyglot directly. You can simply do

xboard -fcp <path to stockfish JA> -fUCI

Post Reply