sddf icon indicating copy to clipboard operation
sddf copied to clipboard

pmu: non-sense kernel utilisation metric under smp

Open KurtWu10 opened this issue 1 month ago • 0 comments

Under the SMP configuration, the reported kernel utilisation metric in the networking benchmark can be wrong, resulting in unsigned integer underflows (please check the SMP 4-core udp benchmark under the 11/25 multicore (maaxboard) tab).

I suspect this is due to a data race issue with the global ksEnter variable in the kernel. This variable may be updated out of the big kernel lock, e.g. here.

A potential solution is available here, though I am not sure whether this has solved all data race issues.

EDIT: The scope of the issue is larger and also includes metrics in Total utilisation details.

KurtWu10 avatar Nov 24 '25 05:11 KurtWu10