netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about vlans, bonding, etc.
@ 2010-05-04  0:06 George B.
  2010-05-04  4:48 ` Eric Dumazet
  0 siblings, 1 reply; 6+ messages in thread
From: George B. @ 2010-05-04  0:06 UTC (permalink / raw)
  To: netdev

Watching the "Receive issues with bonding and vlans" thread brought a
question to mind.  In what order should things be done for best
performance?

For example, say I have a pair of ethernet interfaces.  Do I slave the
ethernet interfaces to the bond device and then make the vlans on the
bond devices?
Or do I make the vlans on the ethernet devices and then bond the vlan
interfaces?

In the first case I would have:



bond0.3--|     |------eth0
             bond0
bond0.5--|     |------eth1

The second case would be:

      |------------------eth0.5-----|
      |          |-------eth0.3---eth0
bond0  bond1
      |          |-------eth1.3---eth1
      |------------------eth1.5-----|

I am using he first method currently as it seemed more intuitive to me
at the time to bond the ethernets and then put the vlans on the bonds
but it seems life might be easier for the vlan driver if it is bound
directly to the hardware.  I am using Intel NICs (igb driver) with 4
queues per NIC.

Would there be a performance difference expected between the two
configurations?  Can the vlan driver "see through" the bond interface
to the
hardware and take advantage of multiple queues if the hardware
supports it in the first configuration?

George Bonser

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

end of thread, other threads:[~2010-05-14  7:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-04  0:06 Question about vlans, bonding, etc George B.
2010-05-04  4:48 ` Eric Dumazet
2010-05-14  1:10   ` George B.
2010-05-14  1:12     ` Stephen Hemminger
2010-05-14  7:28       ` George B.
2010-05-14  7:53       ` Benny Amorsen

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