Friday, January 22, 06:36
Home security Linux: Energy saving after ASPM improvement

Linux: 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.  


Please enter your comment!
Please enter your name here

In a world without fences and walls, who needs Gates and Windows


Mac: How to see which model you have and when it was released

When you need support for your Mac - or want to install some kind of upgrade - you usually need to know the exact ...

Bill Gates: Will he work with Biden on COVID-19 / climate change?

Microsoft co-founder Bill Gates said on Twitter that he is looking forward to working with the new US President, Joe Biden, and ...

What are the rumors circulating about the iPhone 13?

Apple iPhone 13 will have a redesigned Face ID system that will have a smaller notch at the top of the screen, ...

Biden: How was the political transition in the US captured on social media?

As Joe Biden was sworn in as President of the United States, this important political transition was captured on popular social media. On January 20, ...

CentOS ceases to be supported but RHEL is offered for free

Last month, Red Hat caused a great deal of concern in the Linux world when it announced the discontinuation of CentOS Linux.

Microsoft Office 365 employee passwords leaked online!

A new large-scale phishing campaign targeting global organizations has been found to bypass Microsoft Office 365 Advanced Threat Protection (ATP) and ...

COSMOTE and Microsoft provide new cloud solutions for businesses

COSMOTE and Microsoft expand their cooperation, offering even more advanced and high quality cloud solutions, in large and small ...

Cyber ​​attacks in Eastern Europe are on the rise!

The cyber-attacks that have taken place in many US government agencies and companies in recent months have caused concern in the developing countries of ...

Tesla reduces the prices of the Model 3 in Europe

Tesla has reduced the prices of the Model 3 in many European markets, which reductions could be partly linked ...

iOS, Android, XBox users in the crosshairs of a new malvertising campaign

Recently a new malvertising campaign was discovered that targets users of mobile and other connected devices and uses effective ...