Has anyone come any test attempting to measure how good the new Apple M1 Silicon will be for running chess engines?
Steve
M1 Apple Silicon for Chess?
Moderators: hgm, Rebel, chrisw
-
- Posts: 1241
- Joined: Wed Mar 08, 2006 8:28 pm
- Location: Florida, USA
M1 Apple Silicon for Chess?
http://www.chessprogramming.net - Maverick Chess Engine
-
- Posts: 72
- Joined: Sun Nov 01, 2020 5:27 pm
- Full name: Richard Porti
Re: M1 Apple Silicon for Chess?
From what I understood, the performance are good for single core, for multicore, it looks very average to my eyes.
-
- Posts: 291
- Joined: Wed May 08, 2013 6:49 am
Re: M1 Apple Silicon for Chess?
As far as I have observed chess engine speeds for 2 decades I noticed that it benefits a lot from larger L1 cache size. For the record, our mainstream x86 CPUs have 32kb/32kb L1 cache while this new apple M1 has gigantic 192kb/128kb!
-
- Posts: 72
- Joined: Sun Nov 01, 2020 5:27 pm
- Full name: Richard Porti
Re: M1 Apple Silicon for Chess?
Are some benchmarks available?
-
- Posts: 144
- Joined: Mon Apr 16, 2012 7:23 pm
- Location: Istanbul, TURKEY
Re: M1 Apple Silicon for Chess?
I ordered mac mini but didn't reveived yet. I'll do some testings and give feedback.
-
- Posts: 4190
- Joined: Wed Nov 25, 2009 1:47 am
Re: M1 Apple Silicon for Chess?
Zen3 has for example 64kiB per core, but that's irrelevant since M1 doesn't have L3 cache at all, so essentially what is L3 on x86 is L2 on M1 and what is L2 on x86 is L1 on M1. 5950X for example has 8MB of L2 cache and 64MB of L3 (M1 total 16MB of equivalent L2).
To put things into perspective for Apple sheep, I would be surprised if single core performance on SF-NNUE would be more than 1.2Mnps from a starting position. Overall for 8 cores 8Mnps at best, i.e. far cry from a modern 4 core desktop CPU.
-
- Posts: 2557
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: M1 Apple Silicon for Chess?
Only four out of the eight M1 cores are for heavy calculations. The remaining four cores are small ones for saving battery in near-idle. The full performance will be rather around four times the single thread performance, not eight times.
Then again, there's no point in comparing a 10W mobile APU to a 65W desktop CPU, let alone to the even bigger ones. It stacks up pretty well however against AMD's 4000U series.
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net
-
- Posts: 4190
- Joined: Wed Nov 25, 2009 1:47 am
Re: M1 Apple Silicon for Chess?
I calculated 4x1.2+4x0.8. Ofc it could be that "energy" cores give only 0.5Mnps, but that would still give a total of about 7Mnps.
That depends on which 4000U series CPU you take into comparison.Then again, there's no point in comparing a 10W mobile APU to a 65W desktop CPU, let alone to the even bigger ones. It stacks up pretty well however against AMD's 4000U series.
4900U will almost certainly blow M1 out of the water.
-
- Posts: 2557
- Joined: Tue Aug 30, 2016 8:19 pm
- Full name: Rasmus Althoff
Re: M1 Apple Silicon for Chess?
I don't think so, even if the 4900U were not made of pure unobtanium. Geekbench 5 lists the M1 around 7500 in multicore. The fastest 4800U samples are around 7700 (generally rather in the 5000s or 6000s). It depends a lot on what RAM the machine is using (anything from DDR4-2666 to LPDDR4-4266), and the configured cTDP which can be 25W. The 4900U has only 100MHz more boost clock, 4.3GHz instead of 4.2GHz, but the base clock is the same.
Rasmus Althoff
https://www.ct800.net
https://www.ct800.net
-
- Posts: 476
- Joined: Sun Mar 17, 2019 12:00 pm
- Full name: Henk Drost
Re: M1 Apple Silicon for Chess?
I'll believe it when I see it.Ras wrote: ↑Tue Nov 24, 2020 6:04 pmI don't think so, even if the 4900U were not made of pure unobtanium. Geekbench 5 lists the M1 around 7500 in multicore. The fastest 4800U samples are around 7700 (generally rather in the 5000s or 6000s). It depends a lot on what RAM the machine is using (anything from DDR4-2666 to LPDDR4-4266), and the configured cTDP which can be 25W. The 4900U has only 100MHz more boost clock, 4.3GHz instead of 4.2GHz, but the base clock is the same.
I think ARM chips have always underpeformed their Geekbench score for chess.
And for NNUE engines NEON is a downside compared to AVX2.