Hi there,
It would be great if deadline could monitor the “physical cpu” utilization of the farm, instead of the cpus observable by the deadline slaves. We are experimenting with virtualization with over subscription of virtual cpus over physical, and would be great to see “actual” numbers vs virtual.
cheers
l
Is there an API for that?
I took a look at our CPU usage calculation code and it does seem to be doing some interesting calculations itself based on GetSystemTimes() instead of asking the kernel how busy it is. What kind of stats are you seeing verses what you’d expect?
Update: Did some digging, and I was kind of surprised there isn’t a clear-cut percentage you can pull out from the Windows API. We’re definitely doing the accepted thing here, just seemed weird from someone who hasn’t had to do it before. Here’s an example for C++ if you’re curious:
stackoverflow.com/q/23143693/187769