Can somebody compare the AMD Ryzen processors to the intel processors

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

Moderators: hgm, Rebel, chrisw

Chessqueen
Posts: 5577
Joined: Wed Sep 05, 2018 2:16 am
Location: Moving
Full name: Jorge Picado

Can somebody compare the AMD Ryzen processors to the intel processors

Post by Chessqueen »

Can somebody compare the AMD Ryzen processors to the intel processors engine benchmarks, I do NOT want to see any other processors on the list.

For instance:
Ryzen 5 3600 and Next to it the intel i5
AMD Ryzen 7 5800X ‎and Next to it the intel i7
AMD Ryzen 9 5950X Next to it the intel i9
Do NOT worry and be happy, we all live a short life :roll:
Ras
Posts: 2487
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Can somebody compare the AMD Ryzen processors to the intel processors

Post by Ras »

Rasmus Althoff
https://www.ct800.net
Chessqueen
Posts: 5577
Joined: Wed Sep 05, 2018 2:16 am
Location: Moving
Full name: Jorge Picado

Re: Can somebody compare the AMD Ryzen processors to the intel processors

Post by Chessqueen »

Ras wrote: Wed Mar 24, 2021 2:04 am http://ipmanchess.yolasite.com/amd---in ... -bench.php

Do your part of the work yourself.
Thanks for providing that link, I see that AMD Ryzen is superior in comparison to the intel

78.574.335 AMD Ryzen 9 5950X @4.4Ghz 32threads
76.363.079 Intel Core i9 7980XE @4.7Ghz 4000Mhz 36threads
------------------------------------------------------------------------------------------
40.526.615 AMD Ryzen 7 5800X 16threads
31.954.375 Intel Core i7 10700K @4.6Ghz 12threads
------------------------------------------------------------------------------------------
Do NOT worry and be happy, we all live a short life :roll:
Modern Times
Posts: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: Can somebody compare the AMD Ryzen processors to the intel processors

Post by Modern Times »

There is also the Ryzen 9 5900X, 12 cores and 24 threads. Much more reasonably priced I suspect than their flagship 5950X.
User avatar
pohl4711
Posts: 2433
Joined: Sat Sep 03, 2011 7:25 am
Location: Berlin, Germany
Full name: Stefan Pohl

Re: Can somebody compare the AMD Ryzen processors to the intel processors

Post by pohl4711 »

Ras wrote: Wed Mar 24, 2021 2:04 am http://ipmanchess.yolasite.com/amd---in ... -bench.php

Do your part of the work yourself.
These speed measurements are outdated, because they are done with an old asmFish engine: The nnue-engines run much faster on AMD Ryzen/Threadripper with an avx2-compile (+25%-30% more nodes!) compared to all Intel CPUs. So, for nnue-engines the Intel CPUs are much worse than they appear in that list.
Modern Times
Posts: 3546
Joined: Thu Jun 07, 2012 11:02 pm

Re: Can somebody compare the AMD Ryzen processors to the intel processors

Post by Modern Times »

pohl4711 wrote: Wed Mar 24, 2021 7:37 am These speed measurements are outdated, because they are done with an old asmFish engine: The nnue-engines run much faster on AMD Ryzen/Threadripper with an avx2-compile (+25%-30% more nodes!) compared to all Intel CPUs. So, for nnue-engines the Intel CPUs are much worse than they appear in that list.
That is interesting. You have both Intel and AMD so you would know. So that I understand what you're saying:

- Run a non-NNUE engine on the Intel and AMD and calculate a performance ratio
- Run an NNUE engine on the Intel and AMD and calculate a performance ratio

And the performance ratio is much higher for AMD when using NNUE engines ?
(I guess you could run this sort of test with current Stockfish with NNUE, and a previous Stockfish without NNUE)
User avatar
pohl4711
Posts: 2433
Joined: Sat Sep 03, 2011 7:25 am
Location: Berlin, Germany
Full name: Stefan Pohl

Re: Can somebody compare the AMD Ryzen processors to the intel processors

Post by pohl4711 »

Her my measurements on my notebooks. All singlethread:

All with latest Stockfish from abrok (March, 24), go depth 28

Intel Haswell i7-6700HQ (bmi2 binary):

SF nnue off: 1071209 nps
SF nnue on: 932672 nps
= using nnue is 87% speed compared to nnue off


AMD Ryzen 9 3900 (avx2 binary):

SF nnue off: 1399478 nps
SF nnue on: 1830004 nps (!!!)
= using nnue is 131% speed compared to nnue off
MMarco
Posts: 195
Joined: Sun Apr 12, 2020 1:09 am
Full name: Marc-O Moisan-Plante

Re: Can somebody compare the AMD Ryzen processors to the intel processors

Post by MMarco »

pohl4711 wrote: Fri Mar 26, 2021 12:38 pm AMD Ryzen 9 3900 (avx2 binary):

SF nnue off: 1399478 nps
SF nnue on: 1830004 nps (!!!)
= using nnue is 131% speed compared to nnue off
That looks too good to be true.

Here is what I get with my Ryzen 4900H and SF-13 avx2 (NNUE at 91% of classical speed):

Code: Select all

setoption name Hash value 1024
go movetime 60000
...
info depth 34 seldepth 42 multipv 1 score cp 37 nodes 91479854 nps 1524638 hashfull 627 tbhits 0 time 60001 pv e2e4 c7c5
bestmove e2e4 ponder c7c5

setoption name Hash value 1024
setoption name Use NNUE value false
go movetime 60000
...
info depth 31 seldepth 38 multipv 1 score cp 59 nodes 100402432 nps 1673345 hashfull 693 tbhits 0 time 60001 pv d2d4
bestmove d2d4 ponder e7e6
Intel 11th gen has avx 512 and vnni instructions. This is supposed to help with Stockfish (but apparently the processor gets hot).
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Can somebody compare the AMD Ryzen processors to the intel processors

Post by MikeB »

abrok compile 3/24/21 - go depth 28 , hash 1024 , single thread ,3970x, nnue == true, single thread

info depth 28 seldepth 38 multipv 1 score cp 19 nodes 31835290 nps 1756914 hashfull 249 tbhits 0 time 18120 pv e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 f6e4 d2d4 e5d4 f1e1 f7f5 b1d2 f8e7 d2e4 f5e4 f3d4 e8g8 d4c6 d7c6 a4b3 g8h8 d1d8 e7d8 e1e4 c8f5 e4f4 d8g5
bestmove e2e4 ponder e7e5

nnue=off

info depth 28 seldepth 40 multipv 1 score cp 55 nodes 65714777 nps 1949068 hashfull 514 tbhits 0 time 33716 pv d2d4 d7d5 c2c4 e7e6 b1c3 g8f6 g1f3 c7c5 c4d5 c5d4 f3d4 e6d5 c1g5 f8e7 e2e3 e8g8 f1e2 b8c6 e1g1 c8e6 g5f4 a7a6 a1c1 a8c8 d4e6 f7e6 f4g3 e7d6
bestmove d2d4 ponder d7d5

when I compile it myself everything is a little bit faster:

nnue==true
info depth 28 seldepth 38 multipv 1 score cp 19 nodes 31835290 nps 1811911 hashfull 249 tbhits 0 time 17570 pv e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 f6e4 d2d4 e5d4 f1e1 f7f5 b1d2 f8e7 d2e4 f5e4 f3d4 e8g8 d4c6 d7c6 a4b3 g8h8 d1d8 e7d8 e1e4 c8f5 e4f4 d8g5
bestmove e2e4 ponder e7e5

nnue==false
info depth 28 seldepth 40 multipv 1 score cp 55 nodes 65714777 nps 1966448 hashfull 514 tbhits 0 time 33418 pv d2d4 d7d5 c2c4 e7e6 b1c3 g8f6 g1f3 c7c5 c4d5 c5d4 f3d4 e6d5 c1g5 f8e7 e2e3 e8g8 f1e2 b8c6 e1g1 c8e6 g5f4 a7a6 a1c1 a8c8 d4e6 f7e6 f4g3 e7d6
bestmove d2d4 ponder d7d5
setoption name Use NNUE value true
setoption name Hash value 1024
Image
User avatar
pohl4711
Posts: 2433
Joined: Sat Sep 03, 2011 7:25 am
Location: Berlin, Germany
Full name: Stefan Pohl

Re: Can somebody compare the AMD Ryzen processors to the intel processors

Post by pohl4711 »

MMarco wrote: Fri Mar 26, 2021 1:40 pm
pohl4711 wrote: Fri Mar 26, 2021 12:38 pm AMD Ryzen 9 3900 (avx2 binary):

SF nnue off: 1399478 nps
SF nnue on: 1830004 nps (!!!)
= using nnue is 131% speed compared to nnue off
That looks too good to be true.
This is what I get on my Ryzen 9 3900. Fresh booted system, offline.