Ubuntucpu frequency adjustment and Hardware Monitoring Software

Source: Internet
Author: User
Article Title: ubuntucpu frequency adjustment and Hardware monitoring software. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Some friends hope to adjust the cpu frequency and monitor it. It takes some time to find a new one.

/// // Update ///// /////////////////////////////

In fact, there is a simplest method code: sudo dpkg-reconfigure gnome-applets, then select OK And yes, and add the cpu frequency monitor to the Panel, everything is there, cpufreq-selector is automatically installed. You do not need to install cpufrequtils.

//////////////////////////////////////// ////////////////////////////////

We need to install cpufrequtils. This software displays the current cpu frequency, modifies the frequency, selects the cpu, and selects the cpu running mode. Note that only some cpu with adjustable frequencies are supported, such as intel's notebook cpu. It may be too frequent to try it.

Code: sudo apt-get install cpufrequtils

Usage code: cpufreq-info, cpufreq-selector, and cpufreq-set.

For specific usage, see man or add-h after the command.

Example code: man cpufreq-info

Or code: cpufreq-info-h

1. View the CPU type, current frequency, supported frequency, and running mode. Code: cpufreq-info

This is the code of my cpu in powersave mode: zhuqin @ ubuntu :~ $ Cpufreq-info

Cpufrequtils 002: cpufreq-info (C) Dominik brodoski 2004-2006

Report errors and bugs to linux@brodo.de "> linux@brodo.de, please.

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 MHz

Available cpufreq governors: powersave, userspace, ondemand, conservative, performance

Current policy: frequency shocould be 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 code to be adjusted: sudo cpufreq-selector-c cpu number or code: sudo cpufreq-set-c cpu number may be used to select a dual-core or multi-core cpu. I am not a dual-core engineer and cannot perform an experiment. I also need to experiment with duo core and report the situation to my post.

3. Adjust the cpu frequency code: sudo cpufreq-selector-f the frequency or code you need: sudo cpufreq-set-f pay attention to the frequency you need, the frequency here must be in the unit of KHz and can be reached (that is, the various frequencies can be viewed using cpufreq-info). The cpu frequency = frequency x frequency. This applies to all the following frequencies.

4. Code for adjusting the upper and lower cpu frequency: sudo cpufreq-set-d lower frequency limit

Code: sudo cpufreq-set-u frequency limit

Therefore, it is possible to reduce or overclock the cpu. Some people will be eager to try it.

5. Code for adjusting the cpu running mode: sudo cpufreq-selecotr-g mode or code: suod cpufreq-set-g Mode

Here, the mode is the supported mode after you run cpufreq-info. For example, I support the following types: powersave, userspace, ondemand, conservative, and performance.

Powersave is a so-called "power-saving" mode that maintains the lowest frequency in any case;

Userspace is the mode of custom frequency, which is automatically changed when you set a specific frequency;

Ondemand, default mode. A task with a cpu computing workload immediately runs at the maximum frequency, and immediately returns to the minimum frequency after the execution is completed;

Conservative is translated into a conservative (moderate) mode, which will automatically adjust the upper and lower frequency limits. The difference between it and ondemand is that it will allocate the frequency as needed, rather than simply pursuing the highest frequency;

Performance, as its name implies, focuses only on efficiency and keeps running at the maximum frequency.

6. Add cpu Monitor

The system that monitors the cpu frequency is available. Right-click the Panel and choose "add to panel". The "cpu frequency range monitor" is displayed ".

In addition, if the command line is too troublesome, you can do the code: sudo chmod + s/usr/bin/cpufreq-selector. Then, in the preference of the cpu frequency range monitor, a "Frequency selector" is added, and the "frequency and Governor" is selected in the display menu ". Click the cpu frequency range monitor with the left mouse button, and you will find the "Frequency" and "Governor" menus. Thank you for choosing Vstar.

To monitor the temperature, you need to install it by yourself. The code is sudo apt-get install sensors-applet, which is then added to the panel named "Hardware sensors monitor ".

In view of the risks of overclock or frequency change, everyone should be careful. It will be no longer fun if it is burned. A friend of the original can consider buying a cooler, which is quite 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.