linux-kernel.vger.kernel.org archive mirror
 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; 19+ 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] 19+ messages in thread
* RE: Extremely slow network with e1000 & ip_conntrack
@ 2003-12-04  7:24 Feldman, Scott
  0 siblings, 0 replies; 19+ 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] 19+ 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; 19+ 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] 19+ messages in thread
[parent not found: <20031126174943.0AA5.MUKANSAI@emailplus.org>]

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

Thread overview: 19+ 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
     [not found] <20031126174943.0AA5.MUKANSAI@emailplus.org>
     [not found] ` <20031129042551.A460.MUKANSAI@emailplus.org>
     [not found]   ` <20031130074532.0105.MUKANSAI@emailplus.org>
2003-11-30 15:52     ` Harald Welte
2003-12-02 11:44       ` Stephen Lee
2003-12-03  5:03         ` David S. Miller

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).