Avnu / libavtp

Open source implementation of Audio Video Transport Protocol (AVTP) specified in IEEE 1722-2016 spec.
BSD 3-Clause "New" or "Revised" License
62 stars 34 forks source link

Impact of Byte Queue Limit on AVTP #40

Open raosush opened 1 year ago

raosush commented 1 year ago

Hi, I have been reading the IEEE1722 document and have also been experimenting with this implementation of AVTP. I had also been going through the TC components of the Linux kernel and came across Byte Queue Limit(BQL)(Section 4.10). I stumbled upon the following thought after reading about BQL:

I request all of you to share your thoughts regarding the same.

Thank you in advance!

edersondisouza commented 1 year ago

@vcgomes ^

vcgomes commented 1 year ago

Yes, in theory, BQL will add a bit of overhead to the transmission path, but from my mental model, the impact should be minor when the transmissions are well behaved, i.e. less or equal to the configured rates (when using CBS, for example).

In the case of less well behaved transmissions you should see increased latency because the packets are being held for longer periods of time, because the transmission queue will be "busy" for longer.

Anyway, it might be worth to disable CONFIG_BQL in your kernel config and do some experiments.