netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bonding][BUG] UDP Tx stops after link disconnection of active slave
@ 2003-06-19 13:32 Shmulik Hen
  2003-06-19 15:34 ` Chad N. Tindel
  0 siblings, 1 reply; 2+ messages in thread
From: Shmulik Hen @ 2003-06-19 13:32 UTC (permalink / raw)
  To: linux-net, linux-netdev, bond-devel
  Cc: Amir Noam, Noam Marom, Scott Feldman, Shmulik Hen, Chad N. Tindel,
	David S. Miller, Jay Vosburgh, Jeff Garzik, Tsippy Mendelson

Hi,

	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?

-- 
| Shmulik Hen                             |
| Israel Design Center (Jerusalem)        |
| LAN Access Division                     |
| Intel Communications Group, Intel corp. |

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

end of thread, other threads:[~2003-06-19 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).