Hfsc configuration problems

Christopher McGee chris at xecu.net
Wed Feb 22 09:29:18 PST 2006


I've been trying to get hfsc working properly, but I'm obviously doing 
something wrong because I keep getting errors like this:

pfctl: link-sharing sc exceeds parent's sc

Here's my current configuration:

altq on $ext_if bandwidth 100Mb hfsc queue { queue1, queue2, queue3 }
queue queue1 bandwidth 500Kb priority 7 hfsc(realtime 128Kb red)
queue queue2 { queue2_1, queue2_2, queue2_3, queue2_4, queue2_5 }
  queue queue2_1 priority 5 hfsc(realtime 3Mb linkshare 100% default red)
  queue queue2_2 bandwidth 1.5Mb priority 3 hfsc(red)
  queue queue2_3 bandwidth 1Mb hfsc(red)
  queue queue2_4 bandwidth 4Mb hfsc(red)
  queue queue2_5 priority 3 hfsc(linkshare 100% red)
queue queue3 { queue3_1, queue3_2 }
  queue queue3_1 hfsc(linkshare 100% red)
  queue queue3_2 hfsc(linkshare 100% red)

I've given some minimum bandwidth to queues. I want queue2_1, 2_5, 3_1, 
3_2 to be able to utilize all of the spare bandwidth when they need it.  
I've read over the man pages, however, documentation on hfsc seems 
fairly limited.

Chris


More information about the freebsd-pf mailing list