3 ms·
The Intel hate is really misdirected. The entire industry had an incorrect mental model of what process isolation required. All that an x86 CPU promises is that
by rayiner 8y ago
The Intel hate is really misdirected. The entire industry had an incorrect mental model of what process isolation required. All that an x86 CPU promises is that you will get a page fault if you try to access privileged memory. That’s it, and it’s not sufficient for process isolation in the face of malicious code. JavaScript/WASM VMs assumed more or less the same thing. So long as you can catch any out-of-bound array reads or the like, you have a safe “sandbox.” Again, that assumption was insufficient. It wasn’t just Intel and JavaScript developers either. Entire bodies of research were dedicated to techniques that likely would be vulnerable to these sorts of attacks. For example, the idea that you could do away with CPU memory protection if you ran everything in a managed language that makes it impossible to access arbitrary memory.
What you’re seeing as a paradigm shift in what kinds of process isolation are required for modern computing.
- zrm 8y agoThe Intel hate is somewhat consequentialist. Software was written under a security assumption that wasn't true, the alternative code is slower. Whose fault it is and the ramifications for the relative performance between different processor designs are separate matters, and people understandably aren't going to favor the vendor with the larger performance loss.
- cookiecaper 8y agoWhile it's true that speculation as a whole needs to be revisited, Intel is impacted to a much greater extent because they designed their hardware to speculate beyond permission barriers as a matter of routine. AMD did not [0] and consequently is affected only by the most general attacks on speculation, e.g., Spectre. As far as I understand, AMD chips are not impacted by Meltdown or any of the MDS attacks. It'd be great to see Michael run the same benchmarks against an AMD chip that has all relevant mitigations enabled and compare the performance loss. I'd ballpark that AMD chips may have lost ~10% overall, whereas we see here that Intel chips have lost ~25%. [0] https://www.amd.com/system/files/documents/security-whitepaper.pdf https://www.amd.com/system/files/documents/security-whitepap...