Debian Codegraph @

templates/man8/tc-tbf.8.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-02-27 19:39+0100\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "TC"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
28 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "13 December 2001"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "iproute2"
38 msgstr ""
39
40 #. type: TH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "Linux"
45 msgstr ""
46
47 #. type: SH
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 #, no-wrap
51 msgid "NAME"
52 msgstr ""
53
54 #. type: Plain text
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 msgid "tbf - Token Bucket Filter"
58 msgstr ""
59
60 #. type: SH
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 #, no-wrap
64 msgid "SYNOPSIS"
65 msgstr ""
66
67 #. type: Plain text
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 msgid ""
71 "B<tc qdisc ... tbf rate> rate B<burst> bytes/cell B<( latency> ms B<| limit> "
72 "bytes B<) [ mpu> bytes B<[ peakrate> rate B<mtu> bytes/cell B<] ]>"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 msgid ""
79 "burst is also known as buffer and maxburst. mtu is also known as minburst."
80 msgstr ""
81
82 #. type: SH
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "DESCRIPTION"
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 msgid ""
93 "The Token Bucket Filter is a classful queueing discipline available for "
94 "traffic control with the B<tc>(8) command."
95 msgstr ""
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 msgid ""
101 "TBF is a pure shaper and never schedules traffic. It is non-work-conserving "
102 "and may throttle itself, although packets are available, to ensure that the "
103 "configured rate is not exceeded. It is able to shape up to 1mbit/s of "
104 "normal traffic with ideal minimal burstiness, sending out data exactly at "
105 "the configured rates."
106 msgstr ""
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid ""
112 "Much higher rates are possible but at the cost of losing the minimal "
113 "burstiness. In that case, data is on average dequeued at the configured rate "
114 "but may be sent much faster at millisecond timescales. Because of further "
115 "queues living in network adaptors, this is often not a problem."
116 msgstr ""
117
118 #. type: SH
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, no-wrap
122 msgid "ALGORITHM"
123 msgstr ""
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "As the name implies, traffic is filtered based on the expenditure of "
130 "B<tokens.> Tokens roughly correspond to bytes, with the additional "
131 "constraint that each packet consumes some tokens, no matter how small it is. "
132 "This reflects the fact that even a zero-sized packet occupies the link for "
133 "some time."
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "On creation, the TBF is stocked with tokens which correspond to the amount "
141 "of traffic that can be burst in one go. Tokens arrive at a steady rate, "
142 "until the bucket is full."
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "If no tokens are available, packets are queued, up to a configured limit. "
150 "The TBF now calculates the token deficit, and throttles until the first "
151 "packet in the queue can be sent."
152 msgstr ""
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "If it is not acceptable to burst out packets at maximum speed, a peakrate "
159 "can be configured to limit the speed at which the bucket empties. This "
160 "peakrate is implemented as a second TBF with a very small bucket, so that it "
161 "doesn't burst."
162 msgstr ""
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "To achieve perfection, the second bucket may contain only a single packet, "
169 "which leads to the earlier mentioned 1mbit/s limit."
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "This limit is caused by the fact that the kernel can only throttle for at "
177 "minimum 1 'jiffy', which depends on HZ as 1/HZ. For perfect shaping, only a "
178 "single packet can get sent per jiffy - for HZ=100, this means 100 packets of "
179 "on average 1000 bytes each, which roughly corresponds to 1mbit/s."
180 msgstr ""
181
182 #. type: SH
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "PARAMETERS"
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid "See B<tc>(8) for how to specify the units of these values."
193 msgstr ""
194
195 #. type: TP
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "limit or latency"
200 msgstr ""
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "Limit is the number of bytes that can be queued waiting for tokens to become "
207 "available. You can also specify this the other way around by setting the "
208 "latency parameter, which specifies the maximum amount of time a packet can "
209 "sit in the TBF. The latter calculation takes into account the size of the "
210 "bucket, the rate and possibly the peakrate (if set). These two parameters "
211 "are mutually exclusive."
212 msgstr ""
213
214 #. type: TP
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "burst"
219 msgstr ""
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "Also known as buffer or maxburst. Size of the bucket, in bytes. This is the "
226 "maximum amount of bytes that tokens can be available for instantaneously. "
227 "In general, larger shaping rates require a larger buffer. For 10mbit/s on "
228 "Intel, you need at least 10kbyte buffer if you want to reach your configured "
229 "rate!"
230 msgstr ""
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid ""
236 "If your buffer is too small, packets may be dropped because more tokens "
237 "arrive per timer tick than fit in your bucket. The minimum buffer size can "
238 "be calculated by dividing the rate by HZ."
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 msgid ""
245 "Token usage calculations are performed using a table which by default has a "
246 "resolution of 8 packets. This resolution can be changed by specifying the "
247 "B<cell> size with the burst. For example, to specify a 6000 byte buffer with "
248 "a 16 byte cell size, set a burst of 6000/16. You will probably never have to "
249 "set this. Must be an integral power of 2."
250 msgstr ""
251
252 #. type: TP
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "mpu"
257 msgstr ""
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "A zero-sized packet does not use zero bandwidth. For ethernet, no packet "
264 "uses less than 64 bytes. The Minimum Packet Unit determines the minimal "
265 "token usage (specified in bytes) for a packet. Defaults to zero."
266 msgstr ""
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "rate"
273 msgstr ""
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "The speed knob. See remarks above about limits! See B<tc>(8) for units."
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "Furthermore, if a peakrate is desired, the following parameters are "
287 "available:"
288 msgstr ""
289
290 #. type: TP
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "peakrate"
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "Maximum depletion rate of the bucket. The peakrate does not need to be set, "
302 "it is only necessary if perfect millisecond timescale shaping is required."
303 msgstr ""
304
305 #. type: TP
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "mtu/minburst"
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid ""
316 "Specifies the size of the peakrate bucket. For perfect accuracy, should be "
317 "set to the MTU of the interface. If a peakrate is needed, but some "
318 "burstiness is acceptable, this size can be raised. A 3000 byte minburst "
319 "allows around 3mbit/s of peakrate, given 1000 byte packets."
320 msgstr ""
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid "Like the regular burstsize you can also specify a B<cell> size."
326 msgstr ""
327
328 #. type: SH
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "EXAMPLE & USAGE"
333 msgstr ""
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "To attach a TBF with a sustained maximum rate of 0.5mbit/s, a peakrate of "
340 "1.0mbit/s, a 5kilobyte buffer, with a pre-bucket queue size limit calculated "
341 "so the TBF causes at most 70ms of latency, with perfect peakrate behaviour, "
342 "issue:"
343 msgstr ""
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid ""
350 "# tc qdisc add dev eth0 handle 10: root tbf rate 0.5mbit \\e\n"
351 " burst 5kb latency 70ms peakrate 1mbit \\e\n"
352 " minburst 1540\n"
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid "To attach an inner qdisc, for example sfq, issue:"
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 msgid "# tc qdisc add dev eth0 parent 10:1 handle 100: sfq"
365 msgstr ""
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 msgid ""
371 "Without inner qdisc TBF queue acts as bfifo. If the inner qdisc is changed "
372 "the limit/latency is not effective anymore."
373 msgstr ""
374
375 #. type: SH
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid "SEE ALSO"
380 msgstr ""
381
382 #. type: Plain text
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 msgid "B<tc>(8)"
386 msgstr ""
387
388 #. type: SH
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "AUTHOR"
393 msgstr ""
394
395 #. type: Plain text
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 msgid ""
399 "Alexey N. Kuznetsov, E<lt>[email protected]<gt>. This manpage maintained "
400 "by bert hubert E<lt>[email protected]<gt>"
401 msgstr ""