News for hackers. Stuff that matters.
Re:Reworking 30 lines of Linux code could cut power use by u... by tuetuopay on Monday April 21, 2025 @12:43PM (#43753901)
Practically none of it would be applicable (if using a commercial router). They all use hardware offloading, and traffic seldom touches the CPU. Only "logical" tasks are raised to the CPU, like ARP resolution and the likes (what’s called "trap to cpu").

If you’re doing custom routing with a NUC or a basic Linux box, however, this would gain massive power savings because that box pretty much only does networking.

Re:Reworking 30 lines of Linux code could cut power use by u... by ori_b on Monday April 21, 2025 @04:13PM (#43755953)
Only if you're using busy polling. Very little software uses it, because it's only a good fit if you think pegging a CPU to reduce latency responding to packets is a good trade.
Re:Reworking 30 lines of Linux code could cut power use by u... by tuetuopay on Monday April 21, 2025 @06:46PM (#43757330)
Yup, you’re right. I always forget this patch only applies to opted-in polling and not automatic polling for interrupt moderation.
Re:Reworking 30 lines of Linux code could cut power use by u... by mrheosuper on Monday April 21, 2025 @09:55PM (#43758403)
if you run a VPN server, i assume all the traffic will come to CPU to decrypt, right?