Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.

Fomalhaut

macrumors 68000
Oct 6, 2020
1,993
1,724
Benchmark: Stockfish (chess) speed

M1 CPU = 13000 kn/s

i7 3930k overclocked (from 2011 = 10 years old) = 13000 kn/s

Others = 40000 kn/s - 80000 kn/s

Desktop CPUs = 230000 kn/s and much stronger
It would be interesting to know exactly how this benchmark works in order to understand why the M1 chip does poorly. It the benchmark running natively or under Rosetta 2?

In all other benchmarks that have been published (that I am aware of), the M1 performs exceptionally well compared to other CPUs with a similar TDP.
 

jeanlain

macrumors 68020
Mar 14, 2009
2,462
956
Benchmark: Stockfish (chess) speed

M1 CPU = 13000 kn/s

i7 3930k overclocked (from 2011 = 10 years old) = 13000 kn/s

Others = 40000 kn/s - 80000 kn/s

Desktop CPUs = 230000 kn/s and much stronger
Source?
And why should we trust this tool to compare CPU speed? It's not a standard benchmark, it's a chess engine. We don't know if the code is platform agnostic, but it most likely isn't.
If you want to compare CPU speed, use industry-standard benchmark tools like SPEC. Geekbench is also more representative.
 

JouniS

macrumors 6502a
Nov 22, 2020
638
399
It's easy to find real-world examples where the M1 loses to Intel/AMD for predictable reasons.

Stockfish apparently caches previously evaluated positions in giant tables, and because the M1 only supports 16 GB memory, it may have to do redundant work that systems with more memory can avoid. Stockfish also uses plenty of SIMD and bit manipulation instructions, which may not always have good ARM equivalents. Finally, combinatorial algorithms are often very sequential in nature, and high instruction-level parallelism doesn't help much with such code.
 

Gnattu

macrumors 65816
Sep 18, 2020
1,107
1,671
Stockfish engine is optimized for x86's SIMD instructions extensively, and its algorithm cannot utilize M1's super-wide ALU effectively, this is why you are having "disappointing speed." If chess analysis is your main use case you should not buy a M1 Mac and you have to stick to x86 for now.
 

TiggrToo

macrumors 601
Aug 24, 2017
4,205
8,838
Benchmark: Stockfish (chess) speed

M1 CPU = 13000 kn/s

i7 3930k overclocked (from 2011 = 10 years old) = 13000 kn/s

Others = 40000 kn/s - 80000 kn/s

Desktop CPUs = 230000 kn/s and much stronger

Biig freaking whoop. It's a benchmark test running x64 under Rosetta 2.

In other words, a totally useless and pointless measurement of M1 chips and simply an indication of strengths and weakness of Rosetta 2.
 

snorkelman

Cancelled
Oct 25, 2010
666
155
When it comes to many on MR, I have no doubt that is the case. The sad thing is many of these same people will return a perfectly good M1 because of what the benchmark test showed. Crazy stuff.
I know utter madness:

"Look darling, it's just rendered our *entire* honeymoon video in 18 minutes! Isn't that fantastic? You must be delighted that I bought it for our anniversary"

'Oh really? Well just you put that honeymoon video aside and take a good long look at the Stockfish benchmark - only 13000 something or others. It's *all* ruined, I want a divorce!!'
 

jdb8167

macrumors 601
Nov 17, 2008
4,859
4,599
Biig freaking whoop. It's a benchmark test running x64 under Rosetta 2.

In other words, a totally useless and pointless measurement of M1 chips and simply an indication of strengths and weakness of Rosetta 2.
It doesn’t have to be. It is available from Homebrew and is labeled as Apple Silicon. That doesn’t mean it is particularly optimized for Aarch64 though.
 

mi7chy

macrumors G4
Oct 24, 2014
10,625
11,296
Not bad. My phone only does ~2,300k n/s with Stockfish engine configured for four threads. When I get back I'll try it on an AMD 5950x 16-core.

Screenshot_20210424-091416_DroidFish.jpg


Comprehensive list of Stockfish benchmarks here with AMD Epyc and Threadripper dominating the top positions with 282,000k n/s for 2x Epyc 7763.

https://openbenchmarking.org/test/pts/stockfish
 
Last edited:
  • Like
Reactions: BigMcGuire

BigMcGuire

Cancelled
Jan 10, 2012
9,832
14,032
How are you benchmarking this? The kN/s varies wildly depending on position.

On my M1 MBP after I played e4 -
1619281532065.png
with the settings:
1619281592113.png
.

Mind you, the default setting was 1 thread and 128MB hash.

--------------------------------------------------------------------

My 2019 MBP 15' with an i7-9750H (6 cores, 12 threads) @ 2.60Ghz with the same preference settings (max threads) got 9232kN/s with the same position. Fans immediately turned on and started screaming. Pic below.

1619281775851.png
 

mi7chy

macrumors G4
Oct 24, 2014
10,625
11,296
Funny how people selectively preach dorkbench when M1 does well but downplay a more relevant real world workload when M1 doesn't. Chess has been a relevant workload and benchmark going back to IBM Deep Blue to current DeepMind AlphaZero that topple all the grandmaster human players.

There was maybe one intelligent response trying to understand what the bottleneck is.
 

xraydoc

Contributor
Oct 9, 2005
11,027
5,488
192.168.1.1
Funny how people selectively preach dorkbench when M1 does well but downplay a more relevant real world workload when M1 doesn't. Chess has been a relevant workload and benchmark going back to IBM Deep Blue to current DeepMind AlphaZero that topple all the grandmaster human players.

There was maybe one intelligent response trying to understand what the bottleneck is.
No, the issue is not downplaying unfavorable benchmarks, but the benchmarks must be fair and properly coded for the ARM/M1 platform. While I know nothing of Stockfish, it seems not to be coded well if the M1 is getting 1/10th the speed of comparable x86 processors, yet the M1 holds ground on virtually everything else known to be native ARM code.
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.