I’ve not had a lot of luck finding any concrete performance metrics around various L1TF (L1 Terminal Fault) mitigation strategies.
It sounds like the L1 flushing strategy can significantly impact virtual machine performance while disabling SMT obviously limits you to physical cores cutting the “number” of CPUs (or more accurately CPU threads) in half.
Has anyone been able to measure or even anecdotally observe performance impact of any of the above strategies for KVM virtual machine heavy workloads? I would especially be interested in anyone’s experience on Zen 4.
I’m running a 1.5:1 CPU overcommit in my lab server at the moment with the busiest VMs being a gitlab VM and the services K8s cluster (those alone constitute 20 vCPUs).
Right now when something gets pushed the CI pipeline lights up the kubernetes cluster (using it for runners) and overall server utilization goes fairly high.
If I use nosmt my overcommit instantly jumps to 3:1 and things start getting a little tight in terms of resource headroom, but if that is the “safest” approach and the performance delta between L1D flush and nosmt isn’t that big then maybe the peace of mind going with nosmt is worth it?
Maybe the solution is to upgrade the server CPU to Zen 5 (not currently affected?) and swap the Zen 4 CPU into a workstation where it is much less likely to be impacted?