[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 6 Jun 2012 17:43:03 +0900
From: Hiroaki SHIMODA <shimoda.hiroaki@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Tom Herbert <therbert@...gle.com>,
Denys Fedoryshchenko <denys@...p.net.lb>,
netdev@...r.kernel.org, e1000-devel@...ts.sourceforge.net,
jeffrey.t.kirsher@...el.com, jesse.brandeburg@...el.com,
davem@...emloft.net
Subject: Re: Strange latency spikes/TX network stalls on Sun Fire X4150(x86)
and e1000e
On Wed, 06 Jun 2012 07:10:13 +0200
Eric Dumazet <eric.dumazet@...il.com> wrote:
> On Tue, 2012-05-29 at 23:25 +0900, Hiroaki SHIMODA wrote:
>
> > If I understand the code and spec correctly, TX interrupts are
> > generated when TXDCTL.WTHRESH descriptors have been accumulated
> > and write backed.
> >
> > I tentatively changed the TXDCTL.WTHRESH to 1, then it seems
> > that latency spikes are disappear.
> >
> > drivers/net/ethernet/intel/e1000e/e1000.h
> > @@ -181,7 +181,7 @@ struct e1000_info;
> > #define E1000_TXDCTL_DMA_BURST_ENABLE \
> > (E1000_TXDCTL_GRAN | /* set descriptor granularity */ \
> > E1000_TXDCTL_COUNT_DESC | \
> > - (5 << 16) | /* wthresh must be +1 more than desired */\
> > + (1 << 16) | /* wthresh must be +1 more than desired */\
> > (1 << 8) | /* hthresh */ \
> > 0x1f) /* pthresh */
> >
>
>
> Was this patch officially submitted ?
>
> Thanks !
Sorry for long delay. I'll post.
(I have no idea how to fix this problem as keeping TXDCTL.WTHRESH to 5)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists