CPU Frequency Scaling
How useful and important is cpu frequency scaling? I read somewhere that some larger distros have this already set up. How do I find out if it is activated in my installation and how much difference it is making? What will be the best/easiest application to monitor and adjust it. Thanks for your help.
|
files in /sys/devices/system/cpu/cpu0/cpufreq/ provide information and a means of controlling the frequency scaling subsystem. Seed values are given in Khz. You need to be root to access the /sys filesystem.
Your max speed is at /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq. Code:
# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq Code:
# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq |
The response to these commands on my system is:
Code:
No such file or directory |
what linux distribution are you using??? i hope this will work in rhel5+
|
With older CPUs, frequency scaling will not work. Almost all distros will setup frequency scaling if its supported (so far as I know they all will, but there might be a few that dont).
*edit- of course arch (and other distros with similar driving ideas) wouldnt have it setup 'out of the box'. What CPU are you running? |
My CPU is fairly recent:
Quote:
|
I'd use it if your CPU supports it.
Frequency scalling helps with power use, tempratures and may give your CPU a longer lifespan. |
Quote:
|
Try the following as root or sudo (I think that CPU will have four entries):
Code:
modprobe acpi-cpufreq Code:
cat /sys/devices/system/cpu/cpu?/cpufreq/scaling_governor |
All times are GMT -5. The time now is 08:41 PM. |