How to fix excessive power consumption of kernel 2.6.38

According to Phoronix and its creator, Michael Larabel, the great cause of the problem of energy consumption in kernel 2.6.38 is the change that was made in the call ASPM (Active-State Power Management) for PCI Express slots.

The Active-State Power Management feature allows you to reduce power consumption by putting PCI Express links that are not in use in a power-saving state, making them less active over time. This is a common feature in laptops and other mobile devices used to extend the life of batteries.

Apparently, the cause of the problem with the latest Linux kernels is the misconfigured BIOSes, since many laptop manufacturers support ASPM but do not configure it correctly in the so-called Fixed ACPI Description Table, which is the one that "auto-configures" the BIOS during boot .

What is the solution? Simple.

1.- I opened a terminal and wrote:

gksu gedit / etc / default / grub

2.- Locate a line similar to the following:

GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash"

3.- Replace it with one like this:

GRUB_CMDLINE_LINUX_DEFAULT = "quiet splash pcie_aspm = force"

4.- Save the changes and enter the following command in the terminal:

sudo update-grub

This enables ASPM no matter what the BIOS says, and tests show that this solution achieves remarkable power savings that significantly increase battery life.

Beware: Michael warns us that in some cases, adding this parameter to the boot line of your kernel is likely to not work. To return to the original state, you only need to undo the changes and restart.

Source: Phoronix & Very Linux


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   moskosov said

    I imagine that this energy consumption is more critical in latop.

  2.   Martín said

    Great, but does it work for kernel 2.6.39?

  3.   Bruno said

    I join the consultation of Martín. I have Debian Sid with kernel 2.6.39

  4.   Adam Arturo Bravo Guzman said

    is it still needed in kernel 2.6.39?

  5.   Personalized said

    I did not notice any substantial difference.
    I have an Inspiron 5110 core i7 and hybrid graphics.

  6.   Guest said

    I ask myself the same question, if it is a conflict problem between the misconfiguration of the BIOS and the ASPM of the kernel, what solution has been taken for the following versions?

  7.   Let's use Linux said

    Look, from what I understand it works on all kernels higher than 2.6.38, which are precisely the ones that have the problem. It would be a matter of testing and comparing. 🙂 Lastly, if it doesn't work, go back the steps and that's it.
    Cheers!! Paul.

  8.   Let's use Linux said

    Battery consumption is an issue that goes quite unnoticed ... especially in netbooks (although not so in notebooks).
    The only way to really see if there were changes is to use the Phoronix suite to run the necessary tests.
    A hug! Paul.

  9.   Let's use Linux said

    None. The error is still there ... 🙁

  10.   Let's use Linux said

    So is…

  11.   Guest said

    Can't this "forced" be loaded automagically?

  12.   Let's use Linux said

    Of course, for that you have to follow the steps indicated in the post.

  13.   Guest said

    I have given "Like" instead of "Reply". 🙂

    But that's not automagic, that's doing it yourself, what I mean is whether the distributions will add the parameter to avoid the problem in successive releases.

  14.   German said

    Excellent.

  15.   Let's use Linux said

    No idea ... I hope so. 🙂