DrKK
FreeNAS Generalissimo
- Joined
- Oct 15, 2013
- Messages
- 3,630
So, last night in the IRC channel and in the mumble, we talked about a number of interesting (like, literally, interesting) bugs that were cropping up, and one has me fascinated: Bug number 4123.
Basically, this guy brings up two points. The first one is that something totally screwy happens when he tries to use this particular sysctl from the GUI. OK. I am sure they will fix that.
But the second one he brings up is: Why are the C-State-lowest settings defaulting to C1 in the first place (excellent question that I'd like to know the answer to), and why the hell are all the usual C-states not even appearing in the sysctl states available (meh--good question academically, but practically, it's not important).
The answer appears to be important, because with powerd and everything else running, when I go ahead and manually set the cx_lowest to 2:
...sure enough, it shaves a couple watts off the power consumption (no doubt about it!!), and I have noted not a single performance impact, so why would I *NOT* want this to be the default? And I'd like the bug to be fixed (about the CLI sysctl being whacky) so I can make it automatic on my box without having to do a hack.
Basically, this guy brings up two points. The first one is that something totally screwy happens when he tries to use this particular sysctl from the GUI. OK. I am sure they will fix that.
But the second one he brings up is: Why are the C-State-lowest settings defaulting to C1 in the first place (excellent question that I'd like to know the answer to), and why the hell are all the usual C-states not even appearing in the sysctl states available (meh--good question academically, but practically, it's not important).
The answer appears to be important, because with powerd and everything else running, when I go ahead and manually set the cx_lowest to 2:
Code:
[root@freenas] ~# sysctl hw.acpi.cpu.cx_lowest=C2
...sure enough, it shaves a couple watts off the power consumption (no doubt about it!!), and I have noted not a single performance impact, so why would I *NOT* want this to be the default? And I'd like the bug to be fixed (about the CLI sysctl being whacky) so I can make it automatic on my box without having to do a hack.