netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Scott Feldman <sfeldma@pobox.com>
To: Tim Mattox <tmattox@engr.uky.edu>
Cc: Scott Feldman <scott.feldman@intel.com>,
	netdev@oss.sgi.com, bonding-devel@lists.sourceforge.net,
	jgarzik@pobox.com
Subject: Re: [PATCH 2.6] e100: use NAPI mode all the time
Date: Sun, 06 Jun 2004 17:03:11 -0700	[thread overview]
Message-ID: <1086566591.3721.54.camel@localhost.localdomain> (raw)
In-Reply-To: <DC71FD1C-B80C-11D8-9557-000393652100@engr.uky.edu>

> Have you considered how this interacts with multiple e100's bonded
> together with Linux channel bonding?
> I've CC'd the bonding developer mailing list to flush out any more
> opinions on this.

No.  But if there is an issue between NAPI and bonding, that's something
to solve between NAPI and bonding but not the nic driver.

> I have yet to set up a good test system, but my impression has been
> that NAPI and channel bonding would lead to lots of packet re-ordering
> load for the CPU that could outweigh the interrupt load savings.
> Does anyone have experience with this?

re-ordering or dropped?

> Also, depending on the setting of /proc/sys/net/ipv4/tcp_reordering
> the TCP stack might do aggressive NACKs because of a false-positive on
> dropped packets due to the large reordering that could occur with
> NAPI and bonding combined.

I guess I don't see the bonding angle.  How does inserting a SW FIFO
between the nic HW and the softirq thread make things better for
bonding?

> In short, unless there has been study on this, I would suggest not yet
> removing support for non-NAPI mode on any network driver.

fedora core 2's default is e100-NAPI, so we're getting good test
coverage there without bonding.   tg3 has used NAPI only for some time,
and I'm sure it's used with bonding.  

-scott

  reply	other threads:[~2004-06-07  0:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-05  0:35 [PATCH 2.6] e100: use NAPI mode all the time Scott Feldman
2004-06-06 22:57 ` Tim Mattox
2004-06-07  0:03   ` Scott Feldman [this message]
2004-06-07  1:51     ` Tim Mattox
2004-06-07  2:33       ` Jeff Garzik
2004-06-07  6:39         ` [Bonding-devel] " Jay Vosburgh
2004-06-07 11:17           ` jamal
2004-06-08  9:53 ` Christopher Chan
2004-06-15 18:04   ` Christopher Chan
2004-06-11  0:16 ` Jeff Garzik

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=1086566591.3721.54.camel@localhost.localdomain \
    --to=sfeldma@pobox.com \
    --cc=bonding-devel@lists.sourceforge.net \
    --cc=jgarzik@pobox.com \
    --cc=netdev@oss.sgi.com \
    --cc=scott.feldman@intel.com \
    --cc=tmattox@engr.uky.edu \
    /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 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).