Story Details

  • Reworking 30 lines of Linux code could cut power use by up to 30 percent

    Posted: 2025-04-21 07:34:07

    A tiny code change in the Linux kernel could significantly reduce data center energy consumption. Researchers identified an inefficiency in how the kernel manages network requests, causing servers to wake up unnecessarily and waste power. By adjusting just 30 lines of code related to the network's power-saving mode, they achieved power savings of up to 30% in specific workloads, particularly those involving idle periods interspersed with short bursts of activity. This improvement translates to substantial potential energy savings across the vast landscape of data centers.

    Summary of Comments ( 16 )
    https://news.ycombinator.com/item?id=43749271

    HN commenters are skeptical of the claimed 5-30% power savings from the Linux kernel change. Several point out that the benchmark used (SPECpower) is synthetic and doesn't reflect real-world workloads. Others argue that the power savings are likely much smaller in practice and question if the change is worth the potential performance trade-offs. Some suggest the actual savings are closer to 1%, particularly in I/O-bound workloads. There's also discussion about the complexities of power measurement and the difficulty of isolating the impact of a single kernel change. Finally, a few commenters express interest in seeing the patch applied to real-world data centers to validate the claims.