Sunday, June 7, 01:34
Home security Linux: Energy saving after ASPM improvement

Linux: Energy saving after ASPM improvement

Linux: Better energy saving after ASPM improvement

Recently, it became known that the removal of some lines from the Linux code Kernel, can lead to better system performance as well as less power consumption. Active State Power Management, also known as (ASPM), is part of the Peripheral Component Interconnect Express (PCIe) doors, which limits energy consumption when system is in idle state. Except of the Windows, the Linux kernel also supports ASPM on PCI ports.

The discovery that ASPM wastes energy happened by accident when Kai-Heng Feng (its employee Canonical), creating a bug report for the deactivated ASPM L1 in the TI PCIe-to-PCI Bridge. While describing the bug in detail, Kai-Heng Feng also noted that disabling ASPM affects the Intel SoC to enter Deeper Package C-State, which leads the system to high power consumption.

Kai-Heng Feng also explains how Windows they always have ASPM L1 active for the device, as well as for the upstream bridge. Thus, the intel SoC reaches the PC8-PC10, thus saving a lot of energy. At the same time, however, Linux disables ASPM when downstream contains a bridge function, for example PCIe-to-PCI.

This has been the case since 2008, when Shaohua Li created a Patch, which added ASPM support to Linux. Kernel 2.6.26. For some unknown reason, however, he banned ASPM for the PCI bridge function.

Knowing the above problem, Kai-Heng Feng decided to remove the part of the code that prohibits the use of ASPM in ideal cases. The patch with the improvement of ASPM, it will be available on Linux 5.8, which may be released next month.

The new improved ASPM support is very important for users who use laptops with Linux-based operating systems, as they will notice a big difference in the performance of their device's battery. For this reason, Kai-Heng Feng recommends them users, upgrade the kernel at the earliest opportunity.

LEAVE ANSWER

Please enter your comment!
Please enter your name here

SecNews
SecNewshttps://www.secnews.gr
In a world without fences and walls, who needs Gates and Windows

LIVE NEWS

Lyrics from AI technology or from people: Can you tell them apart?

While a large percentage of people can recognize when they are talking on a chatbot instead of a human operator, it seems that this is not the case ...

Technology and children: When are they ready for safe use?

Today's children and teens use various messaging apps and social media to ...

Call of Duty Black Ops Cold War: The first video leaked

The first video from the gameplay of Call of Duty 2020, which is rumored to be called Black Ops Cold War, has just been revealed.

Elon Musk: "It's time to break up Amazon"

Elon Musk intensifies the fight with Jeff Bezos with a new tweet: The General Manager of Tesla Inc., Elon Musk, said ...

Attack on America's 5G towers on Saturday!

Protests over 5G connectivity are scheduled to take place over the weekend, according to NATE. According to a recommendation that was identified ...

Windows 10 Updates: You can block them with Wu10Man!

Microsoft launched the Windows 10 update in May 2020, so it will be available on your computer soon ....

ECh0raix Ransomware: New campaign targets QNAP NAS devices!

Malicious agents behind eCh0raix Ransomware have launched a new campaign targeting QNAP NAS devices. ECh0raix was observed ...

Mac: How to change the storage location of your screenshots?

When you take screenshots on your Mac device using the Shift-Command-3 shortcut to take a screenshot of the entire computer screen or Shift-Command-4 ...

Malware USBCulprit: Aims devices that are not connected to a network

Did you think that devices without any connection to a local or other network (air-gapped devices) are safe? Think again! The USBCulprit malware that ...

Free Microsoft Teams: You can finally create meetings!

Users of the free version of Microsoft Teams can now create video meetings. The change, identified by ...