* when using arp monitoring with bonding, why use broadcast arps?
@ 2007-12-04 17:27 Chris Friesen
2007-12-04 18:20 ` Jay Vosburgh
0 siblings, 1 reply; 2+ messages in thread
From: Chris Friesen @ 2007-12-04 17:27 UTC (permalink / raw)
To: netdev, linux-kernel, bonding-devel
We have a network with a number of nodes using bonding with arp
monitoring. The arp interval is set to 100ms.
Unfortunately, the bonding code sends the arp packets to the hardware
broadcast address, which means that the number of these arp packets seen
by each node goes up with the number of nodes on the network.
One of the nodes has a fairly low-powered cpu and handles most things in
microengine code, but arp packets get handled in software. All these
broadcast arps slow this node down noticeably.
Is there any particular reason why the bonding code couldn't use unicast
arp packets if the "arp_ip_target" has a valid entry in the sender's arp
table?
Thanks,
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: when using arp monitoring with bonding, why use broadcast arps?
2007-12-04 17:27 when using arp monitoring with bonding, why use broadcast arps? Chris Friesen
@ 2007-12-04 18:20 ` Jay Vosburgh
0 siblings, 0 replies; 2+ messages in thread
From: Jay Vosburgh @ 2007-12-04 18:20 UTC (permalink / raw)
To: Chris Friesen; +Cc: netdev, linux-kernel, bonding-devel
Chris Friesen <cfriesen@nortel.com> wrote:
[...]
>Is there any particular reason why the bonding code couldn't use unicast
>arp packets if the "arp_ip_target" has a valid entry in the sender's arp
>table?
It ought to be a pretty straightforward change to have the
bond_arp_send() function perform a neigh_lookup() prior to calling
arp_create(), and use the result of the lookup (if any) in the
arp_create() call.
So, no, with the caveat that I haven't tried it, I don't see a
reason that bonding couldn't do what you're looking for.
-J
---
-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-04 18:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-04 17:27 when using arp monitoring with bonding, why use broadcast arps? Chris Friesen
2007-12-04 18:20 ` Jay Vosburgh
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).