Previous | Next --- Slide 26 of 52
Back to Lecture Thumbnails
sss

If all threads have different address spaces then wouldn't the processor lose lots of cache locality as it swaps out different threads?

jhhardin

@sss: I think it would lose some, but wouldn't hurt performance too much. We talked about methods that sort of hide this, such as switching to a different thread when waiting on memory accesses upon a cache miss. I'd also suspect that cache updates are done significantly more often than context switches.