netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Chad N. Tindel" <chad@tindel.net>
To: Shmulik Hen <shmulik.hen@intel.com>
Cc: linux-net <linux-net@vger.kernel.org>,
	linux-netdev <netdev@oss.sgi.com>,
	bond-devel <bonding-devel@lists.sourceforge.net>,
	Amir Noam <amir.noam@intel.com>,
	Noam Marom <noam.marom@intel.com>,
	Scott Feldman <scott.feldman@intel.com>,
	"David S. Miller" <davem@redhat.com>,
	Jay Vosburgh <fubar@us.ibm.com>, Jeff Garzik <jgarzik@pobox.com>,
	Tsippy Mendelson <tsippy.mendelson@intel.com>
Subject: Re: [bonding][BUG] UDP Tx stops after link disconnection of active slave
Date: Thu, 19 Jun 2003 11:34:59 -0400	[thread overview]
Message-ID: <20030619153459.GA75674@calma.pair.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0306191512060.10139-100000@jrslxjul1.npdj.intel.com>

> 	We've noticed that when using configuring bonding to active backup
> mode with two slaves and running UDP stress traffic to several clients,
> traffic will stop when disconnecting the link for the current active
> slave. When re-connecting the slave the traffic will resume even though it
> is not the active slave anymore. While traffic is stopped it looks as
> though the application generating the traffic (iperf, netperf, etc.) is
> hung and doesn't generate new packets. Once link is restored the
> application wakes up again and stars sending new packets. Further
> investigation showed that slave adapters tend to stop processing the queue
> when their link is down, and therefore any packets that were already
> passed from bonding to the disconnected slave are *stuck* in the queue,
> thus causing the resources associated with those packets not to free and
> so the application hits it's resource limits and stalls. Upon link
> connection, the packets in the queue are processed and the application is
> free to allocate new resources.
> 
> Is there any safe way for bonding to empty the queue of slaves that lost
> their link/ became inactive?

Interesting.  Perhaps bonding should go through the queue and move all the 
pending packets over into the new active slave?  It'd be nice if we could
just transfer the entire IP stack around as one big object...

Chad

      reply	other threads:[~2003-06-19 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-19 13:32 [bonding][BUG] UDP Tx stops after link disconnection of active slave Shmulik Hen
2003-06-19 15:34 ` Chad N. Tindel [this message]

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=20030619153459.GA75674@calma.pair.com \
    --to=chad@tindel.net \
    --cc=amir.noam@intel.com \
    --cc=bonding-devel@lists.sourceforge.net \
    --cc=davem@redhat.com \
    --cc=fubar@us.ibm.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-net@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=noam.marom@intel.com \
    --cc=scott.feldman@intel.com \
    --cc=shmulik.hen@intel.com \
    --cc=tsippy.mendelson@intel.com \
    /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).