From: David Miller <davem@davemloft.net>
To: tedheadster@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] Replace 2 jiffies with sysctl netdev_budget_usecs to enable softirq tuning
Date: Fri, 21 Apr 2017 13:22:45 -0400 (EDT) [thread overview]
Message-ID: <20170421.132245.1207278487695293623.davem@davemloft.net> (raw)
In-Reply-To: <1492619830-7561-1-git-send-email-tedheadster@gmail.com>
From: Matthew Whitehead <tedheadster@gmail.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@gmail.com>
Applied, thanks.
next prev parent reply other threads:[~2017-04-21 19:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-19 16:37 [PATCH net-next] Replace 2 jiffies with sysctl netdev_budget_usecs to enable softirq tuning Matthew Whitehead
2017-04-21 17:22 ` David Miller [this message]
2017-04-21 19:57 ` Eric Dumazet
2017-04-21 20:00 ` David Miller
2017-04-21 20:07 ` Eric Dumazet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170421.132245.1207278487695293623.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=tedheadster@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).