forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
@antonblanchard pointed out that we were observing way too many IPIs when we run context_switch2 benchmark (https://ozlabs.org/~anton/junkcode/context_switch2.c) with the threads pinned to CPUs 0 1 compared to when they were pinned to CPUs 0 8.
#./context_switch2 0 1 --timeout=5
317818
318326
317944
318452
316468
CPU 0
16 [XIVE-IPI 0 Edge IPI] = 197212 times
CPU 1
16 [XIVE-IPI 0 Edge IPI] = 171036 times
Compared to
#../context_switch2 0 8 --timeout=5
289384
289924
289358
289602
289410
CPU 0
16 [XIVE-IPI 0 Edge IPI] = 105 times
CPU 8
16 [XIVE-IPI 0 Edge IPI] = 286 times
Figure out the reason for the humongous number of IPIs in the 0 1 case.
Reactions are currently unavailable