Dynamic frequency scaling means that your CPU's clock speed will be reduced during periods of relative inactivity. If you're just reading something on the screen or typing up an e-mail you don't need a lot of horsepower to complete those tasks, so the CPU's speed will be reduced. This conserves power, reduces heat and greatly extends your battery life for laptop users. Desktop users will find that it keeps their computer running cooler and quieter. When you need the speed for compiling a program, playing a game or starting a new application, the CPU's frequency will be increased to match the workload.
I learned that the proc "performance" intece has been deprecated, so you'll have to use the intece in /sys/devices/system/cpu/cpu0/cpufreq to control the frequency governor. When I checked the scaling_governor file, it's "userspace" by default, but I compiled the "conservative" governor too (which gracefully increases/decreases the cpu frequency) so to use this governor:
echoconservative>scaling_governor
Check the cpu frequency now:
cat/proc/cpuinfo
Much better, huh? Once the action increases, the cpu frequency will incrase to match. If you're in X, you can fire up your favorite CPU monitoring applet and watch the frequency rise and fall as you work.
Now, this change isn't permanent but Slackware has given us a handy boot script to add our user-defined boot time options. Open up /etc/rc.d/rc.local and add a line at the end that says:
echoconservative>/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-29548-8.html
#fx_4walls#没有任何一个女团如你们这般独特
五十多万字
为了祖国的统一大业
错了应该是世界第一