linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Hoefler <andreas.hoefler@ch.abb.com>
To: "linux-rt-users@vger.kernel.org" <linux-rt-users@vger.kernel.org>
Subject: FW: netdev_budget_usecs setting below 1 jiffie leads to run everything in ksoftirqd
Date: Mon, 9 Sep 2019 07:15:26 +0000	[thread overview]
Message-ID: <VI1PR06MB4462841C1BBE301CE41E17FECEB70@VI1PR06MB4462.eurprd06.prod.outlook.com> (raw)
In-Reply-To: <VI1PR06MB4462E7D2C5BDA4E8CF66D234CEB40@VI1PR06MB4462.eurprd06.prod.outlook.com>

Hi all

On 4.14.79-rt47 I have the issue, that when I check /proc/net/softnet_stat during receiving 4000 packets per second on the gmac (TI Sitara), the third column (nr of times it ran out of budget) counts up like crazy. The netdev_budget as well as the netdev_budget_usecs are left at default. Although as soon as I increase the netdev_budget_usecs to 10001 (HZ is 100), the counter stops.
As far as I know, the usecs_to_jiffies(netdev_budget_usecs) used for the time_limit in net_rx_action() will round up to one jiffie with my default setting, meaning 10ms or am I missing something here?

Thx
Andy




           reply	other threads:[~2019-09-09  7:15 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <VI1PR06MB4462E7D2C5BDA4E8CF66D234CEB40@VI1PR06MB4462.eurprd06.prod.outlook.com>]

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=VI1PR06MB4462841C1BBE301CE41E17FECEB70@VI1PR06MB4462.eurprd06.prod.outlook.com \
    --to=andreas.hoefler@ch.abb.com \
    --cc=linux-rt-users@vger.kernel.org \
    /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).