What is the effect of simultaneous multithreading on cache thrashing?
Simultaneous multithreading (SMT) has a mixed and workload-dependent effect on cache thrashingβit can both increase contention and improve utilization, depending on how threads behave.
SMT allows multiple threads to share the same core resources, including L1/L2 caches. This can worsen thrashing when:
Interestingly, SMT can also mask or reduce perceived cache inefficiency: