powernowd doesn't use /etc/default/powernowd anymore
Bug #67341 reported by
Jens Berke
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powernowd (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Clean install of Edgy Eft Release Candidate, powernowd version 0.97-1ubuntu6
I've set the option
OPTIONS="-q -m 2 -l 40 -u 90 -s 100000"
in /etc/default/
However, the behaviour I see is that the speedstepping is still done in AGRESSIVE mode. So I guess the file is ignored.
When I stop powernowd with
sudo /etc/init.
and start it again with
sudo powernowd -q -m 2 -l 40 -u 90 -s 100000
the speedstepping is done fine and complying to the options I provided.
However, starting it with
sudo /etc/init.
results in the erroneous behaviour again.
This was working well on Dapper
Related branches
Changed in powernowd: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
More info:
I controlled the speedstepping by running BOINC (http:// climatepredicti on.net). After login or when I use d/powernowd start
sudo /etc/init.
the CPU goes up to highest speed as soon as the BOINC project starts running, and it stays there. Nice value of the process is 19.
When I stop and start powernowd like I wrote in my initial posting:
sudo powernowd -q -m 2 -l 40 -u 90 -s 100000
then the speedstepping is done in that mode and the CPU stays at low frequency when BOINC is running. The output is:
powernowd: verbosity:Settings:
powernowd: verbosity: 1
powernowd: mode: 2 (PASSIVE)
powernowd: step: 100 MHz (100000 kHz)
powernowd: lowwater: 40 %
powernowd: highwater: 90 %
powernowd: poll interval: 1000 ms
powernowd: Found 1 scalable unit: -- 1 'CPU' per scalable unit
powernowd: cpu0: 800Mhz - 1866Mhz (12 steps)
powernowd: step1 : 1866Mhz
powernowd: step2 : 1766Mhz
powernowd: step3 : 1666Mhz
powernowd: step4 : 1566Mhz
powernowd: step5 : 1466Mhz
powernowd: step6 : 1366Mhz
powernowd: step7 : 1266Mhz
powernowd: step8 : 1166Mhz
powernowd: step9 : 1066Mhz
powernowd: step10 : 966Mhz
powernowd: step11 : 866Mhz
powernowd: step12 : 800Mhz
If I just do
sudo powernowd
passing no parameters to it, the output is just
powernowd: Found 1 scalable unit: -- 1 'CPU' per scalable unit
powernowd: cpu0: 800Mhz - 1866Mhz (5 steps)
which looks like the AGRESSIVE mode and not the one I saved in /etc/default/ powernowd. However, starting powernowd that way results in the CPU staying at lowest frequency as well when BOINC is running.
So, there are two issues actually: powernowd arent used at all, no matter how powernowd is started d/powernowd start => nice value ignored
1.
Options set in /etc/default/
2.
There's a difference in speedstepping behaviour, depending on the way powernowd is started:
sudo /etc/init.
sudo powernowd => nice value respected