AMD Inception Mitigations Cause 20% Performance Drop in Database Servers
phoronix.com
phoronix.com
Is this Inception issue the kind of thing that can be solved more efficiently in silicon with future generations, or is the mitigation something we have to accept and just go for faster processors to make up for it in the future?
Meaning if you have a dedicated machine for your database, you probably don't want to turn these on. i.e. it's good to know that this is something you probably don't want.
>> if you have a dedicated machine for your database
That's not a machine with a browser. The game then becomes: can somebody "inject" this sort of attack through a database connection. Good practice should insulate you but who knows.
You could skip this and run the DB as root, but that’s a big security trade off that most users shouldn’t be taking.
Root access also provides many more opportunities for persistence. Most attackers don't want to be discovered, they want to remain and continue to exfiltrate. Exfiltration out-of-band will also be easier as root as you would be able to modify the firewall.
Root may be a little less useful on a cloud VM where there is cloud level network isolation etc, but it's still a Bad Idea.
If the database server gives shell to DBAs or such who don't get root, perhaps yes.
If the owners wish to restrict the attack surface of most of the non-database software running on a current day fat linux distro, perhaps yes. No mitigations means buffer overflow in any network-exposed code (DHCP client, DNS resolver, SSH server, Prometheus metrics exporter, ...) could lead to a ransomware attack on the database etc.
* Code compilation - Linux kernel compilation takes ~15% longer with any of the mitigations on. LLVM and Node compilation are less substantial for kernel only, or safe RET microcode fix, but still ~15% longer for the IBPD mitigation. Though the Linux kernel gap seems much smaller (~7%) when tested on desktop ryzen (zen 4) instead of EPYC (zen 3)
* Numpy benchmark - at least ~10% loss with mitigations (on EPYC)
* nginx - at least ~15% with loss with mitigations (on EPYC)
Most other impacts limited to less than 5% (if any).
Also is there an equivalent for Windows?
IIUC, mitigations=off should disable them all. No need to specify them one by one and keep track of all of them.
Of course, I'm not recommending this, and you should only do it if you know what you are doing.
"Intel's Downfall Mitigations Drop Performance Up to 39%, Tests Show": https://news.ycombinator.com/item?id=37085043
I turned mitigations off and was back to normal. I was going to try to figure it out today, but this is probably it.
A bold statement to make. Even if it would be true, do you control all the inputs for that software or can other people feed it with data?
* there's a chance that this enables a remote exploit through some specially crafted data for some popular library... the chances are very slim though