I just wondering about hfsc and admission control.
"/* check the real-time service curve.  reserve 20% of interface bw */"


let get it on some example:

altq on $iface hfsc bandwidth 1Mb queue { 1 2 3 }
queue 1 hfsc(default realtime 50Kb linkshare 100Kb upperlimit 100Kb)
queue 2 hfsc( realtime 300Kb linkshare 400Kb upperlimit 400Kb )
queue 3 hfsc( realtime 400Kb linkshare 500Kb upperlimit 500Kb ) { 3a 3b }
 queue 3a hfsc( realtime 150Kb linkshare 250Kb upperlimit 300Kb)
 queue 3b hfsc( realtime 150Kb linkshare 250Kb upperlimit 300Kb)

this is only example :)
now the important thing, if you pfctl it it says that realtime is over 80% 
of Iface bandwidth and get error , but it is real exceded  ? ,the 
childrens are in parent 3 so shouldn`t admission control function dont sum them 
as already 
summed parent queue  ? i think it summ all queues on iface and dont check 
if it is parent or childrens of some parent.. or maybe i messed up 
or not understand somethink about hfsc :) , my ver is openbsd-current  

Reply via email to