tc-hfsc(8)

tc-hfsc8

Hierarchical fair service curve's control under linux

Usage

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

For description of BYTE, BPS and SEC - please see UNITS section of tc(8).

DESCRIPTION (qdisc)

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.

DESCRIPTION (class)

HFSC class is used to create a class hierarchy for HFSC scheduler. For explanation of the algorithm, and the meaning behind rt, ls, sc and ul service curves - please refer to tc-hfsc(7).

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.

Both m2 and rate are mandatory. If you omit other parameters, you will specify linear service curve.

Releases

8 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–Arch

Author

Manpage created by Michal Soltys ([email protected])

From iproute2 7.3.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.