Re: unixbench context switch perfomance & cpu topology

From: Mike Galbraith
Date: Tue Jan 23 2018 - 08:49:55 EST


On Tue, 2018-01-23 at 18:36 +0800, Wanpeng Li wrote:
>
> Thanks for having a try, Mike. :) Actually the two context1 tasks
> don't stack up on one logical cpu at the most of time which is
> observed by kernelshark. Do you have any idea why there is 4.5 times
> RESCHED IPIs which is mentioned in another reply for this thread?

See resched_curr().

-Mike