Live data from Hacker News

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

spectrum.ieee.org

11–20 of 123 posts

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

#11
post #2

> The code has been implemented as part of the Linux kernel release version 6.13 in January. This is basically 3 month old news now.

So, new enough that millions of people never heard about it. I can see why it made the front page.

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

#12
post #10
post #5

Linux added a busy polling feature for high performance networking. Most Linux software does not use it, but software used in datacenters (e.g. by CDNs) that does use it makes the system very energy inefficient when things are not busy. This patch gives the the kernel the ability to turn that off when not busy to regain energy efficiency until things become busy again. The article name is somewhat misleading, since i…

you don’t have to say “in datacenters” when talking about linux, that is the obvious context in the vast majority of cases

IME majority of linux systems are laptops and desktops.

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

#14
post #12
post #10

Earlier quoted context omitted.

you don’t have to say “in datacenters” when talking about linux, that is the obvious context in the vast majority of cases

IME majority of linux systems are laptops and desktops.

Without looking at stats, I would think android phones.

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

#15
post #12
post #10

Earlier quoted context omitted.

you don’t have to say “in datacenters” when talking about linux, that is the obvious context in the vast majority of cases

IME majority of linux systems are laptops and desktops.

at least inside docker or wsl

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

#16
When a machine is large enough with enough tenants, there should be enough ambient junk going on to poll on 1 or a few cores and still be optimized for power. This is the tradeoff described in the 2019 "SNAP" paper from Google, in the section about the compacting engine.

The "up to 30%" figure is operative when you have a near-idle application that's busy polling, which is already dumb. There are several ways to save energy in that case.

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

#17
post #10
post #5

Linux added a busy polling feature for high performance networking. Most Linux software does not use it, but software used in datacenters (e.g. by CDNs) that does use it makes the system very energy inefficient when things are not busy. This patch gives the the kernel the ability to turn that off when not busy to regain energy efficiency until things become busy again. The article name is somewhat misleading, since i…

you don’t have to say “in datacenters” when talking about linux, that is the obvious context in the vast majority of cases

IoT devices would like a word

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

#18
post #10
post #5

Linux added a busy polling feature for high performance networking. Most Linux software does not use it, but software used in datacenters (e.g. by CDNs) that does use it makes the system very energy inefficient when things are not busy. This patch gives the the kernel the ability to turn that off when not busy to regain energy efficiency until things become busy again. The article name is somewhat misleading, since i…

you don’t have to say “in datacenters” when talking about linux, that is the obvious context in the vast majority of cases

I'm reading this on an Android phone. The phone OS that has over 70% market share.

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

#19
post #10
post #5

Linux added a busy polling feature for high performance networking. Most Linux software does not use it, but software used in datacenters (e.g. by CDNs) that does use it makes the system very energy inefficient when things are not busy. This patch gives the the kernel the ability to turn that off when not busy to regain energy efficiency until things become busy again. The article name is somewhat misleading, since i…

you don’t have to say “in datacenters” when talking about linux, that is the obvious context in the vast majority of cases

Why you think so? Especially for HN readers decent chunk is using Linux.

(I typed this on Linux PC).

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

#20
post #2

> The code has been implemented as part of the Linux kernel release version 6.13 in January. This is basically 3 month old news now.

What is wrong with 3 month old news? I in fact prefer ones that are not repeated based only on basis being new and much more likely to be confused/misleading/hoax/lie/not actually interesting.

Similarly, I prefer old books, old computer games, old movies (or at least not ones currently being hot/viral/advertised), this allows a lot of trash to self-filter out. Including trash being breathlessly promoted and consumed.

Post reply on HN