TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Deleting a Few LOC Can Yield “Significant” Power Savings on Some Linux Systems

72 点作者 Memosyne将近 5 年前

6 条评论

segfaultbuserr将近 5 年前
It&#x27;s increasingly difficult to do power saving in modern laptops with highly integrated SoC - a single component can prevent the entire system from entering a deeper power saving state. In the old days, CPU and graphics were basically everything, but there can be an endless number of traps today, a SATA driver, an audio driver, or a PCI bridge in this case, not to mention that many subsystems are poorly documented. And even if the potential of power saving in a device driver is identified, it&#x27;s often plagued with mysterious bugs (the Window driver may include nonstandard workarounds).<p>Only Intel knows everything, I guess even Microsoft doesn&#x27;t (try running Windows without all the Intel chipset drivers installed...). If you take a modern laptop and put Linux on it, it&#x27;s possible that you&#x27;ll only able to get 50% of the battery life. And there&#x27;s nothing you can do about it.
评论 #23271324 未加载
评论 #23270596 未加载
评论 #23270637 未加载
评论 #23270610 未加载
clarry将近 5 年前
To save you a click: There was code that disabled ASPM[1] when you have a PCI bridge connected downstream of PCIe. That code is gone now.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Active_State_Power_Management" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Active_State_Power_Management</a>
评论 #23270727 未加载
baybal2将近 5 年前
I see this as a flaw of Linux development model, and how code from hardware vendors gets a free go.<p>When Linux was still small, each and every major hardware platform was worked on until mirror polish, and it worked &quot;well.&quot;<p>Now, the only criteria, when Linux mainly relies on hardware maker programmers to do their job, is that the code compiles and works.<p>Without much pressure from users, there is nobody to push against &quot;barely works&quot; driver code.
评论 #23272065 未加载
manicdee将近 5 年前
“Old patch disabling Active State Power Management deleted, significant energy savings expected on some ancient hardware.”
voltagex_将近 5 年前
So what&#x27;s the cumulative amount of power wasted?
评论 #23270532 未加载
jack95将近 5 年前
Clickbait title
评论 #23270441 未加载
评论 #23270302 未加载