Re: tbf queue question

Grant Taylor <[email protected]> Tue, 4 May 2021 09:47:22 -0600
Newsgroups gmane.linux.network.routing
Organization TNet Consulting
Message-ID <[email protected]>
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.



-- 
Grant. . . .
unix || die
smime.p7s (application/pkcs7-signature, 3.9 KB) - not displayed