desrever
Senior member
- Nov 6, 2021
- 289
- 766
- 106
Whoa, a Zen Interview with Mike Clark by Casey Muratori (who is a really badass well informed developer btw )
An Interview with Zen Chief Architect Mike Clark
Zen is one of the most important microarchitectures in the history of the x86 ecosystem.www.computerenhance.com
Lot's of nice detail. Among other things:
AMD's own Phil Park also recommends it:
This can limit the performance of x86 vs Apple silicon and there won't be a real solution for a long time. The fact x86 needs to run Windows and Linux and both is still 4k pages default means it will be limited by design. This is just 1 major issue that can fixed if theres no need to support legacy. Apple has moved past 4k pages because they can control the software side as well as hardware, might be where some of their performance/efficiency gains are coming from.CASEY: Similar question, but moving to the OS side of things: does the 4k page size on x64 create problems for you architecturally by limiting the L1 cache size due to how tagging works? Would architectures like Zen benefit if x64 operating systems moved to 2mb pages as the smallest page size, or perhaps a 16k or 64k page size if you were to introduce that in a future architecture?
MIKE: Definitely. We always encourage developers to use larger page sizes if they can, because it gives us a lot more capacity in our TLBs and therefore less TLB pressure overall. But we have the ability to combine 4k pages into larger pages in our TLB if the OS allocates them sequentially. We can turn four 4k pages into a 16k page if they are virtually and physically sequential. That's been a technique we've used even since the original Zen to help software get the benefits of larger page sizes without moving away from 4k pages.