3 ms·
> also IIRC, are partitioned between logical cores when HT is enabled. A lot of things are partitioned. But my understanding is that L1 and L2 cache is competi
by dragontamer 8y ago
> also IIRC, are partitioned between logical cores when HT is enabled.
A lot of things are partitioned. But my understanding is that L1 and L2 cache is competitively shared. Which means if one thread uses 512 bytes of cache, the OTHER thread can use the full 32kB for itself.
There are other benefits: Both hyperthreads can share L1-code cache for instance, if there's a tight loop that is shared between the two threads.
Lower-level things like the retirement engine (aka: shadow registers / out-of-order registers) are partitioned. I dunno whether or not the branch predictor is shared or partitioned. But... things like that.