Re: tbf queue question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



5-may
Grant,

Thanks for the reply - adding a TBF queue to the
outgoing ens2 interface definitely changes the outgoing
bandwidth! I was mistaken thinking I could rate limit
the output of ens1 to the internal bridge.

Regards,
Doug Rorem

On 5/4/2021 10:47 AM, Grant Taylor wrote:
Hi,

On 5/4/21 9:27 AM, Doug Rorem wrote:
I have multicast video (about 4.5 Mbps) entering the bridge on ens1 and exiting on ens2.

I tried setting up a TBF queue with bandwidth limit (max 3Mbps) on ens1:

It's been a long time since I've done anything with QoS but I think you've run afoul of a fundamental understanding that I have.

You can only (effectively) rate limit /what/ /you/ /send/. Meaning that you can't rate limit how fast information comes in. You can only rate limit what you send out.

So, try moving the rate limiting from ens1 to ens2 so that you are rate limiting the stream leaving the system.

Aside:  Yes, there are some tricks with virtual interfaces so that you can ""send from the incoming interface to the virtual interface, thus rate limit what is re-sent prior to reception by the interface where IPs are bound.  But this is still beholden to the /what/ /you/ /send/ statement above.  It's just arranging to /re/send it before receiving.

Can anyone help point me to what I'm doing wrong, or misunderstanding?

I have no idea if this will help or not.  But it would be the first things that I would try.







[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux