News for hackers. Stuff that matters.
Re:The Apple M1 compiles Linux 30% faster than my Intel i9 by astrange on Tuesday June 01, 2021 @07:47PM (#27362943)
It's running out of memory and that's when the memory pressure becomes notable enough to affect the terminal app. The same would happen on any other system - in fact it'll become unusable more quickly on Intel.
Re:The Apple M1 compiles Linux 30% faster than my Intel i9 by ajross on Tuesday June 01, 2021 @09:12PM (#27363623)
That seems unlikely. In fact kernel builds don't really produce much memory pressure, no more than a 1-200 MB per parallel make process in general. (The final link takes more, but that doesn't really parallelize anyway).
Re:The Apple M1 compiles Linux 30% faster than my Intel i9 by astrange on Tuesday June 01, 2021 @10:46PM (#27364202)
I don't know about kernel builds, but memory pressure is the usual limiting factor when building for macOS/iOS builds when you step up parallelization like this.

Another possibility is system bugs that can be exposed when it thermal limits because it will stop running background QoS tasks, and things waiting on them will hang. It's pretty hard to stress it to that level.

I have done both these things by building compilers on M1. The memory pressure wasn't always from the host compiler but rather tools like dsymutil that may not be perfectly optimized themselves.

Re:The Apple M1 compiles Linux 30% faster than my Intel i9 by astrange on Wednesday June 02, 2021 @02:48AM (#27365697)
Limiting factor for being able to use the machine that is, not for compile time.
Re:The Apple M1 compiles Linux 30% faster than my Intel i9 by makomk on Wednesday June 02, 2021 @05:05AM (#27366512)
Apple seem to have actively chosen to skimp on memory capacity, so this seems very much like something that's on them.
Re:The Apple M1 compiles Linux 30% faster than my Intel i9 by astrange on Wednesday June 02, 2021 @05:37PM (#27374307)
I would say it's unreasonable to expect 'make -j8' to perform well on a low-end laptop (M1 is a low end CPU) and that the system should be picking the -j number for you.