1PBFIFO(8)                            Linux                           PBFIFO(8)
2
3
4

NAME

6       pfifo - Packet limited First In, First Out queue
7
8       bfifo - Byte limited First In, First Out queue
9
10

SYNOPSIS

12       tc qdisc ... add pfifo [ limit packets ]
13
14       tc qdisc ... add bfifo [ limit bytes ]
15
16

DESCRIPTION

18       The  pfifo  and  bfifo qdiscs are unadorned First In, First Out queues.
19       They are the simplest queues possible and therefore have  no  overhead.
20       pfifo  constrains the queue size as measured in packets.  bfifo does so
21       as measured in bytes.
22
23       Like all non-default qdiscs, they maintain statistics. This might be  a
24       reason to prefer pfifo or bfifo over the default.
25
26

ALGORITHM

28       A  list  of  packets  is  maintained, when a packet is enqueued it gets
29       inserted at the tail of a list. When a packet needs to be sent  out  to
30       the network, it is taken from the head of the list.
31
32       If  the  list  is  too long, no further packets are allowed on. This is
33       called 'tail drop'.
34
35

PARAMETERS

37       limit  Maximum queue size. Specified in bytes for bfifo, in packets for
38              pfifo. For pfifo, defaults to the interface txqueuelen, as spec‐
39              ified with ifconfig(8) or ip(8).  The range for  this  parameter
40              is [0, UINT32_MAX].
41
42              For  bfifo,  it  defaults  to  the  txqueuelen multiplied by the
43              interface MTU.  The range for this parameter is [0,  UINT32_MAX]
44              bytes.
45
46              Note: The link layer header was considered when counting packets
47              length.
48
49

OUTPUT

51       The output of tc -s qdisc ls contains the limit, either in  packets  or
52       in  bytes, and the number of bytes and packets actually sent. An unsent
53       and dropped packet only appears between braces and is  not  counted  as
54       'Sent'.
55
56       In this example, the queue length is 100 packets, 45894 bytes were sent
57       over 681 packets.  No packets were dropped, and as the pfifo queue does
58       not slow down packets, there were also no overlimits:
59
60       # tc -s qdisc ls dev eth0
61       qdisc pfifo 8001: dev eth0 limit 100p
62        Sent 45894 bytes 681 pkts (dropped 0, overlimits 0)
63
64       If a backlog occurs, this is displayed as well.
65

SEE ALSO

67       tc(8)
68
69

AUTHORS

71       Alexey N. Kuznetsov, <kuznet@ms2.inr.ac.ru>
72
73       This manpage maintained by bert hubert <ahu@ds9a.nl>
74
75
76
77iproute2                        10 January 2002                      PBFIFO(8)
Impressum