Re: [RFC V2 PATCH 00/25] Kernel NET policy

From: Stephen Hemminger
Date: Thu Aug 04 2016 - 20:03:51 EST


On Wed, 31 Dec 2014 20:38:49 -0500
kan.liang@xxxxxxxxx wrote:

> 5. Why disable IRQ balance?
> A: Disabling IRQ balance is a common way (recommend way for some devices) to
> tune network performance.

I appreciate that network tuning is hard, most people get it wrong, and nobody
agrees on the right answer.

So rather than fixing existing tools or writing new userspace tools to do network
tuning, you want to hard code one policy manager in kernel with a /proc interface.
Why not make a good userspace tool (like powertop). There are also several IRQ
balancing programs, but since irqbalance was championed by one vendor others seem
to follow like sheep.

I agree that this a real concern but the implementation of this leaves much
to be desired and discussed. Why can't this be done outside of the kernel.