I have been learning for an exam and try to understand hyperthreading.
Lets suppose we have a physical core with hyperthreading, Thread A and B. Let's also suppose thread A has fully occupied the physical core. Is there a chance to switch to Thread B duo to HT and if so can that have an bad impact at Thread A or B besides the case they want to use the same recourse.
I know, that if both want to use the same recourse like same ALU, one of then has to wait for the other, but is there another scenario where HT is nonsense because of having fully occupied the physical core.
The reason why we use HT in the first place is that the physical core is in some use cases not fully occupied, thus not efficiently used
Thanks in advance