Anyone watching CPU usage while the tests are running? Apple's claims about speed are based in part on software that uses multiple cores, but Mathematica's tests are largely single-threaded things, no?
|
|
I think one can activate the other kernels with LaunchKernels[] , and then run the benchmarking. With all 8 kernels activated on my device, I get a score of 11.71. To activate n kernels where n is an integer less than or equal to the number of cores (say, 3), the command is LaunchKernels[3] .
|
|
Thanks. I tried the same thing -- got a benchmark score of 13.81 Pretty impressive, and points to the advantage of using multiple cores. The new M1 (all of them) chips have multiple GPU cores. It would be interesting to see what would happen if we could force Mathematica to use all of those as well. In his talk on Monday, Stephen mentioned that they were working on optimizing Mathematica for the new Apple Hardware. Not sure what that entails, but if the neural net/ AI stuff can be made to work on the built-in hardware instead of relying on NVIDIA, it would be something, indeed.
|
|
Until I just read these last two posts I never realized that LaunchKernels[] was required to exploit parallelism in benchmarking (now slapping palm against forehead). I just did this with my 2017 iMac Pro with a 3GHz 10-core Intel Xeon W. Running 13.0.1 with the standard 8 licensed cores, the score improved from 3.94 to 13.43. Considering mine is a desktop machine with a large thermal envelope, your 13.81 on a MacBook Pro is looking pretty good.
|
|
My new M1 Pro MacBook Pro scores an impressive 3.37. Slightly higher than the score for the M1 Max posted above. I think this score is highly dependent on what else is going on on your machine. For example, for the first couple of days there was a lot of activity from Spotlight, as it catalogued my drives in the background. Machine Name: mercury
System: Mac OS X ARM (64-bit)
Date: December 16, 2021
Wolfram Language Version: 13.0.0
Benchmark Result: 3.37
Attachments:
|
|
My 14-inch Macbook Pro (M1 Pro, the base 8-core variant, with 16 GB RAM) scores 2.63. Nothing else significant (as in terms of taking up processor attention) was running in the background, and the battery was fully charged, with the magsafe still plugged in, glowing green. I was expecting it to make it above 3, at the very least. Here's the notebook:
|
|
Benchmark on my brand new MacBook Pro 16: M1Max 64 Gbytes RAM: 3.32 Powered
3.41 Battery Running version 13.0, of course. (I started a new session for each.) According to Stephen in his rollout talk, they are still working on optimization. Also, I have a short function that looks for new and changed packets, and there were w whole bunch that were downloaded since Monday. Some of these may affect execution speed.
|
|
I downloaded and installed Mathematica 13 on my M1 Max MacBook Pro and ran the benchmark test again. The results are much better than I was seeing with Mathematica 12.3.1. I have attached the resulting notebook.
|
|
Ah, so v13 did improve the scores for tests 4 and 14, dramatically so. But, they are still somewhat the weak links overall. Now we need v13 scores for the most recent Intel MacBook Pro, as a comparison.
|
|
Hi Gary, The results on my M1 Max MacBook Pro are significantly worse than yours
System: Mac OS X ARM (64-bit) Date: December 15, 2021 Wolfram Language Version: 13.0.0 Benchmark Result: 2.33
$Version
(* "13.0.0 for Mac OS X ARM (64-bit) (December 3, 2021)" *)
|
|
Was the power cord connected? This can have a large impact.
|
|
Hi Gustavo, Yes, the power cord was connected and the battery was at 100%. Tried without the power cord connected and the change was insignificant.
|
|
Yes, that result is not good at all. Mine was certainly better, but I am still disappointed that it wasn’t even better. I have a 2019 Intel MBP that I can install Mathematica 13 on, but I moved the license to the new machine, so I don’t know that it will still run the benchmark. I will try soon and let you all know what I find.
|
|
I get 2.54 on a 2017 MBP!
System: Mac OS X x86 (64-bit) Date: December 15, 2021 Wolfram Language Version: 13.0.0 Benchmark Result: 2.54
So agreed it should be significantly better.
|
|
Extracted the timings from Gary's notebook and from my notebook to see which tests performed worse. 
The significant ones are Numerical Integration, SVD, and Solving a Linear System. What does that suggest? Some problem with floating point computations and matrices on my machine?
|
|
What does that suggest? Some problem with floating point computations and matrices on my machine?
@Rohit Namjoshi This likely means the machine was not sufficiently idle during the benchmark. This can cause a slowdown if the OS schedules one of the computational threads on the same core that is running some kind of background task (for example, the Spotlight indexing could be implicated).
|
|
Hi Kenneth.
Can you share absolute values of the banchmaks? I wanted to compare them with emulated version on ARM64 on Windows 11 Mathematica 12.3.1
Regards
Marcin Balcerzyk
|
|
I ran benchmark on both MacBook Air M1 and MacBook Pro M1 Max, the funny thing is that Macbook Air's score is like 30% higher than MacBook Pro M1 Max, I suspect it's something to do with 2 less efficiency cores. But then both ain't as fast as I expected.
|
|
I just got a MacBook Pro with the M1 Max chip. It has 32GB of RAM, 10 cores (8 high performance, 2 efficiency). When I run Mathematica’s benchmark on my 2019 MBP, the benchmark result is 3.49. When I run it on the new MBP with the M1 Max, I get 1.86. I am running Mathematica 12.3.1 on both. The Intel version on the 2019 MBP and the ARM version on the 2021 MPB. Shouldn’t I be seeing a far better number than that?
|
|
Hi.
I have just made Surface Pro X with Windows 11 (build 10.0.22000.160) to run Mathematica 12.3.1, obviously in emulation mode. I tried BenchmarkReport[] and this machine got only 0.45, which is very low compared to 3.21 of M1 Mac running Mathematica 12.3.0 which is also emulation, not the native 12.3.1 one for Mac.
On my desktop Windows 11 system with intel i7-8700 with 3.2 GHz the benchmark is 2,8.
.
Wolfram support shows that they resist strongly compiling Mathematica for Windows on ARM64. To make the Mathematica running I needed to uninstall Math Recognizer from Windows. This file is responsible for Inking Equation in Word (but not in PowerPoint nor OneNote). Another thing was to run the Display in default 200% magnification. Otherwise, Mathematica was either not showing Welcome Screen at all and crashing. Whatever is the benchmark now in Windows Surface Pro X, I am happy that Mathematica is working, although it is an unstable work. I wonder how Mathematica on M1 Mac shows the Benchmark when moving from 12.3.0 to 12.3.1 (i.e. native ARM64).
Regards
MarcinB.
|
|
You are Apple users, anybody tried to run Mathematica on Windows 10 on ARM64 with their x64 emulator? Does it start or install at all? You need Insider´s Build for that as of June 2021.
Marcin
|
|
I just did, but didn't bother to run multiple times + I have been heavily multitasking.
Attachments:
|
|
Hoping to refresh this thread. Has anyone benchmarked the just-released 12.3 on an ARM M1 chip? Thank you.
|
|
From what I observed, the Benchmark function only uses one Kernel. However, when I ran the repeating Benchmark test, I'm fairly certain the OS was spreading the computation over some number of the M1's cores. I don't think there's a way to specify which processor cores should perform specified operations. That said, I don't agree that the comparison is invalid. If the M1 is faster when using four performance cores and four power efficient cores over, say, a 8-core Intel i7, isn't that a valid comparison even though some of the M1's cores are more power efficient?
|
|
Yes, the M1 is significantly faster than the i7-3770 listed in the Mathematica Benchmark report, but that processor was released in 2012. Thus I wasn't considering that score, but rather what Murray Eisenberg obtained with the 8-core i9-9900K in his 2019 iMac. And based on that, the M1's comparative performance for MMA is somewhat slower than expected (even accounting for Rosetta 2), relative to its comparative performance thus far on other benchmarks. Specifically, the score Murray obtained with the i9-9900K is 50% higher than what you obtained with an M1 Air. By contrast, some (though not all) benchmarks comparing the single-core performance of the M1 to that of the (even faster) i9-10900K have the M1 as faster when the benchmark is run natively, and approximately comparable when run under Rosetta 2. Thus it's natural to want to ensure that this discrepancy isn't because Murray's i9 was able to use all 8 cores. More broadly, my own interest/curiosity is in assessing the performance of this new technology from Apple and, to do this, I think it's most meaningful to focus on per-core performance, since the current 4-performance-core limitation is merely a characteristic of these first models. Apple will be likely be offering higher-end systems with more cores in 2021. It was interesting to see the benchmark you posted—thanks for doing that. But, to get a meaningful assessment of MMA's per-core performance on AS, we'll probably need to wait until WRI produces a build that runs natively on AS.
|
|
Gotcha. I see what you're saying. It'll be interesting to observe how the M1 performs once Mathematica has been updated to run natively on Apple Silicon. Anecdotally speaking, the non-native Microsoft Office apps seem to run slower on my M1 MacBook Air than they do on my 2012 12-core Mac Pro.
|
|
These CPUs which you compared with are too old, I don't believe that.
|
|
And My mark is 8.0. 
|
|
How many cores does the Benchmark function use? The M1 has only four high-performance cores, while most desktop/laptop CPU's have more; thus, to maintain comparability with benchmark results from other CPU's, you'd want the Benchmark function to be limited to four as well (and you'd also want it to be using the high-performance cores only). Alternately, one could do comparative testing by timing individual single-threaded commands.
|
|
Hello Jacob, very promising results - could you give the benchmark another try while the MacBook is hot? E.g after watching a HD Youtube Video for some minutes? As you are surely aware, the CPU gets throttled when too hot; maximum speed is only available for a short time, until the aluminum body heats up. Therefore, the high benchmark scoring might be a little misleading: Surely true when the Laptop is idle and the computation is short. But for longer tasks, Classify or Predict of large Datasets, the CPU might run into the temperature-throttle. Such an issue would not be detected by the Benchmark test which is only a few seconds in duration. Could you "heat up" the MacBook and run the benchmark again?
Or maybe run the Benchmark 100 times, and give the result of the last run? Greetings.
|
|
Presumably such throttling does not occur with the M1 MacBook Pro, which has a fan rather than just the Air's passive cooling.
|
|
Oliver, I did as you suggested and ran the Benchmark function 100 times. The last "BenchmarkResult" reports to be 3.051. While the function was on repeat, the bottom of the MacBook Air became noticeably more warm and the cumulative CPU utilization held steady at around 73%.
|
|
Thank you for that benchmark! Which version of the new M1 MacBook Air is this: which processor (8-core CPU and 7-core GPU or 8-core CPU and 8-core GPU, in case Mathematica takes advantage of the GPU, too)? How much "unified memory" (8GB or 16GB, in case that matters? For a sobering comparison, for my 2019 27-inch iMac with 3.6 GHz 80Core i9 (64GB 2667 MHz DDR4 RAM) running Mathematica 12.1.1 under macOS Catalina 10.15.7, the WolframMark is 4.48. (If I buy a of new MacBook M1 Air or Pro, it will be secondary to the iMac, but I'll still want to run Mathematica on it at a tolerable speed.) I'd like to see somebody's WolframMark on the new M1 MacBook Pro, too,
|
|
Murray, the aforementioned WolframMark benchmark test was ran on an M1 MacBook Air with the 8-core GPU and 16GB of unified memory.
|
|
After some cursory usage of Mathematica 12.1.1, I can report that it seems to run well on my new MacBook Air M1. Here's a screenshot of the WolframMark Results report: 
Given the fact that Mathematica is running under x86 emulation, I'm. pretty impressed with the results.
|
|
That would be interesting for me as well. I assume that right now, Mathematica has to use the Rosetta 2 Layer to run on non-x64-architecture? An easy "benchmark" would be to have them install Mathematica in an Apple Store, run some pre-defined code, and measure the time it needs to perform that task.
|
|
Reply to this discussion
in reply to
|