On Mon, 2017-04-17 at 10:29 -0400, Matthew Whitehead wrote: > Constants used for tuning are generally a bad idea, especially as hardware > changes over time. Replace the constant '2' with netdev_budget_jiffies to > enable sysadmins to tune the behavior. Also document the variable. > > For example, a very fast machine might tune this to 1, while my regression > testing 486DX-25 needs it to be 4 on a nearly idle network to prevent > time_squeeze from being incremented.
Hi Matthew What is the problem with this 'time_squeeze' being incremented ? This is an indicator, but not something bad per se. Maybe your 486DX-25 should use HZ=100 ;) Really I do not believe we should let admins/users play with this limit, they will most likely shoot themselves. Anyway, exporting in /proc/sys some time limit in 'jiffies' is not recommended. We prefer portable msecs , usec or nanosec units. Thanks.