Shared Bandwidth + QOS



  • Morning Everyone,

    So I haven't found anything about it as it appears that all traffic shaping articles are either one or the other, is it possible to do dynamic traffic sharing to the total bandwidth AND do traffic shaping via PRIQ to the bandwidth they are allotted? If so how? Currently I have dynamic traffic sharing working via a floating rule but from what I have read/tested you can't match multiple floating rules.

    Followup question about dynamic bandwidth, while I have the limiter setup, what interfaces is it best to setup the limiter? On the gateways or the LAN?



  • Unless I'm misunderstanding your question, bandwidth shaping and priority queuing are logically incompatible. You can't give flow 1 more bandwidth than flow 2 while letting flow 2's packets always go first.



  • @Harvy66:

    Unless I'm misunderstanding your question, bandwidth shaping and priority queuing are logically incompatible. You can't give flow 1 more bandwidth than flow 2 while letting flow 2's packets always go first.

    I am trying to apply priority queuing to bandwidth shaped traffic.

    Example:

    X number of people connected to 100mbp/s link.
    Every person is given a certain dynamically adjusted pipe of bandwidth maxing out at up to (100mbps/x # of people).
    I then want to apply PRIQ to each pipe individually so even if everyone is maxing out their pipe I can still prioritize their traffic to maximize user experience.

    Not sure if this is possible, but hoping it is. As I said, I haven't really found anyone who has touched on this so I am thinking it may not be possible in pfSense.



  • You'll probably get most of your benefit by giving each person their own Queue in HFSC, then checking CoDel as the queue's sub-discipline. Using HFSC instead of limiters allows other users to consume any unused bandwidth from others.



  • @Harvy66:

    You'll probably get most of your benefit by giving each person their own Queue in HFSC, then checking CoDel as the queue's sub-discipline. Using HFSC instead of limiters allows other users to consume any unused bandwidth from others.

    I will start researching this tonight, I hope its the solution to my goal.



  • So I am pretty sure I got the basics of HFSC and how it works, however, can you set # bandwidth for a specific queue per user, or does the minimum value apply to any/all users as a whole?



  • Queues know nothing about users or anything really. The only thing a queue knows about is the traffic going through them and all traffic is treated the same.



  • @Harvy66:

    Queues know nothing about users or anything really. The only thing a queue knows about is the traffic going through them and all traffic is treated the same.

    Sorry I meant IP not user.



  • Same difference. In a simplified sense, queues don't care what traffic goes through them. Of course there are exceptions, but they're agnostic about the traffic.


Log in to reply