Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rdr

#1
Quote from: gpb on December 01, 2021, 06:26:07 PM
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.
#2
Quote from: mimugmail on December 02, 2021, 03:19:17 PM
It could be me that stated this, but then I was wrong since its called FairQueue_CoDel

Yes it should be you stated that :) But read lots of dumynet/ipfw documentation and if I understand correctly, they say FQ_codel scheduler does not respect any ipfw/dumynet sub queues, it creates and uses its own queues. So it should not behave with weights of ipfw/dummynet queues?
#3
Quote from: mimugmail on December 02, 2021, 07:23:43 AM
Dont use mask, just use Fq_codel as scheduler and use queues where important gets 10, not so important 5, rest 1. If there is only traffic for 1 it still gets full BW

I think I read somewhere that FQ_codel scheduler has no weight meachanism, only wfq+ respects queue weighs? So what do you suggest, use FQ_codel scheduler instead of wfq+ on the pipe and continue to use seperate weighted queues?
#4
Hi,

I am new to OPNSense. I am trying to shape our internet connection so traffic is more evenly processed and I can prioritize important traffic. We have 500/500 mbps symmetric fiber connection, which we see saturated download at work hours.

I read documentation and I have some question. I do not want to set hard limits on any traffic so any one can use bandwidth if no body use it. I also want to set higher priority for some traffic and I also want to share available traffic inside queues.

1. Documentation has examples, it says I need to use "mask" on the queues to evenly share bandwidth inside queue. But the next example about "weighted queues" says to use "empty" mask. So What should I do? I need to have 3-4 queues that points to the same download pipe ( witch I set %10 lower than actual line speed, 450 mbps).

Queue A = Weighted 1 for catch all download traffic
Queue B = Weighted 100 for important traffic (DNS queries, NTP traffic etc etc)
Queue C = Weighted 80 for prioritize traffic for some other traffic (Some government websites)

So Should I use "mask" for this queues? If I use "mask", it creates seperate flows for all clients downloading. Will these clients share parent queues "weight"? If there are 1000 flows in Queue A, will each flow has weight 0.001 or they will have weight 1 each? If they will have separate weight then they will overrun the weight 100 queue as they will have very few flows?

If I don't use "mask" queues will have single flow but then is it mean bandwidth will not shared inside queue evenly?

2. Should I enable Codel? If yes, should I enable it on the pipe itself or on the queues or on both?

3. For our situation, should I increase slots (defult 50) or buckets(default 256)? With using mask, when we have +1000 flows inside Queue A, I see 4-5 client connection share same bucket. Is this a problem? Should I set bucket size more that expected flows?

I will be very glad if someone can help me on this.

Regards,

Rahman