94 lines
3.3 KiB
HTML
94 lines
3.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of HFSC</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>HFSC</H1>
|
|
Section: Linux (8)<BR>Updated: 31 October 2011<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
HFSC - Hierarchical Fair Service Curve's control under linux
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<PRE>
|
|
tc qdisc add ... hfsc [ <B>default</B> CLASSID ]
|
|
|
|
tc class add ... hfsc [ [ <B>rt</B> SC ] [ <B>ls</B> SC ] | [ <B>sc</B> SC ] ] [ <B>ul</B> SC ]
|
|
|
|
<B>rt</B> : realtime service curve
|
|
<B>ls</B> : linkshare service curve
|
|
<B>sc</B> : rt+ls service curve
|
|
<B>ul</B> : upperlimit service curve
|
|
|
|
• at least one of <B>rt</B>, <B>ls</B> or <B>sc</B> must be specified
|
|
• <B>ul</B> can only be specified with <B>ls</B> or <B>sc</B>
|
|
<DL COMPACT>
|
|
<DT id="1">SC := [ [ <B>m1</B> BPS ] <B>d</B> SEC ] <B>m2</B> BPS<DD><B>m1</B> : slope of the first segment
|
|
<B>d</B> : x-coordinate of intersection
|
|
<B>m2</B> : slope of the second segment
|
|
</DL>
|
|
|
|
<DL COMPACT>
|
|
<DT id="2">SC := [ [ <B>umax</B> BYTE ] <B>dmax</B> SEC ] <B>rate</B> BPS<DD><B>umax</B> : maximum unit of work
|
|
<B>dmax</B> : maximum delay
|
|
<B>rate</B> : rate
|
|
</DL>
|
|
|
|
</PRE>
|
|
|
|
For description of BYTE, BPS and SEC - please see <B>UNITS</B>
|
|
section of <B><A HREF="/cgi-bin/man/man2html?8+tc">tc</A></B>(8).
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION (qdisc)</H2>
|
|
|
|
HFSC qdisc has only one optional parameter - <B>default</B>. 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
|
|
<B>default</B> is not specified, unclassified packets will be dropped.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>DESCRIPTION (class)</H2>
|
|
|
|
HFSC class is used to create a class hierarchy for HFSC scheduler. For
|
|
explanation of the algorithm, and the meaning behind <B>rt</B>, <B>ls</B>,
|
|
<B>sc</B> and <B>ul</B> service curves - please refer to <B><A HREF="/cgi-bin/man/man2html?7+tc-hfsc">tc-hfsc</A></B>(7).
|
|
<P>
|
|
As you can see in <B>SYNOPSIS</B>, 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, <B>m1</B> is simply
|
|
<B>umax</B>/<B>dmax</B>.
|
|
<P>
|
|
Both <B>m2</B> and <B>rate</B> are mandatory. If you omit other
|
|
parameters, you will specify linear service curve.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+tc">tc</A></B>(8), <B><A HREF="/cgi-bin/man/man2html?7+tc-hfsc">tc-hfsc</A></B>(7), <B><A HREF="/cgi-bin/man/man2html?8+tc-stab">tc-stab</A></B>(8)
|
|
<P>
|
|
Please direct bugreports and patches to: <<A HREF="mailto:netdev@vger.kernel.org">netdev@vger.kernel.org</A>>
|
|
<A NAME="lbAG"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Manpage created by Michal Soltys (<A HREF="mailto:soltys@ziu.info">soltys@ziu.info</A>)
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="5"><A HREF="#lbAD">DESCRIPTION (qdisc)</A><DD>
|
|
<DT id="6"><A HREF="#lbAE">DESCRIPTION (class)</A><DD>
|
|
<DT id="7"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="8"><A HREF="#lbAG">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:17 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|