Re: altq on vlan



[ Charset ISO-8859-1 unsupported, converting... ]
On Friday 27 June 2008 18:57:59 Alexandre Biancalana wrote:
On 6/27/08, Max Laier <max@xxxxxxxxxxxxxx> wrote:
You don't need a patch at all. What you do is: Queue on the
physical interface, classify on the vlan interface. It is broken to
allow ALTQ on a virtual interface if you can do it otherwise.

in pf.conf speak:

If you have "ifconfig vlanX vlandev bge0 ..."

altq on bge0 .... queue { vlan0, vlan1, ... }
queue vlan0 ... { vlan0_foo, vlan0_bar, ... }
queue vlan0_foo
queue vlan0_bar
...

pass on vlanX ... queue vlanX_foobar

And there you go. No patch - whatsoever - required here.

But the patch simplify the cases where you need one queue per vlan.

NO! It is just wrong! There is no relation between vlan queues on the
same physical interface and thus you can't guarantee anything! Can we
please stop with this nonsense and not bring up the patch every other
month.
Remember vlan anoter end.

Vlan queues on the same physical interface has sense.

Let see typical vlan use:
+--------+ 100M untagged vlan1
| |--------------..
+---------+ | | 100M untagged vlan2
1G | | 1G tagged | |----------------
--------+ FreeBSD +------------+ switch | 100M untagged vlan3
| | | |--------------..
+---------+ | | 100M untagged vlanN
| |---------------
+--------+

There is noting interesting in common queue on 1G physical interface,
the only right queues are that on vlans when number of
vlans < 10.

More of that, sum traffic on 1G tagged intervace is limited
by incoming traffic from 1G external interface and
so common queue on 1G tagged interface is not
interesting even when number of vlans > 10.

Sorry for bad English.

_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: altq for vlans?
    ... > gather that since tun works, so should vlan. ... If the physical interface supports ALTQ it is *always* better ... If the physical interface does not support ALTQ it ... queue default bandwidth 75% cbq ...
    (freebsd-net)
  • Re: altq on vlan
    ... physical interface, ... queue vlan0_foo ... But the patch simplify the cases where you need one queue per vlan. ...
    (freebsd-net)
  • Re: altq on vlan
    ... physical interface, ... queue vlan0_foo ... But the patch simplify the cases where you need one queue per vlan. ...
    (freebsd-net)
  • Re: vlan
    ... >i'm strongly needet to set up vlan on my freebsd-box ... pseudo-device vlan ... ... Assume you have xl0 physical interface and you want to setup 2 ... Free unices for a free world. ...
    (FreeBSD-Security)
  • Re: multiple private nets on ASA?
    ... Isn't that called secondary addressing? ... Or maybe separated w/ VLAN is what makes the difference? ... VLANs on a physical interface, it looks like two separate interfaces. ...
    (comp.dcom.sys.cisco)