[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170421.132245.1207278487695293623.davem@davemloft.net>
Date: Fri, 21 Apr 2017 13:22:45 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: tedheadster@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] Replace 2 jiffies with sysctl
netdev_budget_usecs to enable softirq tuning
From: Matthew Whitehead <tedheadster@...il.com>
Date: Wed, 19 Apr 2017 12:37:10 -0400
> Constants used for tuning are generally a bad idea, especially as hardware
> changes over time. Replace the constant 2 jiffies with sysctl variable
> netdev_budget_usecs to enable sysadmins to tune the softirq processing.
> Also document the variable.
>
> For example, a very fast machine might tune this to 1000 microseconds,
> while my regression testing 486DX-25 needs it to be 4000 microseconds on
> a nearly idle network to prevent time_squeeze from being incremented.
>
> Version 2: changed jiffies to microseconds for predictable units.
>
> Signed-off-by: Matthew Whitehead <tedheadster@...il.com>
Applied, thanks.
Powered by blists - more mailing lists