Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • It is highly likely you made a programming mistake which renders multithreading (or multi-processing) ineffective. However, Super User isn’t the place to ask about that; Stack Overflow is. If you want to go that way, remember to include the gist of the code and whatnot, according to the rules and customs over there.
    – Daniel B
    Commented Sep 1, 2023 at 11:40
  • @DanielB: Thanks for that advice. I was thinking about asking that at SO, but was not sure if it suits there as it seemed to be more hardware or architecture related. Need to do some further investigations in order to get a small reproducible code snippet for SO.
    – albert
    Commented Sep 1, 2023 at 12:04
  • The M1 has odd mix of performance. It has a significantly higher single core rating but lower multicore performance cpubenchmark.net/compare/4580vs2765.2/… which suggests that there is something weird going on. Likely the M1 is hitting a power or thermal budget. Given that it is 6 years newer the single core performance being better is expected, but the multicore performance seems to be rather poor by comparison. The M1 may have better performance per watt, but seems to perform identically otherwise.
    – Mokubai
    Commented Sep 1, 2023 at 12:51
  • @Mokubai: What do you mean by "[...] but seems to perform identically otherwise." Based on my findings, the M1 Pro seems to perform identically to my Dual Xeon machine, but I would assume the latter should be (at least slightly) better in performance since I am using multiprocessing to run multicore calculations.
    – albert
    Commented Sep 1, 2023 at 13:06
  • 1
    Please note that Xeons have never really been about raw performance. They are used in servers where reliability trumps everything else. The Xeon is also on a 14 nanometer process while the M1 is on 5nm process so the 160W rating on the Xeon is deceptive, it may sound like it should be a more powerful processor but how many watts it takes doesn't really give a good indication of how much work it can do. That apple can give you an M1 that performs nearly identically at a fraction of the power is actually kindof impressive.
    – Mokubai
    Commented Sep 1, 2023 at 13:31