1
General Discussion / Re: Traffic Shaper weighted queues, should I use "mask"?
« on: December 03, 2021, 08:57:33 am »Good questions...I have no idea what the answers are. Apparently along with the incredible flexibility of the shaper makes it equally complex. If you haven't already, you might check this link for some additional information.
https://www.freebsd.org/cgi/man.cgi?query=ipfw&sektion=&n=1
Scroll down to the section "PIPE, QUEUE AND SCHEDULER CONFIGURATION", about half-way...just do a page search. At least you'll have some definitions, not sure if it will ultimately be helpful or not.
Hopefully someone that has experience provides some insight into your questions. Cheers.
Thanks for the link, I read this and also read pfsense docs about dummynet. I could only get answer to my first questin
* Using mask causes dynamic copies of the parent queue with the "same" weight. So lets say I create a queue with ip mask and weight 1 and second queue with ip mask weight 100. Then first queue has 2000 flows and second queue has 10 flows. As I understand, then the PIPEs bandwidht will be shared as 2000x1=2000 for first queue and 10x100=1000 for second queue. As you see I want to to have 100x more priority for second queue but instead it will have half priority of the first queue in the end.
* Without using mask, all traffic from different IPs will end up in the same flow so they are not guarantined to get even bandwith. It is up to the scheduler.
* I could not learned about WFQ+ with codel enabled on the pipe or queue will respect to queue weights or not.
* as I do not use mask, bucket size is not important for me. But I could not learned about bucket size etiher.