Percentage CPU usage incorrect on multi-thread tasks

Started by hucker, January 03, 2026, 03:46:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hucker



The numbers in brackets indicate less than 100% of 4 threads in use.  The correct answer should be 82%, by calculating (CPU time / wall time / CPU threads) * 100

I think what you might have done is forget to divide by the CPU threads, which gives 328%, which was then capped at 100%.

fred

OK, do you have a project for me to test?
https://github.com/efmer/boinctasks-js/issues/143
What I'm up to the other half of the time "BorregoWildflowers.org"

hucker