Affinity Statistics

Started by DaveB, December 14, 2023, 06:22:54 PM

Previous topic - Next topic

DaveB

Would it be possible for the Project Lasso GUI to accumulate some statistics on what CPU core(s) are actually being used?

Currently we can see the set affinity, sets, %, avg, etc. but this provide no real information on what cores are actually being assigned/used by the scheduler.

In my attempts to unravel the DPC issues, I am having trouble assessing how affinities may be assigned to mitigate. The answer may ultimately lie in changes to the kernel, scheduler, or drivers, but a better understanding of why the cores are being saturated during the DPC spikes could perhaps offer some clues.

The answer may ultimately lie in changes to the kernel/drivers as there may simply be too much going on during these events.

Any ideas?


Jeremy Collake

#1
Although I can't commit to anything, we'll keep this feature request in mind!

There's probably a way to collect and view historical CPU core usage with the Windows Performance Toolkit (WPR and WPA), but I don't have precise guidance for you.
Software Engineer. Bitsum LLC.

DaveB

Quote from: Jeremy Collake on December 15, 2023, 06:10:26 AMAlthough I can't commit to anything, we'll keep this feature request in mind!

There's probably a way to collect and view historical CPU core usage with the Windows Performance Toolkit (WPR and WPA), but I don't have precise guidance for you.

I am using those tools and still learning. However, WPA chokes on large volumes of data and their documentation indicates that is true. I may ultimately suggest a couple of features for WPR and/or WPA to deal with short duration events happening over long time intervals.

I liken it to attempting to find hardware timing events with an oscilloscope. Often you don't know for sure what you are looking for until hints leads you to playing games with triggering to capture. Modern scopes make it easier because they contain more memory, but still there are limits.

Thanks for considering. I understand this may not fit within the priorities of many of your users. Thank you for the time you've already spent putting Process Lasso together. It's already been helpful.