News for hackers. Stuff that matters.
Re:Why is Apple's M1 chip so fast? by AlphaSite on Monday November 30, 2020 @04:28PM (#25259204)
I wonder how they managed that.
Re:Why is Apple's M1 chip so fast? by xpuente on Monday November 30, 2020 @05:59PM (#25260139)
Huge block size (128bytes). Probably they are using Power7 alike scheduling (i.e. scheduling are working on packs of instructions, That might explain the humorous 600+ entry ROB. Certainly the wake-up logic can't deal with that one-by-one with such a low power). If you combine that with JIT and/or good compilers, you get this. I guess only Apple can pull this trick: they control all the stack (and some key power architects are working there).
Re:Why is Apple's M1 chip so fast? by brandmeyer on Monday November 30, 2020 @07:56PM (#25261006)
Big cache lines and big pages together. 16 kB pages combined with 128-byte lines means it can be 8-way set associative and still take advantage of a VIPT structure.

Larger pages mean that performance on memory-mapped small files will suffer... which is a use-case that Apple doesn't normally care about in its client computers.

Larger cache lines mean that highly mulththreaded server loads could suffer from false sharing more often. Again, its a client computer so who cares?

Regarding the definition of "huge": A64FX uses 256B cache lines. Granted its a numerical computing vector machine, but still. Huge covers a lot of ground.

Re:Why is Apple's M1 chip so fast? by my123 on Monday November 30, 2020 @04:33PM (#25259283)
The NVIDIA Carmel cores on 12nm had a 64KB L1D cache with a 2 cycles latency.
Re:Why is Apple's M1 chip so fast? by throwaway_pdp09 on Monday November 30, 2020 @04:43PM (#25259416)
Means nothing without saying what the clock goes at.
Re:Why is Apple's M1 chip so fast? by my123 on Monday November 30, 2020 @04:53PM (#25259534)
2.26GHz, on a quite old process.