Use Linux advanced power management for enterprise IT Energy Saving

Source: Internet
Author: User
Tags apm dmesg
Article Title: Linux advanced power management for energy saving in Enterprises. 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.

Is your IT system's electricity fees growing? Are you struggling to reduce power consumption and save energy? We will work out a series of practical IT energy-saving tricks from multiple aspects, such as chips, components, systems, software, and even data centers. I believe there will always be a perfect trick for you!

What are the energy-saving tips for this period ?? Use Linux advanced power management

Today, many servers use the Linux operating system. Compared with the familiar power management on Windows, Linux is a little complicated, but once you have mastered this technique, you will find its powerful and flexible power-saving functions. Next we will introduce the implementation of power management in Linux.

There are two Power Management methods in x86 machines: APM (Advanced Power Management, Advanced Power Management) and ACPI (Advanced Configuration and Power Interface, Advanced Configuration and Power Interface ). APM is the old standard, while ACPI provides more flexible interfaces for managing computers and devices. Linux supports these two protocols, but sometimes manual configuration is required. In addition, the two standards cannot run simultaneously. By default, Linux runs ACPI.

APM allows you to put the machine in the Suspend or Standby status and check the battery capacity. ACPI also allows you to independently power off peripherals (such as display, video card, and PCI Bus), giving you more control over power saving. To make the power management function take effect, you need to enable it in the BIOS and Linux core, and load the necessary application software in Linux.

  Check whether the system supports Power Management

In the newer core, all include the Support for ACPI and APM. Generally, ACPI is activated. Use dmesg to check whether:

Dmesg | egrep-I '(apm | acpi )'

Kernel command line: vga = 274 quiet console = ttyS3, 9600 acpi = no-idleoot =/dev/hda3

ACPI: Core Subsystem version [1, 20010208]

ACPI: Subsystem enabled

ACPI: System firmware supports: C2

ACPI: plvl2lat = 99 plvl3lat = 1001.

ACPI: C2 enter= 1417 C2 exit = 354

ACPI: C3 enter =-1 C3 exit =-1

ACPI: Not using ACPI idle

ACPI: System firmware supports: S0 S1 S4 S5

In addition, the/proc/sys/ACPI directory will be added to systems that support acpi. If it exists, it indicates that the core has loaded the ACPI driver.

[1] [2] Next page

Related Article

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.