News for hackers. Stuff that matters.
Re:Comparison of Rust async and Linux thread context switch ... by PixelOfDeath on Friday February 12, 2021 @12:05PM (#26115795)
I hat very good experience with using buffer variables to copy-"prefetch" unpredictable costly fetches. E.g. from cache lines that get touched by several cores for communication.

And I only actual use them after one iteration of whatever I do. So the core could fetch the memory content without actually having to stall because I do not use it until later.

I'm not sure how realistic that is inside a kernel thread scheduler, but it sure is useful in user space for task based libraries.

There are no comments on this comment yet.