On 05/29/2018 02:14 PM, speck for Thomas Gleixner wrote: > >> yes, with compile workload, the HT speedup was mostly eaten up by >> overhead. > > So where is the point of the exercise? > > You will not find a generic solution for this problem ever simply because > the workloads and guest scenarios are too different. There are clearly > scenarios which can benefit, but at the same time there are scenarios which > will be way worse off than with SMT disabled. > > I completely understand that Intel wants to avoid the 'disable SMT' > solution by all means, but this cannot be done with something which is > obvioulsy creating more problems than it solves in the first place. > > At some point reality has to kick in and you have to admit that there is no > generic solution and the only solution for a lot of use cases will be to > disable SMT. The solution for special workloads like the fully partitioned > ones David mentioned do not need the extra mess all over the place > especially not when there is ucode assist at least to the point which fits > into the patch space and some of it really should not take a huge amount of > effort, like the forced sibling vmexit to avoid the whole IPI machinery. > Having to sync on VM entry and on VM exit and on interrupt to idle sibling sucks. Hopefully the ucode guys can come up with something to provide an option that forces the sibling to vmexit on vmexit, and on interrupt to idle sibling. This should cut the sync overhead in half. Then only VM entry needs to be synced should we still want to do co-scheduling. Thanks. Tim