4 ms·
So I've been hobbling my CPUs performance for the past 4 years with a mitigation that doesn't actually mitigate. Must be a day ending in y.
by bhawks 5y ago
So I've been hobbling my CPUs performance for the past 4 years with a mitigation that doesn't actually mitigate.
Must be a day ending in y.
- _0ffh 5y agoOh, but it does mitigate - just turns out it don't mitigate enough.
- bhawks 5y agos/reservation/mitigation/ https://youtu.be/A-brgkkjnHc https://youtu.be/A-brgkkjnHc Jokes aside - I understand the difficulty to adequately defend against meltdown/spectre. When the exploits were released I was running a service which definitely needed protection from this type of attack. Ironically we had just finished a set of optimizations that would have reduced our cpu costs quite nicely, the mitigations ate all those wins and more. I guess I'm still bitter - I no longer own that system but it really frustrated me to hear that it apparently was still vulnerable to spectre style attacks.
- danuker 5y ago> ate all those wins and more. At least you still have a relative advantage: if you had not optimized, the CPU costs would have increased even more.
- deleted 5y ago[deleted]
- blibble 5y agoI turned them all off on all my production servers they don't run arbitrary untrusted code and send a LOT of packets, those mitigations really hurt
- staticassertion 5y agoI think that's the smart thing to do. Default to safe, let people evaluate their threat model and disable as needed. I'm curious, what options did you disable?
- secondcoming 5y agoAdd 'mitigations=off' to the kernel command line (assuming you're using linux) We did it for most of our GCP images
- TillE 5y agoRight, I'm not sure Spectre is worth worrying about outside of big multi-user systems, or a web browser executing Javascript. Otherwise if you're executing untrusted code, you're in big trouble regardless.
- landemva 5y agoThat works on bare metal you control. If you rent something with VM / hypervisor the mitigations are important to protect from other VMs on the machine.
- waych 5y agoMitigation between VMs is only effective when done from the hypervisor. Mitigations within a VM can only counter intra VM data leaks.