Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impact of Byte Queue Limit on AVTP #40

Open
raosush opened this issue Feb 20, 2023 · 2 comments
Open

Impact of Byte Queue Limit on AVTP #40

raosush opened this issue Feb 20, 2023 · 2 comments

Comments

@raosush
Copy link

raosush commented Feb 20, 2023

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:

  • Would BQL impact the performance of AVTP?
    • BQL aims to improve the utilisation of the queue by appropriately queuing certain amount of data. AVTP, built on top of TSN(which requires ultra low latency), requires that the latency be bounded and be as low as possible. With BQL, the queuing delay can significantly be reduced as it tries to maintain the queues at the most optimal size, in an attempt to increase the utilisation of the link.

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

Thank you in advance!

@edersondisouza
Copy link
Collaborator

@vcgomes ^

@vcgomes
Copy link
Collaborator

vcgomes commented Jul 6, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants