HTOP shows the following…
But I see this across the board in portainer, grafana, etc. Everything only sees half my logical cores, it seems the second socket isn’t being used.
I haven’t migrated my heavier software over yet, so load is light. Is this some kind of powersaving feature maybe? Does it spin up the CPU if/when it really is needed? Or did I miss a configuration step somewhere?
EDIT also handy to see (it does recognize the socket is there)…
Maybe a command other than
chcpu to manage this (offline/online the cpu)?
Default installations of Fedora CoreOS boot with the
mitigations=auto,nosmt kernel argument, which instructs the kernel to disable SMT (hyperthreading) on systems where this is needed to mitigate CPU security vulnerabilities. If you only run trusted workloads, you can remove this kernel argument, which will cause the kernel to mitigate vulnerabilities as far as possible without disabling SMT. Example Butane config:
Ah, that makes sense. I wasn’t seeing the whole CPU offline, just hyperthreading for both offline. Thanks!
Alternatively to your butane config you can use
rpm-ostree kargs --editor to pull up the kernel params in a text editor (vi/vim) and remove the
mitigations=auto,nosmt entry (which was the first entry in my kernel argument list).