▲ | Rohansi 7 days ago | |||||||||||||
> A big thing is storage. Apple uses extremely fast storage directly attached to the SoC and physically very very close. In contrast, most x86 systems use storage that's socketed (which adds physical signal runtime) and that goes via another chip (southbridge). Why would PCIe SSDs need to go through a southbridge? The CPU itself provides PCIe lanes that can be used directly. > That means, unlike Mac devices that can use storage as swap without much practical impact, x86 devices have a serious performance penalty. Swap is slow on all hardware. No SSD comes close to the speed of RAM - not even Apple's. Latency is also significantly worse when you trigger a page fault and then need to wait for the page to load from disk before the thread can resume execution. | ||||||||||||||
▲ | mschuster91 7 days ago | parent [-] | |||||||||||||
> The CPU itself provides PCIe lanes that can be used directly. It does, but if you look at the mainboard manuals of computers, usually it's 32 lanes of which 16 go to the GPU slot and 16 to the southbridge, so no storage directly attached to the CPU. Laptops are just as bad. Intel has always done price segmentation with the number of PCIe lanes exposed to the world. Threadripper AMD CPUs are a different game, but I'm not aware of anyone, even "gamer" laptops, sticking such a beast into a portable device. > Latency is also significantly worse when you trigger a page fault and then need to wait for the page to load from disk before the thread can resume execution. Indeed, but the difference in performance between an 8GB Windows laptop and an 8GB M-series Apple laptop is noticeable, even if all it's running is the base OS and Chrome with a few dozen tabs. | ||||||||||||||
|