Many ISPs need the kinds of quality shaping cake can do
 help / color / mirror / Atom feed
* [LibreQoS] A newbie question - bridge mode
@ 2022-12-29 16:15 Jan Rovner
  2022-12-29 16:27 ` Herbert Wolverson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jan Rovner @ 2022-12-29 16:15 UTC (permalink / raw)
  To: libreqos

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

Hello,

I like libreqos project and initially I would like to ask about the possibility of operating in bridge mode, even not oficially fully  supported.

My question targets underlying technologies like XDP a others and their performance: is it possible to achieve the same (or similar) performance on QoS on bridging traffic shaper - with VLANs - as on routed setup?

Thank you.
Jan Rovner



[-- Attachment #2: Type: text/html, Size: 790 bytes --]

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

* Re: [LibreQoS] A newbie question - bridge mode
  2022-12-29 16:15 [LibreQoS] A newbie question - bridge mode Jan Rovner
@ 2022-12-29 16:27 ` Herbert Wolverson
  2022-12-29 16:34 ` Dave Taht
  2023-03-18 19:16 ` [LibreQoS] Bifrost XDP-Accelerated Bridge + preserve VLAN tags? Jan Rovner
  2 siblings, 0 replies; 4+ messages in thread
From: Herbert Wolverson @ 2022-12-29 16:27 UTC (permalink / raw)
  To: Jan Rovner; +Cc: libreqos

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

Hi!

The default setup operates purely as a transparent bridge (one interface
in, one interface out) - LibreQoS doesn't do any routing. V1.3 can read
inside VLANs and shape traffic flows inside VLANs (including nested VLANs).

V1.4 will add an option to use a single interface with an "in" and "out"
VLAN, allowing for "on a stick" transparent bridging, and speed up the
bridge process quite a bit.

I hope I read that right, I haven't had enough coffee this morning!

Thanks,
Herbert

On Thu, Dec 29, 2022 at 10:15 AM Jan Rovner via LibreQoS <
libreqos@lists.bufferbloat.net> wrote:

> Hello,
>
> I like libreqos project and initially I would like to ask about the
> possibility of operating in bridge mode, even not oficially fully
> supported.
>
> My question targets underlying technologies like XDP a others and their
> performance: is it possible to achieve the same (or similar) performance on
> QoS on bridging traffic shaper - with VLANs - as on routed setup?
>
> Thank you.
> Jan Rovner
>
>
> _______________________________________________
> LibreQoS mailing list
> LibreQoS@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/libreqos
>

[-- Attachment #2: Type: text/html, Size: 2056 bytes --]

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

* Re: [LibreQoS] A newbie question - bridge mode
  2022-12-29 16:15 [LibreQoS] A newbie question - bridge mode Jan Rovner
  2022-12-29 16:27 ` Herbert Wolverson
@ 2022-12-29 16:34 ` Dave Taht
  2023-03-18 19:16 ` [LibreQoS] Bifrost XDP-Accelerated Bridge + preserve VLAN tags? Jan Rovner
  2 siblings, 0 replies; 4+ messages in thread
From: Dave Taht @ 2022-12-29 16:34 UTC (permalink / raw)
  To: Jan Rovner; +Cc: libreqos

On Thu, Dec 29, 2022 at 8:15 AM Jan Rovner via LibreQoS
<libreqos@lists.bufferbloat.net> wrote:
>
> Hello,
>
> I like libreqos project and initially I would like to ask about the possibility of operating in bridge mode, even not oficially fully  supported.
>
> My question targets underlying technologies like XDP a others and their performance: is it possible to achieve the same (or similar) performance on QoS on bridging traffic shaper - with VLANs - as on routed setup?

Yes and no. Our biggest testbed is setup as a "router on a stick",
with two vlans, bridging via xdp. As soon as we put routing into the
equation a whole lot more of the stack has to get involved, and
performance suffers. (currently cracking 25Gbit in bridged mode, and
we might get to 50Gbit soon).

I don't have good numbers for what a routed setup would look like, I
suspect they would be below 10Gbit on 16 core hardware (and we
wouldn't be able to scale to use those cores very efficiently). Yes!
Doing this stuff in a routed setup is very feasible, just not
something we're exploring actively right now. Much of the the code can
be made to work routed fairly easily.  A hope I have is a network card
will show up that can do LPM or some set of more intelligent offloads
- as the cake and fq_codel algorithms are very lightweight compared to
the cost of reading data from the network, routing it, HTB or LPM.

Most of the work these days is taking place on matrix -
#libreqos:matrix.org, please feel free to join us there.

Also, a demo of v1.4 WIP can be found here: https://payne.taht.net/

Thanks for your interest!

> Thank you.
> Jan Rovner
>
>
> _______________________________________________
> LibreQoS mailing list
> LibreQoS@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/libreqos



-- 
This song goes out to all the folk that thought Stadia would work:
https://www.linkedin.com/posts/dtaht_the-mushroom-song-activity-6981366665607352320-FXtz
Dave Täht CEO, TekLibre, LLC

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

* [LibreQoS] Bifrost XDP-Accelerated Bridge + preserve VLAN tags?
  2022-12-29 16:15 [LibreQoS] A newbie question - bridge mode Jan Rovner
  2022-12-29 16:27 ` Herbert Wolverson
  2022-12-29 16:34 ` Dave Taht
@ 2023-03-18 19:16 ` Jan Rovner
  2 siblings, 0 replies; 4+ messages in thread
From: Jan Rovner @ 2023-03-18 19:16 UTC (permalink / raw)
  To: libreqos

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

Hello everybody,

I apologize for yet another question related to bridge mode, but a part of our network is currently designed like that it would perfecly fit:

I would like to setup LibreQoS with two interfaces - one facing the core router, the other facing the customers. The payload is carried in bunch of VLANs.

i.e.: Customer -- LibreQoS -- router, where LibreQoS device acts as a transparent and VLAN-aware bridde.

Can LibreQos with "bifrost bridge" mode operate like this and keep VLAN tags?

Thank you for explanation.

Jan Rovner

[-- Attachment #2: Type: text/html, Size: 3768 bytes --]

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

end of thread, other threads:[~2023-03-18 19:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-29 16:15 [LibreQoS] A newbie question - bridge mode Jan Rovner
2022-12-29 16:27 ` Herbert Wolverson
2022-12-29 16:34 ` Dave Taht
2023-03-18 19:16 ` [LibreQoS] Bifrost XDP-Accelerated Bridge + preserve VLAN tags? Jan Rovner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox