eFMer - BoincTasks and TThrottle forum

BoincTasks Js => Wish List => Topic started by: hucker on January 03, 2026, 03:46:25 PM

Title: Percentage CPU usage incorrect on multi-thread tasks
Post by: hucker on January 03, 2026, 03:46:25 PM
(https://i.imgur.com/nkuVD68.png)

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%.
Title: Re: Percentage CPU usage incorrect on multi-thread tasks
Post by: fred on January 04, 2026, 10:50:47 AM
OK, do you have a project for me to test?
https://github.com/efmer/boinctasks-js/issues/143
Title: Re: Percentage CPU usage incorrect on multi-thread tasks
Post by: hucker on January 04, 2026, 06:27:42 PM
Milkyway @ home is mainly multithreaded.