Section: Linux (8)
Updated: 31 October 2011
tc qdisc add ... hfsc [ default CLASSID ]
tc class add ... hfsc [ [ rt SC ] [ ls SC ] | [ sc SC ] ] [ ul SC ]
rt : realtime service curve ls : linkshare service curve sc : rt+ls service curve ul : upperlimit service curve
• at least one of rt, ls or sc must be specified • ul can only be specified with ls or sc
- = [ [ m1 BPS ] d SEC ] m2 BPS:m1 : slope of the first segment d : x-coordinate of intersection m2 : slope of the second segment:
- = [ [ umax BYTE ] dmax SEC ] rate BPS:umax : maximum unit of work dmax : maximum delay rate : rate:
HFSC qdisc has only one optional parameter - default. CLASSID specifies the minor part of the default classid, where packets not classified by other means (e.g. u32 filter, CLASSIFY target of iptables) will be enqueued. If default is not specified, unclassified packets will be dropped.
As you can see in SYNOPSIS, service curve (SC) can be specified in two ways. Either as maximum delay for certain amount of work, or as a bandwidth assigned for certain amount of time. Obviously, m1 is simply umax/dmax.
Please direct bugreports and patches to: <net...@vger.kernel.org>
Manpage created by Michal Soltys (sol...@ziu.info)