Blame man/man8/tc-hfsc.8

Packit Service 3880ab
.TH HFSC 8 "31 October 2011" iproute2 Linux
Packit Service 3880ab
.
Packit Service 3880ab
.SH NAME
Packit Service 3880ab
HFSC \- Hierarchical Fair Service Curve's control under linux
Packit Service 3880ab
.
Packit Service 3880ab
.SH SYNOPSIS
Packit Service 3880ab
.nf
Packit Service 3880ab
tc qdisc add ... hfsc [ \fBdefault\fR CLASSID ]
Packit Service 3880ab
Packit Service 3880ab
tc class add ... hfsc [ [ \fBrt\fR SC ] [ \fBls\fR SC ] | [ \fBsc\fR SC ] ] [ \fBul\fR SC ]
Packit Service 3880ab
Packit Service 3880ab
\fBrt\fR : realtime service curve
Packit Service 3880ab
\fBls\fR : linkshare service curve
Packit Service 3880ab
\fBsc\fR : rt+ls service curve
Packit Service 3880ab
\fBul\fR : upperlimit service curve
Packit Service 3880ab
Packit Service 3880ab
\(bu at least one of \fBrt\fR, \fBls\fR or \fBsc\fR must be specified
Packit Service 3880ab
\(bu \fBul\fR can only be specified with \fBls\fR or \fBsc\fR
Packit Service 3880ab
.
Packit Service 3880ab
.IP "SC := [ [ \fBm1\fR BPS ] \fBd\fR SEC ] \fBm2\fR BPS"
Packit Service 3880ab
\fBm1\fR : slope of the first segment
Packit Service 3880ab
\fBd\fR  : x\-coordinate of intersection
Packit Service 3880ab
\fBm2\fR : slope of the second segment
Packit Service 3880ab
.PP
Packit Service 3880ab
.IP "SC := [ [ \fBumax\fR BYTE ] \fBdmax\fR SEC ] \fBrate\fR BPS"
Packit Service 3880ab
\fBumax\fR : maximum unit of work
Packit Service 3880ab
\fBdmax\fR : maximum delay
Packit Service 3880ab
\fBrate\fR : rate
Packit Service 3880ab
.PP
Packit Service 3880ab
.fi
Packit Service 3880ab
For description of BYTE, BPS and SEC \- please see \fBUNITS\fR
Packit Service 3880ab
section of \fBtc\fR(8).
Packit Service 3880ab
.
Packit Service 3880ab
.SH DESCRIPTION (qdisc)
Packit Service 3880ab
HFSC qdisc has only one optional parameter \- \fBdefault\fR. CLASSID specifies
Packit Service 3880ab
the minor part of the default classid, where packets not classified by other
Packit Service 3880ab
means (e.g. u32 filter, CLASSIFY target of iptables) will be enqueued. If
Packit Service 3880ab
\fBdefault\fR is not specified, unclassified packets will be dropped.
Packit Service 3880ab
.
Packit Service 3880ab
.SH DESCRIPTION (class)
Packit Service 3880ab
HFSC class is used to create a class hierarchy for HFSC scheduler. For
Packit Service 3880ab
explanation of the algorithm, and the meaning behind \fBrt\fR, \fBls\fR,
Packit Service 3880ab
\fBsc\fR and \fBul\fR service curves \- please refer to \fBtc\-hfsc\fR(7).
Packit Service 3880ab
Packit Service 3880ab
As you can see in \fBSYNOPSIS\fR, service curve (SC) can be specified in two
Packit Service 3880ab
ways. Either as maximum delay for certain amount of work, or as a bandwidth
Packit Service 3880ab
assigned for certain amount of time. Obviously, \fBm1\fR is simply
Packit Service 3880ab
\fBumax\fR/\fBdmax\fR.
Packit Service 3880ab
Packit Service 3880ab
Both \fBm2\fR and \fBrate\fR are mandatory. If you omit other
Packit Service 3880ab
parameters, you will specify linear service curve.
Packit Service 3880ab
.
Packit Service 3880ab
.SH "SEE ALSO"
Packit Service 3880ab
.
Packit Service 3880ab
\fBtc\fR(8), \fBtc\-hfsc\fR(7), \fBtc\-stab\fR(8)
Packit Service 3880ab
Packit Service 3880ab
Please direct bugreports and patches to: <netdev@vger.kernel.org>
Packit Service 3880ab
.
Packit Service 3880ab
.SH "AUTHOR"
Packit Service 3880ab
.
Packit Service 3880ab
Manpage created by Michal Soltys (soltys@ziu.info)