Results 1 to 10 of 13
I recently reinstalled Gentoo Linux on my main machine, and I've had no problems thus far, only my CPU frequency scaling seems a bit off. cpufreq-info used to say that ...
- 06-13-2006 #1
CPU Frequency Scaling
I recently reinstalled Gentoo Linux on my main machine, and I've had no problems thus far, only my CPU frequency scaling seems a bit off. cpufreq-info used to say that the available frequencies were from 300MHz to 2.4GHz in increments of 300 MHz, but now it reports that my hardware limits are 2.1 and 2.4GHz. Does anyone have an idea on how I can fix this?
Thanks!Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 06-14-2006 #2
Which exact CPU do you have?
Which cpufreq policy are you using?Code:cat /proc/cpuinfo
And what saysCode:cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
And finally which modules take care of the stepping?Code:cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
Do you have anything regarding cpu power management enabled in the BIOS?Code:cpufreq-info | grep driver
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 06-14-2006 #3
Here's the output from the suggested commands:
The unusual thing is as I said: before, the minimum frequency was 300MHz; now it's 2.1GHz.Code:rob@TheRing ~ $ cat /proc/cpuinfo | grep "model name" model name : Intel(R) Pentium(R) 4 CPU 2.40GHz model name : Intel(R) Pentium(R) 4 CPU 2.40GHz rob@TheRing ~ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand rob@TheRing ~ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 2100000 rob@TheRing ~ $ cpufreq-info | grep driver driver: p4-clockmod driver: p4-clockmod
I'll check out my BIOS to see if there's an option, but I haven't touched it since my reinstall, so I don't think that's it.
Thanks for the help!Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 06-14-2006 #4
And what about the avalaible frequencies?
You can force the minimal value you get out of this in scaling_min_freq.Code:cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
Also make sure the minimal frequency is not being set at boot in /etc/sysfs.conf."To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 06-14-2006 #5Also, I don't have a /etc/sysfs.conf. =(Code:
rob@TheRing ~ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 2100000 2400000
Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 06-14-2006 #6
Well that's certainly interesting.
So you did compile the kernel yourself?
Which one is it?
I know you have CPU frequency enabled in the kernel and Pentium 4 clock modulation, but do you have Processor ACPI support enabled?
It isn't required by "p4-clockmod", but I guess it must be useful to decode the proper CPU frequency tables.
Originally Posted by Make menuconfig "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 06-14-2006 #7
My kernel is self-compiled, and it's version 2.6.16.
And I do have ACPI Processor support built into my kernel.Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 06-14-2006 #8
Did you compile it with the kernel config as you had before?
And what about :
Are you using any kind of daemon for CPU management (powersaved, cpudyn,cpufreq, etc.) ?Code:cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 06-14-2006 #9
Yes, I simply copying my .config file over.
And no, I'm not using a daemon for CPU management.Code:rob@TheRing ~ $ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq 2100000
Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 06-14-2006 #10
So it's the same exact kernel version?
And what about
AndCode:dmesg | grep -i cpu
?Code:cat /var/log/messages | grep -i cpu
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee


Reply With Quote
