# Multithreaded code on beefy computer runs just as fast as serial code on M1 Mac

**URL:** <https://discourse.julialang.org/t/multithreaded-code-on-beefy-computer-runs-just-as-fast-as-serial-code-on-m1-mac/75210>\
**Category:** Performance\
**Tags:** performance, parallel, differentialequation\
**Created:** [January 26, 2022, 2:30am UTC](https://discourse.julialang.org/t/multithreaded-code-on-beefy-computer-runs-just-as-fast-as-serial-code-on-m1-mac/75210 "2022-01-26T02:30:17Z")\
**Posts on this page:** 2\
**Page:** 3

<div class="post-metadata">

**Author:** ![ash](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@ash](https://discourse.julialang.org/u/ash)\
**Post date:** [January 30, 2022, 6:14pm UTC](https://discourse.julialang.org/t/multithreaded-code-on-beefy-computer-runs-just-as-fast-as-serial-code-on-m1-mac/75210/41 "2022-01-30T18:14:39Z")

</div>

> [@ChrisRackauckas](#):
>
> You could delete all of the linear solver stuff then: Anderson Acceleration does not use a linear solver.

Thanks! I wasn’t aware.

> [@ChrisRackauckas](#):
>
> In fact with these results you might want to try ROCK2 as the solver?

192 ms with ROCK2 vs 495 with KenCarp47 with NLAnderson. You’re a wizard!

Edit: the oscillatory \beta problem is now down to 10.74 s from 47s. Just wow.

---

<div class="post-metadata">

**Author:** ![Thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Thomas](https://discourse.julialang.org/u/Thomas)\
**Post date:** [February 2, 2022, 1:10pm UTC](https://discourse.julialang.org/t/multithreaded-code-on-beefy-computer-runs-just-as-fast-as-serial-code-on-m1-mac/75210/42 "2022-02-02T13:10:16Z")

</div>

Wow the perf gain is amazing. Once you are done with this and if you have time could you make a tldr summarizing this thread?

[Previous page](https://discourse.julialang.org/t/multithreaded-code-on-beefy-computer-runs-just-as-fast-as-serial-code-on-m1-mac/75210.md?page=2)
