If all threads have different address spaces then wouldn't the processor lose lots of cache locality as it swaps out different threads?
This comment was marked helpful 0 times.
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.
If all threads have different address spaces then wouldn't the processor lose lots of cache locality as it swaps out different threads?
This comment was marked helpful 0 times.
@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.
This comment was marked helpful 0 times.