(RPM) CPU frequency regulation and hardware monitoring software

Source: Internet
Author: User

See some friends want to adjust the CPU frequency and monitor it, took a little time to check the new stand, the result found such a good thing.

Update//////////////////////////////////
Actually, there's one simple way.Code:sudo dpkg-reconfigure gnome-applets then select OK and yes, add the CPU frequency monitor to the panel, and install the cpufreq-selector automatically. You do not have to install cpufrequtils.
////////////////////////////////////////////////////////////////////////

We need to install cpufrequtils. This software is to view the current frequency of the CPU and modify the frequency, select the CPU, select the CPU operation mode. Note that only certain adjustable-frequency CPUs are supported, such as Intel's Notebook CPUs. May be able to overclocking, did not dare to experiment, that a try well.
Code:sudo apt-get install cpufrequtils
How to useCode:Cpufreq-info, Cpufreq-selector, Cpufreq-set.
Use it to see Man, or add-H after the command.
Like whatCode:Mans Cpufreq-info
OrCode:Cpufreq-info-h

1. View CPU type, current frequency, support frequency, operating mode, and so on.Code:Cpufreq-info
This is the case with my CPU in PowerSave modeCode:zhuqin@ubuntu:~$ Cpufreq-info
Cpufrequtils 002:cpufreq-info (C) Dominik Brodowski 2004-2006
The errors and bugs to linux@brodo.de.
Analyzing CPU 0:
Driver:centrino
CPUs which need to switch frequency at the same time:0
Hardware limits:798 MHz-1.73 GHz
Available Frequency steps:1.73 GHz, 1.73 GHz, 1.73 GHz, 1.73 GHz, 1.73 GHz, 1.73 GHz, 1.73 GHz, 1.33 GHz, 1.06 GHz, 798 M Hz
Available Cpufreq Governors:powersave, userspace, OnDemand, conservative, performance
The current policy:frequency should is within 798 MHz and 1.73 GHz.
The governor "PowerSave" may decide which speed to use
Within this range.
Current CPU frequency is 798 MHz.

2. Select the CPU you want to adjustCode:sudo cpufreq-selector-c CPU number orCode:The sudo cpufreq-set-c CPU number may be selected for dual or multi-core CPUs. Mine is not a double core, can not experiment, but also please have duo Core Friend experiment and Post report.

3. Adjust CPU FrequencyCode:sudo cpufreq-selector-f the frequency you need orCode:sudo cpufreq-set-f the frequency you need to note that the frequency here must be in khz, and is the frequency that can be reached (that is, using cpufreq-info to see each frequency), CPU frequency = multiplier x FSB. The following are usually the same as the frequencies involved.

4. Adjust CPU frequency upper and lower limitsCode:sudo cpufreq-set-d frequency lower
Code:sudo cpufreq-set-u frequency limit
As a result, you may be able to reduce frequency or overclocking the CPU. Some people are going to be tempted, hehe.

5. Adjust CPU operating modeCode:sudo cpufreq-selecotr-g mode orCode:Suod cpufreq-set-g Mode
Here, the pattern is the supported pattern that is seen after performing the Cpufreq-info. For example, my support for the following kinds: powersave, userspace, OnDemand, conservative, performance.

PowerSave, is the so-called "save electricity" mode that will keep the lowest frequency in any case;
Userspace is a custom frequency pattern, which is automatically changed when you set a specific frequency;
OnDemand, default mode. A CPU to calculate the task, it will immediately reach the maximum frequency of operation, such as the completion of the immediately return to the lowest frequency;
Conservative, translation into a conservative (mean) mode, will automatically adjust the lower limit of frequency, and OnDemand is the difference is that it will be on demand frequency, rather than blindly pursue the highest frequency;
Performance, as the name implies, only focus on efficiency, in any case to maintain the maximum frequency of operation.

6. Add CPU Monitor
The system that monitors CPU frequency has, right click panel, select "Add to Panel", inside find "CPU frequency range monitor".
In addition, if the command line is too troublesome, you can do soCode:sudo chmod +s/usr/bin/cpufreq-selector Then, the CPU frequency range Monitor's preferences will have a "frequency selector" to display the menu to select "Frequency and governor." The left mouse button click CPU frequency range Monitor, will find "frequency" and "Governor" two menu, you can casually tune. Special thanks to Vstar here.

Monitoring the temperature of the need to install themselves,Code:sudo apt-get install Sensors-applet is then added to the panel, named "Hardware Sensors Monitor".

Given the risk of overclocking or changing frequency, we must be careful, if the fire is not fun. Friends with a laptop can consider buying a cooler, which is very useful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.