Open MatiasVara opened 6 years ago
The hpt can improve the energy consumption. For example, if we have two execution threads in two different cores that may alternate between idle and active, it would be better to put them in the same core but in different threads. This way we can just halt the other core.
Hyper-threading is the ability of a logical processor to run multiples threads in the same logical processor. Each execution thread shares the logical processor resources. From here:
We need to investigate in which scenarios hyperthreading can improve the execution. It may be needed an special API for the user.
To enable hpt in kvm use:
--vcpus=2,sockets=1,cores=1,threads=2