Re: Weird NET_RX softirq behavior

From: Jisheng Zhang
Date: Thu Aug 07 2014 - 22:39:41 EST


Hi Dmitry,

On Thu, 7 Aug 2014 07:18:13 -0700
Dmitry Popov <ixaphire@xxxxxxxxxx> wrote:

> On Thu, 7 Aug 2014 17:10:50 +0800
> Jisheng Zhang <jszhang@xxxxxxxxxxx> wrote:
>
> > 2. only one netdev in the system: eth0.
>
> There should also be lo (loopback) at least.

Yep, I forget that ;)

>
> > 4. But NET_RX seems abnormal
> > ~ # cat /proc/softirqs
> > CPU0 CPU1 CPU2 CPU3
> > NET_RX: 445587 322 983 0
> >
> > I'm expecting NET_RX under CPU1, 2, 3 should be zero. Any suggestions
> > about this abnormal behavior?
>
> Do you have any loopback traffic? It could be handled by CPU1/2 explaining
> non-zero NET_RX counters.

Yes. lo only send and recive 7 packets so far, about 1400bytes. Seems small
comparing with the CPU1 and CPU2 NET_RX softirq numbers, right?

Any other possible case?

Thanks for your reply,
Jisheng
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/