OPNsense Forum

English Forums => 25.7, 25.10 Series => Topic started by: Siarap on November 06, 2025, 07:07:15 PM

Title: How to set up drr?
Post by: Siarap on November 06, 2025, 07:07:15 PM
How to properly setup shaper with deflicit round robin sheduler type. This the same setup as fq codel? I want to test it. I dont know do i need to use mask or not. There is no info in official opnsense documentation.
Title: Re: How to set up drr?
Post by: Seimus on November 06, 2025, 07:16:55 PM
DRR is not as FQ_Codel. They are totally different.

DRR is more closer to WFQ and its configured in similar way.
If you need a MASK, either on Pipe or Queue depends what you want to achieve.

Quotewf2q+   implements  the   WF2Q+  algorithm,  which is a Weighted
             Fair Queueing algorithm which permits  flows  to    share
             bandwidth   according  to  their    weights.   Note  that
             weights are not priorities; even   a flow with  a   minus-
             cule weight will   never starve.  WF2Q+ has O(log N) per-
             packet processing cost, where N is the number of   flows,
             and  is the default algorithm used by previous versions
             dummynet's queues.
 rr        implements the Deficit Round Robin algorithm, which has
             O(1) processing costs (roughly, 100-150ns  per  packet)
             and  permits bandwidth allocation according to weights,
             but with   poor service guarantees.
qfq      implements the QFQ algorithm,  which  is    a  very  fast
             variant   of  WF2Q+, with   similar   service   guarantees and
             O(1) processing costs (roughly, 200-250ns per packet).

Regards,
S.
Title: Re: How to set up drr?
Post by: Siarap on November 06, 2025, 07:22:35 PM
I dontknow whats the difference between mask on pipe and mask on queue when using round robin. I dont see any difference. Probably ive set something wrong.
Title: Re: How to set up drr?
Post by: Seimus on November 06, 2025, 07:28:33 PM
There is no difference in behavior for MASK when using different schedulers.

The MASK behavior difference is depending on if its used on PIPE (scheduler) or QUEUE. Its explained in the OPNsense docs as well in FreeBSD docs.

Regards,
S.