All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Extremely slow network with e1000 & ip_conntrack
@ 2003-12-04 17:37 Feldman, Scott
  2003-12-04 18:30 ` David S. Miller
  2003-12-04 19:53 ` Stephen Lee
  0 siblings, 2 replies; 22+ messages in thread
From: Feldman, Scott @ 2003-12-04 17:37 UTC (permalink / raw)
  To: Stephen Lee; +Cc: Harald Welte, netfilter-devel, linux-kernel, David S. Miller

> Is it not supported by the hardware?  Seems TSO could improve 
> performance a bit since the 1000/MT Desktop is starved for 
> PCI bandwidth at 32-bit/33MHz.

TSO is support on 82540.  Turning off TSO is a workaround, but what's
behind the dependency of TSO and ip_conntrack?  You indicated in an
earlier note that having the ip_conntrack module loaded was a factor.
Do you have a nic to try with tg3?  I believe tg3 has TSO enabled as
well (in 2.6.0-test11).

-scott

^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: Extremely slow network with e1000 & ip_conntrack
@ 2003-12-04  7:24 Feldman, Scott
  0 siblings, 0 replies; 22+ messages in thread
From: Feldman, Scott @ 2003-12-04  7:24 UTC (permalink / raw)
  To: Harald Welte, Stephen Lee; +Cc: netfilter-devel, linux-kernel

> > > > 2.4.22		82540EM		N
> > > > 2.5.26		82540EM		N
> > > > 2.5.46		82540EM		Y
> > > > 2.6.0-test10		82540EM		Y
> > > > 2.6.0-test11		82540EM		Y
> > > > 2.6.0-test11		82547EI		N
> > > > 2.4.22nptlsmp		82547EI		N
> 
> In e1000, check this out:
> 
>   #ifdef NETIF_F_TSO
>           if((adapter->hw.mac_type >= e1000_82544) &&
>              (adapter->hw.mac_type != e1000_82547))
>                   netdev->features |= NETIF_F_TSO;
>   #endif

Oh, I forgot one thing: 82540 is actually greater than 82544.  The
comparison is chronological order, not numerical.  This is the order the
controllers where released:

82542
82543
82544
82540
82545
82546
82541
82547

Don't ask.

-scott

^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: Extremely slow network with e1000 & ip_conntrack
@ 2003-12-04  6:51 Feldman, Scott
  2003-12-04 12:36 ` Stephen Lee
  0 siblings, 1 reply; 22+ messages in thread
From: Feldman, Scott @ 2003-12-04  6:51 UTC (permalink / raw)
  To: Harald Welte, Stephen Lee; +Cc: netfilter-devel, linux-kernel

> > > I compiled lots of kernels :-( and narrowed it down to between 
> > > 2.5.26 and 2.5.46.
> > > 
> > > Kernel version	Chip		Problem?
> > > 2.4.22		82540EM		N
> > > 2.5.26		82540EM		N
> > > 2.5.46		82540EM		Y
> > > 2.6.0-test10		82540EM		Y
> > > 2.6.0-test11		82540EM		Y
> > > 2.6.0-test11		82547EI		N
> > > 2.4.22nptlsmp		82547EI		N

In e1000, check this out:

  #ifdef NETIF_F_TSO
          if((adapter->hw.mac_type >= e1000_82544) &&
             (adapter->hw.mac_type != e1000_82547))
                  netdev->features |= NETIF_F_TSO;
  #endif

Try turning off TSO by disabling this code or by using "ethtool -K tso
off" (need version 1.8).

-scott

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Extremely slow network with e1000 & ip_conntrack
@ 2003-11-26  8:49 Stephen Lee
  2003-11-28 19:55 ` Stephen Lee
  0 siblings, 1 reply; 22+ messages in thread
From: Stephen Lee @ 2003-11-26  8:49 UTC (permalink / raw)
  To: netfilter-devel

Harald Welte wrote:
> On Fri, Nov 07, 2003 at 08:33:01AM +0100, Olivier wrote:
> 
> > it seems I have the same problem  as reported by other people. But I was
> > wondering if the problem is fixed, and if there is a patch available for
> > testing?
> 
> unfortunately there is no fix yet.  I seem to be unable to reproduce
> that effect on my system :(

I'm having the same problem with 2.6.0-test10.  Just loading
ip_conntrack (no rule in table) slows outbound speed to a crawl.  I am
using e1000 as well (tried both with or without NAPI), on a 1000/MT
Desktop Adaptor.

This seems to only affect traffic out of the host itself, I do not
notice slow-down of traffic route through the box, but I didn't really
stress test that.

FWIW, I was on 2.5.72 and it had the same behaviour, but ip_conntrack
was not compiled as a module so I couldn't check if it is at fault.

Stephen

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2003-12-11  8:25 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-04 17:37 Extremely slow network with e1000 & ip_conntrack Feldman, Scott
2003-12-04 18:30 ` David S. Miller
2003-12-04 19:53 ` Stephen Lee
2003-12-04 20:09   ` Jeff Garzik
2003-12-05 13:25     ` Stephen Lee
2003-12-04 20:20   ` David S. Miller
  -- strict thread matches above, loose matches on Subject: below --
2003-12-04  7:24 Feldman, Scott
2003-12-04  6:51 Feldman, Scott
2003-12-04 12:36 ` Stephen Lee
2003-12-04 18:24   ` David S. Miller
2003-12-05 20:45     ` Stephen Lee
2003-12-05 20:28   ` David S. Miller
2003-12-05 22:20     ` Stephen Lee
2003-12-05 22:56       ` David S. Miller
2003-12-11  7:26     ` Harald Welte
2003-12-11  8:25       ` Henrik Nordstrom
2003-11-26  8:49 Stephen Lee
2003-11-28 19:55 ` Stephen Lee
2003-11-29 22:54   ` Stephen Lee
2003-11-30 15:52     ` Harald Welte
2003-12-02 11:44       ` Stephen Lee
2003-12-03  5:03         ` David S. Miller

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.