Hacker News new | ask | show | jobs
by hermanradtke 2938 days ago
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.
2 comments

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.
That's interesting. 30% is generally the back of the envelope number for what hyperthreads get you in a OoOE core.