Earlier quoted context omitted.
That's not really clear from the article, but I suspect that performance drop is from multithreaded software. And sure, if you are observing performance degradation with hyper-threading, there's 0 reason to keep it enabled. OpenBSD guys suggest to turn it off after all.
The article claims a 30% perf slowdown with PHP. The majority of PHP workloads are single threaded. That causes me to suspect this impacts single core workloads too.
Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower
81–90 of 114 posts
Re: Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower
#82Earlier quoted context omitted.
Would you like a nuclear powerplant to be ran with this kind of approach to safety? Given the amount of possible targets and how unreliable people can be at assessing what risk they're exposed to, having mitigation active by default is obviously the only sane answer.
Somehow I doubt nuclear power plants run (unmodified) Linux kernels released in the last 5 years
Re: Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower
#83Earlier quoted context omitted.
Someone once had the great idea that drivers should be in the same codebase as the kernel. Crazy, I know.
It doesn’t seem crazy to me that something that runs in kernel mode and uses kernel APIs should be in the kernel codebase. What are the downsides?
Re: Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower
#84This is somewhat unfortunate for older-gen hardware. The difference between chugging-along but usable vs 20% reduced performance is crippling.
Re: Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower
#85Earlier quoted context omitted.
It doesn’t seem crazy to me that something that runs in kernel mode and uses kernel APIs should be in the kernel codebase. What are the downsides?
Linux would have beaten Windows if it wasn't for that.
Re: Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower
#86Earlier quoted context omitted.
Linux would have beaten Windows if it wasn't for that.
But at what cost? I don't want to run Linux with non-free drivers. That's not the point.
Re: Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower
#87This is somewhat unfortunate for older-gen hardware. The difference between chugging-along but usable vs 20% reduced performance is crippling.
Re: Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower
#88Earlier quoted context omitted.
Apparently the way to turn this and other mitigations off is the following mouthful: pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier Would it make sense to have a single flag to "run insecure but fast" that we can use on pure development machines, test servers and the like? My Intel development server only runs code I choose.
This alphabetti spaghetti of boot flags is getting ridiculous, there seems to be no central list anywhere, just random snippets across the web. Why is there not a Linus rant when you really need one? :-(
https://github.com/torvalds/linux/blob/master/Documentation/...
Re: Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower
#89This was known. https://lwn.net/Articles/765837/ reports 21% performance impact and the plan was to handle STIBP as an opt-in security feature. I am not sure why that was not furthered in the patches that have actually been committed to Linux, as I did not follow them closely.
Apparently the way to turn this and other mitigations off is the following mouthful: pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier Would it make sense to have a single flag to "run insecure but fast" that we can use on pure development machines, test servers and the like? My Intel development server only runs code I choose.
Re: Bisected: The Unfortunate Reason Linux 4.20 Is Running Slower
#90Earlier quoted context omitted.
It doesn’t seem crazy to me that something that runs in kernel mode and uses kernel APIs should be in the kernel codebase. What are the downsides?
The main downside is that a bad/buggy driver can take down the entire system.