On 03/03/2016 06:01 PM, deadalnix wrote:

> 2x64kb L1 cache, which probably reduce the cache trashing due
> to context switches

(I am speaking without measuring anything.)

I imagine that lost cache is one of the biggest costs in thread switching. It would be great if a thread could select a thread with something like "I'm done, now please switch to my reader". And that's exactly one of the benefits of fibers: two workers ping pong back and forth, without much risk of losing their cached data.

Is my assumption correct?

Ali

Reply via email to