4 ms·
> For example doing very heavy computation on 8 threads of a 4-core CPU with 8 hardware threads, can actually reduce performance, because all threads will be co
by bartread 8y ago
> For example doing very heavy computation on 8 threads of a 4-core CPU with 8 hardware threads, can actually reduce performance, because all threads will be contending for the same functional blocks of the CPU.
We have exactly this scenario on a server we're running (non-virtualised) and, if it didn't involve rebooting the machine, I'd already have run a test to benchmark whether we get better performance with or without hyperthreading. Unfortunately our test environments aren't similar enough to be representative in terms of testing yet, but this is going to change in the next few weeks so I'll finally be able to run my test without needing to take down the production box.
- stock_toaster 8y agoYou could try offlining the HT cores in the linux scheduler, and see if it makes a difference (no reboot required). Example: https://www.golinuxhub.com/2018/01/how-to-disable-or-enable-hyper.html https://www.golinuxhub.com/2018/01/how-to-disable-or-enable-...
- bartread 8y agoUnfortunately we're running Windows Server 2016. I may be wrong - be nice if I was, actually - but I thought it required a reboot.