{"id":3252,"date":"2022-12-20T16:43:58","date_gmt":"2022-12-20T19:43:58","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/hfsc-man8\/"},"modified":"2022-12-20T16:43:58","modified_gmt":"2022-12-20T19:43:58","slug":"hfsc-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/hfsc-man8\/","title":{"rendered":"HFSC (man8)"},"content":{"rendered":"<h1 align=\"center\">HFSC<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION (qdisc)\">DESCRIPTION (qdisc)<\/a><br \/> <a href=\"#DESCRIPTION (class)\">DESCRIPTION (class)<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">HFSC \u2212 Hierarchical Fair Service Curve\u2019s control under linux<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">tc qdisc add &#8230; hfsc [ <b>default<\/b> CLASSID ]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">tc class add &#8230; hfsc [ [ <b>rt<\/b> SC ] [ <b>ls<\/b> SC ] | [ <b>sc<\/b> SC ] ] [ <b>ul<\/b> SC ]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>rt<\/b> : realtime service curve <b><br \/> ls<\/b> : linkshare service curve <b><br \/> sc<\/b> : rt+ls service curve <b><br \/> ul<\/b> : upperlimit service curve<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\u2022 at least one of <b>rt<\/b>, <b>ls<\/b> or <b>sc<\/b> must be specified <br \/> \u2022 <b>ul<\/b> can only be specified with <b>ls<\/b> or <b>sc<\/b> <br \/> SC := [ [ <b>m1<\/b> BPS ] <b>d<\/b> SEC ] <b>m2<\/b> BPS<\/p>\n<p style=\"margin-left:22%;\"><b>m1<\/b> : slope of the first segment <b><br \/> d<\/b> : x\u2212coordinate of intersection <b><br \/> m2<\/b> : slope of the second segment<\/p>\n<p style=\"margin-left:11%;\">SC := [ [ <b>umax<\/b> BYTE ] <b>dmax<\/b> SEC ] <b>rate<\/b> BPS<\/p>\n<p style=\"margin-left:22%;\"><b>umax<\/b> : maximum unit of work <b><br \/> dmax<\/b> : maximum delay <b><br \/> rate<\/b> : rate<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">For description of BYTE, BPS and SEC \u2212 please see <b>UNITS<\/b> section of <b>tc<\/b>(8).<\/p>\n<h2>DESCRIPTION (qdisc) <a name=\"DESCRIPTION (qdisc)\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">HFSC qdisc has only one optional parameter \u2212 <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.<\/p>\n<h2>DESCRIPTION (class) <a name=\"DESCRIPTION (class)\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">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 \u2212 please refer to <b>tc\u2212hfsc<\/b>(7).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">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>\n<p style=\"margin-left:11%; margin-top: 1em\">Both <b>m2<\/b> and <b>rate<\/b> are mandatory. If you omit other parameters, you will specify linear service curve.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>tc<\/b>(8), <b>tc\u2212hfsc<\/b>(7), <b>tc\u2212stab<\/b>(8)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Please direct bugreports and patches to: <netdev@vger.kernel.org><\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Manpage created by Michal Soltys (soltys@ziu.info)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  HFSC \u2212 Hierarchical Fair Service Curve\u2019s control under linux <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,389],"class_list":["post-3252","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-tc-hfsc"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3252"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3252\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}