Is it useful to use more than one core for stockfish?

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

Moderator: Ras

Uri Blass
Posts: 10921
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Is it useful to use more than one core for stockfish?

Post by Uri Blass »

https://ccrl.chessdom.com/ccrl/4040/rat ... t_all.html

Stockfish 15 64-bit 3534 +20 −20 72.4% −143.3 54.1% 772
Stockfish 15 64-bit 4CPU 3531 +23 −23 63.9% −80.2 71.7% 506

Note that the leader is
Stockfish 13 64-bit 4CPU 3537 +17 −17 75.7% −168.0 48.3% 1172
Uri Blass
Posts: 10921
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Is it useful to use more than one core for stockfish?

Post by Uri Blass »

Some nice results by Dragon3 4 cpu against Stockfish engines

15 − 15(+0−0=30) against Stockfish13 4 cpu
10 − 10(+0−0=20) against Stockfish15 4 cpu
25 − 25(+0−0=50) against Stockfish14.1 1 cpu


https://ccrl.chessdom.com/ccrl/4040/cgi ... 4-bit_4CPU
Guenther
Posts: 4718
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Is it useful to use more than one core for stockfish?

Post by Guenther »

Uri Blass wrote: Mon May 09, 2022 8:57 am https://ccrl.chessdom.com/ccrl/4040/rat ... t_all.html

Stockfish 15 64-bit 3534 +20 −20 72.4% −143.3 54.1% 772
Stockfish 15 64-bit 4CPU 3531 +23 −23 63.9% −80.2 71.7% 506

Note that the leader is
Stockfish 13 64-bit 4CPU 3537 +17 −17 75.7% −168.0 48.3% 1172
I see zero cross-testing between 4CPU and single core results, this way it is
useless to compare the ratings as they seem to be two completely different pools
anyway?
As long as 4CPU versions never (or nearly never? - may be done loooong ago in the past?)
play 1CPU versions a real 'rating' comparison is impossible between them.
https://rwbc-chess.de

[Trolls n'existent pas...]
User avatar
Graham Banks
Posts: 44784
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Is it useful to use more than one core for stockfish?

Post by Graham Banks »

Guenther wrote: Mon May 09, 2022 9:58 amI see zero cross-testing between 4CPU and single core results, this way it is
useless to compare the ratings as they seem to be two completely different pools
anyway?
As long as 4CPU versions never (or nearly never? - may be done loooong ago in the past?)
play 1CPU versions a real 'rating' comparison is impossible between them.
They have and they will.
gbanksnz at gmail.com
Uri Blass
Posts: 10921
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Is it useful to use more than one core for stockfish?

Post by Uri Blass »

Guenther wrote: Mon May 09, 2022 9:58 am
Uri Blass wrote: Mon May 09, 2022 8:57 am https://ccrl.chessdom.com/ccrl/4040/rat ... t_all.html

Stockfish 15 64-bit 3534 +20 −20 72.4% −143.3 54.1% 772
Stockfish 15 64-bit 4CPU 3531 +23 −23 63.9% −80.2 71.7% 506

Note that the leader is
Stockfish 13 64-bit 4CPU 3537 +17 −17 75.7% −168.0 48.3% 1172
I see zero cross-testing between 4CPU and single core results, this way it is
useless to compare the ratings as they seem to be two completely different pools
anyway?
As long as 4CPU versions never (or nearly never? - may be done loooong ago in the past?)
play 1CPU versions a real 'rating' comparison is impossible between them.
Big majority of games of 4 CPU are against 4 CPU but there were 50 draws between Dragon3 4 cores and Stockfish14.1 single core.

Dragon3 is not something long ago in the past.

https://ccrl.chessdom.com/ccrl/4040/cgi ... 4-bit_4CPU
User avatar
Graham Banks
Posts: 44784
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Is it useful to use more than one core for stockfish?

Post by Graham Banks »

Uri Blass wrote: Mon May 09, 2022 10:13 am
Guenther wrote: Mon May 09, 2022 9:58 am
Uri Blass wrote: Mon May 09, 2022 8:57 am https://ccrl.chessdom.com/ccrl/4040/rat ... t_all.html

Stockfish 15 64-bit 3534 +20 −20 72.4% −143.3 54.1% 772
Stockfish 15 64-bit 4CPU 3531 +23 −23 63.9% −80.2 71.7% 506

Note that the leader is
Stockfish 13 64-bit 4CPU 3537 +17 −17 75.7% −168.0 48.3% 1172
I see zero cross-testing between 4CPU and single core results, this way it is
useless to compare the ratings as they seem to be two completely different pools
anyway?
As long as 4CPU versions never (or nearly never? - may be done loooong ago in the past?)
play 1CPU versions a real 'rating' comparison is impossible between them.
Big majority of games of 4 CPU are against 4 CPU but there were 50 draws between Dragon3 4 cores and Stockfish14.1 single core.

Dragon3 is not something long ago in the past.

https://ccrl.chessdom.com/ccrl/4040/cgi ... 4-bit_4CPU
More 4CPU v 1CPU games are planned.
I'm to blame for not running as many as we should, as I keep forgetting to add a 1CPU opponent into my 4CPU gauntlets.
gbanksnz at gmail.com
Guenther
Posts: 4718
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Is it useful to use more than one core for stockfish?

Post by Guenther »

Graham Banks wrote: Mon May 09, 2022 10:07 am
Guenther wrote: Mon May 09, 2022 9:58 amI see zero cross-testing between 4CPU and single core results, this way it is
useless to compare the ratings as they seem to be two completely different pools
anyway?
As long as 4CPU versions never (or nearly never? - may be done loooong ago in the past?)
play 1CPU versions a real 'rating' comparison is impossible between them.
They have and they will.
Well, but you have to admit the linking between both pools is incredible tiny by now (and inexistent for newer versions).
I wonder if Ordo even could compute the full database for all players (no idea how Bayeselo addresses this) by now.

Anyhow SF15 4CPU has no 1CPU opponent and SF15 1CPU has no 4CPU opponent so far and you need to go back to SF13 4 CPU or so
to find a pairing with a single 1CPU opponent.
BTW you shouldn't see this as critiscm, but I just to want enlighten that you should not make conclusions between the
very loose connected pools of MP and SP versions.

Code: Select all

Legend: #1C-Opp means number of SP 1 core opponents
        #G games with SP 1 core opponents

Version       #1C-Opp  #G

SF15    4CPU  0        0  
SF14.1  4CPU  0        0
SF14    4CPU  0        0
SF13    4CPU  1      (48)
SF12    4CPU  0        0
SF11    4CPU  0        0
SF10    4CPU  1      (52)
https://rwbc-chess.de

[Trolls n'existent pas...]
Modern Times
Posts: 3758
Joined: Thu Jun 07, 2012 11:02 pm

Re: Is it useful to use more than one core for stockfish?

Post by Modern Times »

Guenther wrote: Mon May 09, 2022 10:31 am I wonder if Ordo even could compute the full database for all players (no idea how Bayeselo addresses this) by now.
As recently as 1 or 2 weeks ago Ordo processes it perfectly as one connected group. But you're right, far too few recent 1CPU Vs 4CPU games.
Modern Times
Posts: 3758
Joined: Thu Jun 07, 2012 11:02 pm

Re: Is it useful to use more than one core for stockfish?

Post by Modern Times »

Just ran Ordo on 7th May database:
Group connectivity: **PASSED**
All players are connected into only one group.
As Graham says though, he needs to pay more attention to 1CPU vs 4CPU.
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Is it useful to use more than one core for stockfish?

Post by pedrox »

ryzen 7 5800H 8 cores / 16 threads
40 moves in 20 seconds

Score of stockfish_14.1_win_x64_avx2 (1 thread) vs stockfish_14.1_win_x64_avx2 (6 threads): 0 - 110 - 890 [0.445]
... stockfish_14.1_win_x64_avx2 (1) playing White: 0 - 14 - 486 [0.486] 500
... stockfish_14.1_win_x64_avx2 (1) playing Black: 0 - 96 - 404 [0.404] 500
... White vs Black: 96 - 14 - 890 [0.541] 1000
Elo difference: -38.4 +/- 6.8, LOS: 0.0 %, DrawRatio: 89.0 %
1000 of 1000 games finished.

Score of stockfish_14.1_win_x64_avx2 (6 threads) vs stockfish_14.1_win_x64_avx2 (12 threads): 16 - 23 - 961 [0.496]
... stockfish_14.1_win_x64_avx2 (6) playing White: 15 - 1 - 484 [0.514] 500
... stockfish_14.1_win_x64_avx2 (6) playing Black: 1 - 22 - 477 [0.479] 500
... White vs Black: 37 - 2 - 961 [0.517] 1000
Elo difference: -2.4 +/- 4.2, LOS: 13.1 %, DrawRatio: 96.1 %
1000 of 1000 games finished.