-
Notifications
You must be signed in to change notification settings - Fork 188
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
Priority queue cannot work #16
Comments
Not sure what do you mean by it does not work. You first need to enable it, use probably the optimized bmv2 build, and then use the right settings so you observe something. In any case, as you can read in that mailing list, the bmv2 priority queueing does not work very well. The principle? You have X queues. As long as there is traffic in a queue with higher priority, the scheduler will take traffic from there. In order to see its effect you will need to congest the thing. |
Thank you for your reply. I downloaded your Virtual Machine Image.
Then I entered the directory .../p4-learning/examples/multiqueueing/ and Through iperf, h1 sends packets to h3 through port 5000, and h2 sends packets to h3 through port 5001. I found that whether I send UDP or TCP packets, the bandwidth on both sides is the same. Did I miss some steps? Thanks a lot. |
It is been years I do not try the multiqueueing. One extra thing you could try is to build bmv2 without debugging, and make sure you disable pcap logging in the
Also another thing you should do, which probably I do not do in the simple multiqueueing example is to rate limit the links and queues. There is a CLI command to reduce the queues rate. |
Hello, |
Priority queue cannot work. h1 and h2 get the same bandwidth.
What should I do? BTW, what is the principle of priority queue?
My question is the same with what asked in the p4 maillist : http://lists.p4.org/pipermail/p4-dev_lists.p4.org/2018-March/003465.html
Thanks a lot.
The text was updated successfully, but these errors were encountered: