Apple M2 On Linux Performance Against AMD Zen 4 Mobile SoCs
For those making use of the WireGuard secure VPN tunnel for securing your network traffic on your mobile device, the AMD SoCs tested all were able to run the WireGuard benchmark much faster than the MacBook Air tested with the Apple M2.
But then quite interestingly the second benchmark in the queue was the QuantLib quantitative finance library. It's a single-threaded test but was very interesting to see the Apple M2 edge out the Zen 4 SoCs in this particular benchmark that is used for modeling, trading, and financial risk management scenarios.
For the HPCG benchmark, the Apple M2 SoC with its onboard memory showed its performance similar to the Ryzen 7 7840U and Z1 Extreme.
While torturing these mobile devices with some heavy HPC workloads like LAMMPS, the Apple M2 in the MacBook Air did surprisingly well and boasted performance similar to the Ryzen Z1 Extreme found out-of-the-box in the ASUS ROG Ally gaming handheld.
The AMD Zen 4 SoCs performed much better than the M2 for the simdjson JSON parsing library that is able to leverage AVX-512.