All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: Marc Dionne <marc.c.dionne@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: NOHZ: local_softirq_pending 08
Date: Tue, 5 Jun 2012 21:46:56 -0400	[thread overview]
Message-ID: <20120606014656.GA24870@redhat.com> (raw)
In-Reply-To: <20120605231550.GA20981@electric-eye.fr.zoreil.com>

On Wed, Jun 06, 2012 at 01:15:50AM +0200, Francois Romieu wrote:
 > Marc Dionne <marc.c.dionne@gmail.com> :
 > > If it helps, I've been seeing the same thing here on a system with an
 > > r8169.  The message appears consistently enough on network startup to
 > > be able to track it down to this specific commit:
 > >     98ddf986fca17840e46e070354b7e2cd2169da15: r8169: bh locking redux
 > > and task scheduling.
 > > 
 > > The softirq pending messages always come right after "link down"
 > > messages for the interface.

for me, they're during boot when the nic comes up, and then very occasionally afterwards.

 > Let's see the traces.
 > 
 > I have added some code to trace the timing and values of the irq in
 > rtl8169_interrupt(). Patches against current git are attached.
 
with these patches applied, I get a lot of spew in dmesg like ..

[   98.659314] r8169 0000:01:00.0: eth0: event ring full.
[   98.763513] r8169 0000:01:00.0: eth0: event ring full.
[   99.182103] r8169 0000:01:00.0: eth0: event ring full.
[   99.294426] r8169 0000:01:00.0: eth0: event ring full.
[   99.420255] r8169 0000:01:00.0: eth0: event ring full.
[   99.455811] r8169 0000:01:00.0: eth0: event ring full.
[   99.520541] r8169 0000:01:00.0: eth0: event ring full.
[   99.730789] r8169 0000:01:00.0: eth0: event ring full.
[   99.887643] r8169 0000:01:00.0: eth0: event ring full.
[  103.798861] net_ratelimit: 43 callbacks suppressed

over and over..

 > 'ip link set dev 8168b-lom up' + 'cat /sys/kernel/debug/tracing/trace':

What tracer do I need to configure to get make this work ? irqsoff ?

finally, /sys/kernel/debug/r8169/ is empty.

	Dave


  reply	other threads:[~2012-06-06  1:47 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30 21:48 NOHZ: local_softirq_pending 08 Dave Jones
2012-05-31  7:52 ` Thomas Gleixner
2012-05-31  7:56   ` Eric Dumazet
2012-05-31 14:04     ` Dave Jones
2012-06-08 16:46       ` Nikos Chantziaras
2012-06-01 22:57   ` Francois Romieu
2012-06-02 20:58     ` Marc Dionne
2012-06-05 23:15       ` Francois Romieu
2012-06-06  1:46         ` Dave Jones [this message]
2012-06-06  5:42           ` Francois Romieu
2012-06-08  2:34             ` Dave Jones
2012-06-08  7:57               ` Thomas Gleixner
2012-06-08 14:23                 ` Dave Jones
2012-06-08 14:51                   ` Thomas Gleixner
2012-06-08 20:27                     ` Francois Romieu
2012-06-08 20:41                       ` Thomas Gleixner
2012-06-08 21:53                         ` Francois Romieu
2012-06-08 22:33                           ` Marc Dionne
2012-06-10 20:40                             ` Dave Jones
2012-06-25 12:38                           ` Johannes Stezenbach
2012-06-25 19:28                             ` Francois Romieu
2012-06-25 19:52                               ` Dave Jones
2012-06-08  8:32               ` Johannes Stezenbach
  -- strict thread matches above, loose matches on Subject: below --
2009-10-11  9:52 Dave Young
2009-10-11 10:08 ` Johannes Berg
2009-10-11 10:17   ` Michael Buesch
2009-10-11 10:37     ` Johannes Berg
2009-10-11 10:38     ` David Miller
2009-10-11 10:55   ` Dave Young
2009-10-11 11:18   ` Tilman Schmidt
2009-10-11 11:40     ` Johannes Berg
2009-10-12  8:28       ` Tilman Schmidt
2009-10-12  8:28         ` Tilman Schmidt
2009-10-12 10:32         ` David Miller
2009-10-12 10:32           ` David Miller
2009-10-12 11:25           ` Tilman Schmidt
2009-10-12 11:25             ` Tilman Schmidt
2009-10-15 11:40         ` Jarek Poplawski
2009-10-15 11:40           ` Jarek Poplawski
2009-10-15 17:53           ` Jarek Poplawski
2009-10-15 17:53             ` Jarek Poplawski
2009-10-21 18:46             ` Tilman Schmidt
2009-10-21 18:46               ` Tilman Schmidt
2009-10-22 23:37               ` Tilman Schmidt
2009-10-22 23:37                 ` Tilman Schmidt
2009-10-23 13:34                 ` Johannes Berg
2009-10-23 13:34                   ` Johannes Berg
2009-10-23 14:27                   ` Tilman Schmidt
2009-10-23 14:27                     ` Tilman Schmidt
2009-10-23 14:31                     ` Johannes Berg
2009-10-23 14:31                       ` Johannes Berg
2009-10-23 16:33                       ` Tilman Schmidt
2009-10-23 16:33                         ` Tilman Schmidt
2009-10-11 16:39 ` Joe Korty
2008-10-03 16:40 liran raz
2008-10-03 16:55 ` Scott Wood
2008-10-02 18:30 liran raz
2007-05-29  6:01 Rafał Bilski
2007-05-28 21:04 Rafał Bilski
2007-05-28 22:12 ` Anant Nitya

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=20120606014656.GA24870@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.c.dionne@gmail.com \
    --cc=romieu@fr.zoreil.com \
    --cc=tglx@linutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.