← Back to team overview

ubuntu-eee-coders team mailing list archive

Re: [Question #46001]: p4_clockmod making 900 unusable on battery power

 

Question #46001 on Ubuntu Eee changed:
https://answers.launchpad.net/ubuntu-eee/+question/46001

    Status: Open => Answered

Adam McDaniel proposed the following answer:
Right, p4_clockmod actually downclocks the CPU to 112 Mhz, which while
it offers Excellent battery savings, it makes the system very unusable.

While you can force the governor to "performance", something (every 30
seconds) is probably resetting it back to "ondemand". There's two ways
to solve your problem.

1. Force a minimum "ondemand" speed.  Add the following to /etc/rc.local
(or somewhere so it runs on bootup). This script works regardless of the
number of CPUs (in the case of Atom hardware, etc.)

for i in `find /sys/devices/system/cpu -name scaling_min_freq`; do
    echo 400000 > $i
done

2. Kill the powernowd daemon. It may be what's kicking in and forcing
your governor to ondemand on battery.

-- 
You received this question notification because you are a member of
Ubuntu Eee Coders, which is an answer contact for Ubuntu Eee.