I use GNAT on a late 2008 MacBook Pro with a 2.4 GHz Intel Core 2 Duo
for heavy numerical computing. It is not uncommon for my programs to
run several minutes to several hours. Does anyone have a feel for how
much speed increase I would see using GNAT on an Apple Silicon M1
PowerBook Pro? My main curiosity is single-core runs since GNAT does
not parallelize; I am aware that I can run multiple programs
simultaneously on multiple cores.
Hi Jerry,
taking the results from Geekbench: [1] for your current MacBook and [2]
for the M1 MacBook from 2021; the results show that single core
performance of the M1 MacBook Pro is about 6.4 times faster.
However, notice that it is running on Aarch64 natively for the M1.
Nonetheless, you can run x86 programs with little performance hit thanks
to Apple Rosseta.
Also, GNAT afaik, allows for parallel computations using tasks. The
multicore performance gain between the two models is about 24x.
There results are however just an average. Maybe your program does not
see such improvements as it may bottleneck earlier or it may see greater gains.
Regards,
[1] https://browser.geekbench.com/macs/macbook-pro-early-2008
[2] https://browser.geekbench.com/v5/cpu/18518008
--
Fernando Oleo Blanco
https://irvise.xyz
GNAT compiles to Aarch64 now, right?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 402 |
Nodes: | 16 (2 / 14) |
Uptime: | 20:14:38 |
Calls: | 8,395 |
Calls today: | 3 |
Files: | 13,168 |
Messages: | 5,902,713 |