macOS: ARM vs Intel

I recently obtained access to a newer Mac computer with ARM processor. Is there some ready to use benchmark I can execute to see if running native ARM Julia will be faster (and safe) vs running Julia x86 on ARM through Rosetta 2?

You can use SystemBenchmark.jl.

1 Like

I had already run a benchmark of a native build vs Rosetta at https://github.com/IanButterworth/SystemBenchmark.jl/issues/8#issuecomment-875988228

Not what you asked, but at https://github.com/IanButterworth/SystemBenchmark.jl/issues/8#issuecomment-1079066325 there is also a comparison Linux vs macOS on the same machine

2 Likes

From a totally non-quantitative perspective M1 ARM has been much much faster than Rosetta, so that I switched to using it even before it was stable (back with 1.7). On the 1.8 beta releases I have had no M1 specific issues at all arise.

1 Like

I have segfaults on M1 when differentiate relatively large models with Zygote. Otherwise no issues since 1.7

1 Like

Are there silent errors, or can I rule that out?

I haven’t come across any and my test sets are fairly extensive.

1 Like