Ubuntu optimizes the CPU operating frequency and opens the terminal: sudoapt-getinstallcpufrequtils, and then sudochmodu + s/usr/bin/cpufreq-set adds two commands in the System Startup Program startupapplication: /usr/bin/cpufreq-set-c0-g
Ubuntu optimizes the CPU operating frequency and opens the terminal:
Sudo apt-get install cpufrequtils
Then sudo chmod u + s/usr/bin/cpufreq-set
Add two commands to the System startup Program startup application:
/Usr/bin/cpufreq-set-c 0-g conservative
/Usr/bin/cpufreq-set-c 1-g conservative
You can run the following command after startup to check whether the command takes effect:
Cat/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Run cpufreq-info to obtain the following information (the computer is dual-core)
Nalyzing CPU 0:
Driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0
Maximum transition latency: 10.0 us.
Hardware limits: 1000 MHz-2.00 GHz
Available frequency steps: 2.00 GHz, 1.67 GHz, 1.33 GHz, 1000 MHz
Available cpufreq governors:Conservative, Ondemand, userspace, powersave, performance
Current policy: frequency shocould be within 1000 MHz and 2.00 GHz.
The governor "conservative" may decide which speed to use
Within this range.
Current CPU frequency is 1000 MHz.
Cpufreq stats: 2.00 GHz: 8.28%, 1.67 GHz: 1.46%, 1.33 GHz: 2.61%, 1000 MHz: 87.64% (35285)
Analyzing CPU 1:
Driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 1
Maximum transition latency: 10.0 us.
Hardware limits: 1000 MHz-2.00 GHz
Available frequency steps: 2.00 GHz, 1.67 GHz, 1.33 GHz, 1000 MHz
Available cpufreq governors:Conservative, Ondemand, userspace, powersave, performance
Current policy: frequency shocould be within 1000 MHz and 2.00 GHz.
The governor "conservative" may decide which speed to use
Within this range.
Current CPU frequency is 1000 MHz.
Cpufreq stats: 2.00 GHz: 8.88%, 1.67 GHz: 0.99%, 1.33 GHz: 1.57%, 1000 MHz: 88.56% (35873)
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2