I've got a fresh install of Debian Wheezy Beta 4 on this Dell
Precision M4600 laptop. This is the net install version. I'm working
through a set of problems that others might want to know about.

On the system, as originally installed, the cpu frequency scaling
monitors show the CPU frequency is stuck at 800MHZ. I'm using the
XFCE4 CPU Frequency Scaling monitor applet, which has always worked
very well. "ondemand" is the performance profile.

That should be sufficient. But the cpus are locked.

I've seen this before on this in Debian Squeeze. There are a lot of
moving parts involved in fixing this. I'm not sure what is the bare
minimum, and while trying to fix it, I experimented with various
settings. If I were starting this from scratch, or telling you what to
do, I would try the fixes in this order.

1. Simplest.  Suppose your setup is good,  but the settings are bad.

My install had impossibly high scaling thresholds.

As root, check it:

#cat /sys/devices/system/cpu/cpufreq/up_threshold
95

Holy cow. No wonder the frequency is locked at 800mhz. Manually
re-setting that to something more reasonable:

# echo -n 60 > /sys/devices/system/cpu/cpufreq/up_threshold

I expect that may work. I did not try it first, before that I tried this.

Now, how to make that permanent?

$ apt-get install sysfsutils

In /etc/sysfs.conf I put:
mode devices/system/cpu/cpufreq/ondemand = 644
##devices/system/cpu/cpufreq/ondemand/freq_step = 10
devices/system/cpu/cpufreq/ondemand/up_threshold = 45
devices/system/cpu/cpufreq/ondemand/ignore_nice_load = 1
devices/system/cpu/cpufreq/ondemand/sampling_down_factor = 10

I DOUBT that will work if you don't already have cpufrequtils
installed. In case you don't, follow step 2.

2. Install & configure cpufrequtils. See
http://wiki.debian.org/HowTo/CpuFrequencyScaling

cpufrequtils should have been installed by default, but on my pc it
was not with Wheezy Beta 4.

I copied the configuration file I had set up from the other system

# cat /etc/default/cpufrequtils
ENABLE="true"
GOVERNOR="ondemand"
MAX_SPEED="2710000"
MIN_SPEED="800000"


Those 2 steps solve the problem for me. However, while testing, I did
explore idea that the kernel itself is the trouble.

3. Get a newer kernel from Debian Experimental. This was necessary in
Debian Squeeze and Wheezy before. I do not think it is necessary now,
but the kernel-3.2 supplied with Wheezy Beta 4 gives off a lot of
warnings on my system.  So I tried 3.7 from Debian experimental.  I'll
keep comparing.  The 3.2 kernel lacked some stuff that was required to
us the enterprise wireless, but 3.5 did have that, and I'm hoping
either or both work when I try them later.

pj


-- 
Paul E. Johnson
Professor, Political Science      Assoc. Director
1541 Lilac Lane, Room 504      Center for Research Methods
University of Kansas                 University of Kansas
http://pj.freefaculty.org               http://quant.ku.edu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAErODj_rR015KT_Q8FRcvZ07=7w87+fa51n3o+10+oeob_6...@mail.gmail.com

Reply via email to