powerd -r and -i options only calculate based on ONE core, but I have 8 cores

So when I set powerd's -r and -i options to set CPU load percent levels, it works, but it is not correct. It treats all of my 8 CPU cores as 100% whereas their cpu load percentage is reported as 800%. This is patently wrong.

So with the option -r set at 85 I get CPU frequency go to Turbo when my CPU load is only at 85% out of 800%.

EDIT: and it won't let me set -r and -i values to over 100 because it says you cannot have more than 100%.
 
So I just changed powerd.c code to allow for higher percentages, and I think it now works more like it is supposed to, it scales cpu frequency higher based on my total 8-core cpu usage. The cpu fan behaves now more like it did on Linux. Since there's no per-core scheduler and per-core frequency scaling, there's a tiny bit more sensitivity required, but generally speaking this is the way it's supposed to work.

FreeBSD server rooms running a little hot for some reason?
 
I know there's a reason it is this way. But I am getting good performance on my 8 core cpu using -r 150 -i 100% - which is above the limit allowed by default powerd.c source code.

And now just moving my mouse doesn't trigger powerd make my cpu go into overdrive.

But can someone more experienced maybe chime in and just briefly say this is because of no per-cpu scheduler and no per-cpu frequency scaling in FreeBSD?
 
I dunno, it seems to work great using -r 400 -i 300% too....why is everyone so quiet on this topic? What values are people using for powerd options?
 
Back
Top