SMT usability in Proxmox

Andreas Pflug

Well-Known Member
Nov 13, 2019
36
2
48
In the early days when hypertreading was introduced, the findings with HT on or off with database systems (mssql, postgresql) was quite clear: HT is not helpful, may even harm performance. For a long time, I had Xen Hypervisor running on AMD cpus with HT off.

We're now some some 15 years later, and I wonder how SMT has evolved in the meantime. The cluster I'm running now has Ryzen Zen1-5, with SMT enabled. Lately, on a Zen5 32-Core (i.e. 64 threads), the host load was around 45, with cpu usage of 70%, which appears sane on first sight, but the performance impact was more than noticeable (and MSSQL made it worse by taking bad plan decisions in that situation).

So, apparently the load should be not higher than actual core count, which makes me wonder if I should disable SMT rightaway again.
 
Well that article is interesting, but it's mostly about games on Windows, not VMs on Proxmox.
An option for each VM, indicating if it likes SMT seems missing.

The hosts are running DRBD, so I guess they'd use SMT just fine (as would Ceph, many processes running the same code).
 
Last edited: