Better CPU selection for Linux timer expiration
lwn.net
lwn.net
This does seems to be one of the usecases that you would want to use the little cores in a big/little architecture for btw.
It might reduce throughput of a single-threaded process, but perhaps not even that if it avoids bouncing cache lines around to different cores.
Remember, though, that almost all timers never reach expiration, anyway, so the real savings here is the 25% reduction in the time to set or cancel a timer. That work, if it ever gets done, is now deferred to when a CPU is about to go idle, which (by definition) means it has nothing better to do.