[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PF HFSC - need help with rules



Miroslav Kubik wrote:
This works:
pfctl -sq:
queue root_we0 bandwidth 10Mb priority 0 {others, 21}
queue  others bandwidth 10Mb hfsc( default )
queue  21 bandwidth 10Mb hfsc( realtime(128Kb 5000 64Kb) upperlimit 128Kb )

But if I del "grid" before other queues then it doesn't work. PF writes
this:

pfctl: link-sharing sc exceeds parent's sc
pf.conf:122: errors in queue definition
pfctl: Syntax error in config file: pf rules not loaded

I've found that this can be fixed by adding a linkshare statement and increasing the upperlimit a tiny bit, ie:
queue 21 hfsc(realtime (128Kb 5000 64Kb) linkshare 1Kb upperlimit 129Kb)
queue 22 hfsc(realtime (128Kb 5000 64Kb) linkshare 1Kb upperlimit 129Kb)


I'm sure someone here knows exactly why the linkshare is necessary.

---
Lars Hansson