News for hackers. Stuff that matters.
Re:Apple M1 Ultra by marcan_42 on Tuesday March 08, 2022 @03:18PM (#30606240)
My 1st gen 16 core Threadripper is barely faster than an M1 Pro/Max at kernel builds, so a 64 core TR3 should handily double the M1 Ultra performance.

But you know, I'm still happy to double my current build perf in a small box I can stick in my closet. Ordered one :-)

Re:Apple M1 Ultra by mhh__ on Tuesday March 08, 2022 @03:46PM (#30606648)
How many threads are actually getting utilized in those kernel builds? I don't work on the kernel enough to have intuition in mind but people make wildly optimistic assumptions about how compilation stresses processors.

Also 1st gen threadrippers are getting on a bit now, surely. It's a ~6 year old microarchitecture.

Re:Apple M1 Ultra by enedil on Tuesday March 08, 2022 @07:16PM (#30609299)
Kernel has thousands of compilation units. Each of them is compiled by a separate compiler process. Only the linking at the end doesn't parallelise, however it should take a much smaller part of the time. The proportions change of course, if you develop kernel and do incremental builds lots of times. Then the linking stage might become a bottleneck.

The above statement should also relate to most other C/C++ projects.

Re:Apple M1 Ultra by Too on Thursday March 10, 2022 @12:51PM (#30629986)
Kernel is C code though, which doesn’t require as much cpu to compile as say c++. It could be more IO bound. There should be a lot of more legit data available on this than my armchair speculations.
Re:Apple M1 Ultra by enedil on Friday March 11, 2022 @07:49AM (#30639156)
C++ adds a few time-consuming stuff, like templates, however my belief was that what uses the most time is optimization passes, which won't be much faster for C. The actual benchmarks should be done however.
Re:Apple M1 Ultra by nextos on Tuesday March 08, 2022 @03:56PM (#30606813)
Yes, it'd be interesting to see this comparison made with current AMD CPUs and a full build that has approximately the same price.

I am curious whether there is a real performance difference?

I do lots of computing on high-end workstations. Intel builds used to be extremely expensive if you required ECC. They used that to discriminate prices. Recent AMD offerings helped enormously. I wonder whether these M1 offerings are a significant improvement in terms of performance, making it worthwhile to cope with the hassle of switching architectures?

Re:Apple M1 Ultra by modzu on Tuesday March 08, 2022 @08:16PM (#30609836)
but do the m1s have ecc?
Re:Apple M1 Ultra by marcan_42 on Tuesday March 08, 2022 @10:54PM (#30610752)
All of them. The CPU graph is pegged for most of the compilation.
Re:Apple M1 Ultra by heavyset_go on Tuesday March 08, 2022 @06:17PM (#30608700)
Kernel compilation can be heavily parallelized.
Re:Apple M1 Ultra by manmal on Tuesday March 08, 2022 @04:37PM (#30607441)
I wouldn’t automatically expect a linear decrease in compile time with growing core count. That would have to be tried.