Re:Bisected: The Unfortunate Reason Linux 4.20 Is Running Sl...
by hermanradtke on Saturday November 17, 2018 @03:10PM
(#18477124)
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.
[ Parent
| on HN ]
Re:Bisected: The Unfortunate Reason Linux 4.20 Is Running Sl...
by bonzini on Saturday November 17, 2018 @03:32PM
(#18477235)
Yes, on some processors basically it's as if all userspace was recompiled to use retpolines. Enabling STIBP promises that one thread cannot influence the indirect branch predictor's operation when the sibling runs; on those processors the indirect branch predictor is completely disabled, which is an inefficient but valid way to implement STIBP semantics.