Stockfish with 16 threads --- big news?

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

Moderators: hgm, chrisw, Rebel

zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Stockfish with 16 threads --- big news?

Post by zullil »

Looks like a patch submitted by Joona has generated a 50 point ELO gain for Stockfish running 16 threads. So perhaps a big step forward in Stockfish's multi-threaded searching. Seems very promising.

http://tests.stockfishchess.org/tests/v ... 3e9fac133b
Lyudmil Tsvetkov
Posts: 6052
Joined: Tue Jun 12, 2012 12:41 pm

Re: Stockfish with 16 threads --- big news?

Post by Lyudmil Tsvetkov »

zullil wrote:Looks like a patch submitted by Joona has generated a 50 point ELO gain for Stockfish running 16 threads. So perhaps a big step forward in Stockfish's multi-threaded searching. Seems very promising.

http://tests.stockfishchess.org/tests/v ... 3e9fac133b
Hope it will not pass, as otherwise I will not play your 16-core SF. :shock:
styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Re: Stockfish with 16 threads --- big news?

Post by styx »

sounds very promising :D
Jouni
Posts: 3449
Joined: Wed Mar 08, 2006 8:15 pm
Full name: Jouni Uski

Re: Stockfish with 16 threads --- big news?

Post by Jouni »

Yes Komodo 9 with +20 ELO will be in very bad trouble. And there is already some +10 ELO patch after SF6 - unbelievable :shock: .
Jouni
lucasart
Posts: 3238
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: Stockfish with 16 threads --- big news?

Post by lucasart »

zullil wrote:Looks like a patch submitted by Joona has generated a 50 point ELO gain for Stockfish running 16 threads. So perhaps a big step forward in Stockfish's multi-threaded searching. Seems very promising.

http://tests.stockfishchess.org/tests/v ... 3e9fac133b
Yes, this is huge!

Note that the test was auto-purged (chi-square test failed) twice.

Initially we had:
* bravone: 0 elo
* glinscott: +20 elo
* fastgm, bking: +50 elo

The chi-square test failed, and gave bravone as worst offender:
* glinscott: +20 elo
* fastgm, bking: +50 elo

And the chi-square test failed again, giving glinscott as worst offender. So we're left with:
* fastgm, bking: +50 elo

I don't know what's wrong with these machines. Could be OS or hardware. The only thing we know is the OS:
* bravone: Windows 2008 (old)
* glinscott: Linux 2.6.32 (old)
* fastgm: Linux 3.16 (recent)
* bking: Windows 8 (recent)

In other words the machines with modern OS saw a massive gain, while the others not so much (no gain on Windows 2008, and "only" 20 elo on an old Linux). But maybe the OS is a red herring, and it's about the hardware. I don't know. We can only speculate at this point.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
styx
Posts: 338
Joined: Tue Mar 13, 2012 9:59 pm
Location: Germany

Re: Stockfish with 16 threads --- big news?

Post by styx »

is the smp patch a regression for one core? or am I reading the test results wrong
Michel
Posts: 2280
Joined: Mon Sep 29, 2008 1:50 am

Re: Stockfish with 16 threads --- big news?

Post by Michel »

is the smp patch a regression for one core? or am I reading the test results wrong
That's extremely unlikely given that it is a non-functional change on one core. It's probably just an unlucky run.

EDIT: Actually checking again I see that the test wasn't even finished. Never draw conclusions from an unfinished test (statistics 101).
Ideas=science. Simplification=engineering.
Without ideas there is nothing to simplify.
Vinvin
Posts: 5240
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Stockfish with 16 threads --- big news?

Post by Vinvin »

styx wrote:is the smp patch a regression for one core? or am I reading the test results wrong
Yes, -1.8 after 32K games. That means -2% speed.
May be it's possible to reorganize "IF" conditions to not lose speed with nb threads = 1 :?
Joerg Oster
Posts: 951
Joined: Fri Mar 10, 2006 4:29 pm
Location: Germany
Full name: Jörg Oster

Re: Stockfish with 16 threads --- big news?

Post by Joerg Oster »

Michel wrote:
is the smp patch a regression for one core? or am I reading the test results wrong
That's extremely unlikely given that it is a non-functional change on one core. It's probably just an unlucky run.

EDIT: Actually checking again I see that the test wasn't even finished. Never draw conclusions from an unfinished test (statistics 101).
Though it is a non-functional change on one core, I experience a small slowdown on my box.
But I guess even a small elo-loss on one core of 1 or 2 elo would be acceptable, given the huge gain for 16 cores. 8-)
Jörg Oster
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: Stockfish with 16 threads --- big news?

Post by Dr.Wael Deeb »

Lyudmil Tsvetkov wrote:
zullil wrote:Looks like a patch submitted by Joona has generated a 50 point ELO gain for Stockfish running 16 threads. So perhaps a big step forward in Stockfish's multi-threaded searching. Seems very promising.

http://tests.stockfishchess.org/tests/v ... 3e9fac133b
Hope it will not pass, as otherwise I will not play your 16-core SF. :shock:
:shock:


:wink:
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….