# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-02-27 19:39+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "TC" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "13 December 2001" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "iproute2" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "tbf - Token Bucket Filter" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B rate B bytes/cell B<( latency> ms B<| limit> " "bytes B<) [ mpu> bytes B<[ peakrate> rate B bytes/cell B<] ]>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "burst is also known as buffer and maxburst. mtu is also known as minburst." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The Token Bucket Filter is a classful queueing discipline available for " "traffic control with the B(8) command." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "TBF is a pure shaper and never schedules traffic. It is non-work-conserving " "and may throttle itself, although packets are available, to ensure that the " "configured rate is not exceeded. It is able to shape up to 1mbit/s of " "normal traffic with ideal minimal burstiness, sending out data exactly at " "the configured rates." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Much higher rates are possible but at the cost of losing the minimal " "burstiness. In that case, data is on average dequeued at the configured rate " "but may be sent much faster at millisecond timescales. Because of further " "queues living in network adaptors, this is often not a problem." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ALGORITHM" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As the name implies, traffic is filtered based on the expenditure of " "B Tokens roughly correspond to bytes, with the additional " "constraint that each packet consumes some tokens, no matter how small it is. " "This reflects the fact that even a zero-sized packet occupies the link for " "some time." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On creation, the TBF is stocked with tokens which correspond to the amount " "of traffic that can be burst in one go. Tokens arrive at a steady rate, " "until the bucket is full." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If no tokens are available, packets are queued, up to a configured limit. " "The TBF now calculates the token deficit, and throttles until the first " "packet in the queue can be sent." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If it is not acceptable to burst out packets at maximum speed, a peakrate " "can be configured to limit the speed at which the bucket empties. This " "peakrate is implemented as a second TBF with a very small bucket, so that it " "doesn't burst." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To achieve perfection, the second bucket may contain only a single packet, " "which leads to the earlier mentioned 1mbit/s limit." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This limit is caused by the fact that the kernel can only throttle for at " "minimum 1 'jiffy', which depends on HZ as 1/HZ. For perfect shaping, only a " "single packet can get sent per jiffy - for HZ=100, this means 100 packets of " "on average 1000 bytes each, which roughly corresponds to 1mbit/s." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "PARAMETERS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "See B(8) for how to specify the units of these values." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "limit or latency" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Limit is the number of bytes that can be queued waiting for tokens to become " "available. You can also specify this the other way around by setting the " "latency parameter, which specifies the maximum amount of time a packet can " "sit in the TBF. The latter calculation takes into account the size of the " "bucket, the rate and possibly the peakrate (if set). These two parameters " "are mutually exclusive." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "burst" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Also known as buffer or maxburst. Size of the bucket, in bytes. This is the " "maximum amount of bytes that tokens can be available for instantaneously. " "In general, larger shaping rates require a larger buffer. For 10mbit/s on " "Intel, you need at least 10kbyte buffer if you want to reach your configured " "rate!" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If your buffer is too small, packets may be dropped because more tokens " "arrive per timer tick than fit in your bucket. The minimum buffer size can " "be calculated by dividing the rate by HZ." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Token usage calculations are performed using a table which by default has a " "resolution of 8 packets. This resolution can be changed by specifying the " "B size with the burst. For example, to specify a 6000 byte buffer with " "a 16 byte cell size, set a burst of 6000/16. You will probably never have to " "set this. Must be an integral power of 2." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mpu" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A zero-sized packet does not use zero bandwidth. For ethernet, no packet " "uses less than 64 bytes. The Minimum Packet Unit determines the minimal " "token usage (specified in bytes) for a packet. Defaults to zero." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "rate" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The speed knob. See remarks above about limits! See B(8) for units." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Furthermore, if a peakrate is desired, the following parameters are " "available:" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "peakrate" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Maximum depletion rate of the bucket. The peakrate does not need to be set, " "it is only necessary if perfect millisecond timescale shaping is required." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "mtu/minburst" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Specifies the size of the peakrate bucket. For perfect accuracy, should be " "set to the MTU of the interface. If a peakrate is needed, but some " "burstiness is acceptable, this size can be raised. A 3000 byte minburst " "allows around 3mbit/s of peakrate, given 1000 byte packets." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Like the regular burstsize you can also specify a B size." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLE & USAGE" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "To attach a TBF with a sustained maximum rate of 0.5mbit/s, a peakrate of " "1.0mbit/s, a 5kilobyte buffer, with a pre-bucket queue size limit calculated " "so the TBF causes at most 70ms of latency, with perfect peakrate behaviour, " "issue:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "# tc qdisc add dev eth0 handle 10: root tbf rate 0.5mbit \\e\n" " burst 5kb latency 70ms peakrate 1mbit \\e\n" " minburst 1540\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "To attach an inner qdisc, for example sfq, issue:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "# tc qdisc add dev eth0 parent 10:1 handle 100: sfq" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Without inner qdisc TBF queue acts as bfifo. If the inner qdisc is changed " "the limit/latency is not effective anymore." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B(8)" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "AUTHOR" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Alexey N. Kuznetsov, Ekuznet@ms2.inr.ac.ruE. This manpage maintained " "by bert hubert Eahu@ds9a.nlE" msgstr ""