81
Configuring data buffers
Data buffers temporarily store packets to avoid packet loss.
The switch has an ingress buffer and an egress buffer.
shows the structure of ingress and
egress buffers. An interface stores outgoing packets in the egress buffer when congestion occurs,
and stores incoming packets in the ingress buffer when the CPU is busy.
Figure 28 Data buffer structure
A buffer uses the following types of resources:
•
Cell
resources
—Store packets. The buffer uses cell resources based on packet sizes.
Suppose a cell resource provides 208 bytes. The buffer allocates one cell resource to a
128-byte packet and two cell resources to a 300-byte packet.
•
Packet
resources
—Store packet pointers. A packet pointer indicates where the packet is
located in cell resources. The buffer uses one packet resource for each incoming or outgoing
packet.
Each type of resources has a fixed area and a shared area.
•
Fixed
area
—Partitioned into queues, each of which is equally divided by all the interfaces on
the switch, as shown in
. When congestion occurs, the following rules apply:
a.
An interface first uses the relevant queues of the fixed area to store packets.
b.
When a queue is full, the interface uses the corresponding queue of the shared area.
c.
When the queue in the shared area is also full, the interface discards subsequent packets.
The system allocates the fixed area among queues as specified by the user. Even if a queue is
not full, other queues cannot preempt its space. Similarly, the share of a queue for an interface
cannot be preempted by other interfaces even if it is not full.
•
Shared
area
—Partitioned into queues, each of which is not equally divided by the interfaces,
as shown in
. The system determines the actual shared-area space for each queue
according to user configuration and the number of packets actually received and sent. If a
queue is not full, other queues can preempt its space.
The system puts packets received on all interfaces into a queue in the order they arrive. When
the queue is full, subsequent packets are dropped.
Summary of Contents for FlexFabric 5940 Series
Page 23: ...17 Figure 3 QoS processing flow ...
Page 84: ...78 Figure 26 MPLS label structure ...
Page 91: ...85 Switch burst mode enable ...