Slashdot Mirror


Nailing the Cause of Recent Linux Power Issues

An anonymous reader writes "For the Linux kernel power regressions that were found a few months ago, and hit in Ubuntu 11.04, Phoronix has found the regression that's still present in the Linux 3.0 kernel. The power regression is caused by a change in ASPM, the Active-State Power Management, for PCI Express support."

9 of 156 comments (clear)

  1. Summary: not a Linux problem, but a BIOS problem by ArsenneLupin · · Score: 5, Informative
    To sum up the article in 3 sentences:

    It's due to some buggy BIOSes not properly advertising power-saving features of PCIE cards. Older kernels didn't honor those BIOS hints, and disabled power to unused PCIE cards anyways (causing hangs in rare cases), whereas new kernels do the right thing (causing power wastage in lots of cases). The workaround is to specify pcie_aspm=force on the boot (Grub) command line, to tell the kernel to forge ahead, and just use power management on these cards regardless of the BIOS advice.

  2. Re:No more Moronix, please! by qinjuehang · · Score: 5, Informative

    As bad as some of the Phoronix articles can be, they have contributed a lot to the community. After all, they played a pivotal role in setting up openbenchmarking.org, and are pretty much the only source of Linux hardware reviews.

  3. tl;dr by OliWarner · · Score: 3, Informative

    Add pcie_aspm=force to your boot options.

    Test it by editing grub (which is a temporary edit that will be lost next boot) first and test out suspend, hibernate, etc.

    If that works, edit your grub configuration files. For ubuntu users this means editing /etc/default/grub and editing the GRUB_CMDLINE_LINUX_DEFAULT variable. Then call sudo update-grub.

  4. Re:Summary: not a Linux problem, but a BIOS proble by daid303 · · Score: 3, Informative

    The article points out that there is also a power regression in the scheduler. Which is the next thing that the writer will look at.

  5. Never upgrade your Linux... by Compaqt · · Score: 1, Informative

    Never upgrade your Linux distribution in place.

    Have 2 (or more) OS partitions of about 20GB each.

    Install your OS's to partition 1.

    Install your upgraded version to partition 2.

    Easily switch back and forth.

    Oh, and keep a separate /home partition.

    --
    I'm not a lawyer, but I play one on the Internet. Blog
  6. Re:"serious bug" my ass by David+Gerard · · Score: 5, Informative

    You are entirely correct. See Matthew Garrett's blog for the icky details of EFI on Linux. He makes this hideous piece of shit work for a living.

    --
    http://rocknerd.co.uk
  7. Re:Summary: not a Linux problem, but a BIOS proble by SuricouRaven · · Score: 3, Informative

    Linux does thing the way they should be done according to standard. Windows does things they way they actually are done in the real world. The reason is simple: BIOS vendors noticed Windows doesn't follow the standard well, and made the reasonable assumption that the vast majority of users would run windows. Thus they deviated from the standard in order to better support it.

  8. Re:ACPI has ALWAYS favoured Windows... by drinkypoo · · Score: 4, Informative

    ACPI implementors (what is an ACPI vendor? can I buy it by the pound, or is it sold by the unit?) favored Windows, because Microsoft built a tool for creating ACPI tables that intentionally craps on all other operating systems, INTENTIONALLY building an invalid table for use with non-Windows operating systems. Linux now claims to be Windows in order to get a table that works. Bill Gates proposed this "feature" personally.

    The dominant platform is the one supported by fraud and deceit, which helps to ensure its continuing dominance, and the proper use of apostrophes. No wait, that was me.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  9. Re:Summary: not a Linux problem, but a BIOS proble by Just+Some+Guy · · Score: 4, Informative

    Did you read the linked PDF at all? Here's what the rest of it said:

    From: Bill Gates
    Sent: Sunday, January 24, 1999 8:41 AM
    To: Jeff Westorinen; Ben Fathi
    Cc: Carl Stork (Exchange); Nathan Myhrvold; Eric Rudder
    Subject: ACPI extensions

    One thing I find myself wondering about is whether we shouldn’t try and make the “ACPI” extensions somehow Windows specific.

    It seems unfortunate if we do this work and get our partners to do the work and the results is that Linux works great without having to do the work.

    Maybe there is no way to avoid this problem but it does bother me.

    Maybe we could define the APIs so that they work well with NT and not the others even if they are open.

    Or maybe we could patent something related to this.

    In summary, Bill Gates explicitly wanted to break ACPI on Linux.

    --
    Dewey, what part of this looks like authorities should be involved?