[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring Large Delay Buffers for Slower Interfaces

By default, T1, E1, and NxDS0 interfaces and DLCIs configured on channelized IQ PICs are limited to 100,000 microseconds of delay buffer. (The default average packet size on the IQ PIC is 40 bytes.) For these interfaces, it might be necessary to configure a larger buffer size to prevent congestion and packet dropping. You can do so on the following PICs:

Congestion and packet dropping occur when large bursts of traffic are received by slower interfaces. This happens when faster interfaces pass traffic to slower interfaces, which is often the case when edge devices receive traffic from the core of the network. For example, a 100,000-microsecond T1 delay buffer can absorb only 20 percent of a 5000-microsecond burst of traffic from an upstream OC3 interface. In this case, 80 percent of the burst traffic is dropped.

Table 30 shows some recommended buffer sizes needed to absorb typical burst sizes from various upstream interface types.

Table 30: Recommended Delay Buffer Sizes

Length of Burst

Upstream Interface

Downstream Interface

Recommended Buffer on Downstream Interface

5000 microseconds

OC3

E1 or T1

500,000 microseconds

5000 microseconds

E1 or T1

E1 or T1

100,000 microseconds

1000 microseconds

T3

E1 or T1

100,000 microseconds

To ensure that traffic is queued and transmitted properly on E1, T1, and NxDS0 interfaces and DLCIs, you can configure a buffer size larger than the default maximum. To enable larger buffer sizes to be configured, include the q-pic-large-buffer (large-scale | small-scale) statement at the [edit chassis fpc slot-number pic pic-number] hierarchy level:

[edit chassis fpc slot-number pic pic-number]
q-pic-large-buffer large-scale;

If you specify large-scale, the feature supports a larger number of interfaces. If you specify small-scale, the default, then the feature supports a smaller number of interfaces.

When you include the q-pic-large-buffer statement in the configuration, the larger buffer is transparently available for allocation to scheduler queues. The larger buffer maximum varies by interface type, as shown in Table 31.

Table 31: Maximum Delay Buffer with q-pic-large-buffer Enabled by Interface

Platform, PIC, or Interface Type

Maximum Buffer Size

With Large Buffer Sizes Not Enabled

T-series and M320, Type 1 and Type 2 FPCs

80,000 microseconds

T-series and M320, Type 3 FPCs

50,000 microseconds

Other M-series

200,000 microseconds

IQ PICs on all platforms

100,000 microseconds

With Large Buffer Sizes Enabled

Channelized T3 and channelized OC3 DLCIs—Maximum sizes vary by shaping rate:

With shaping rate from 64,000 through 255,999 bps

4,000,000 microseconds

With shaping rate from 256,000 through 511,999 bps

2,000,000 microseconds

With shaping rate from 512,000 through 1,023,999 bps

1,000,000 microseconds

With shaping rate from 1,024,000 through 2,048,000 bps

500,000 microseconds

With shaping rate from 2,048,001 bps through 10 Mbps

400,000 microseconds

With shaping rate from 10,000,001 bps through 20 Mbps

300,000 microseconds

With shaping rate from 20,000,001 bps through 30 Mbps

200,000 microseconds

With shaping rate from 30,000,001 bps through 40 Mbps

150,000 microseconds

With shaping rate up to 40,000,001 bps and above

100,000 microseconds

NxDS0 IQ Interfaces—Maximum sizes vary by channel size:

1xDSO through 3xDS0

4,000,000 microseconds

4xDSO through 7xDS0

2,000,000 microseconds

8xDSO through 15xDS0

1,000,000 microseconds

16xDSO through 32xDS0

500,000 microseconds

Other IQ interfaces

500,000 microseconds

If you configure a delay buffer larger than the new maximum, the candidate configuration can be committed successfully. However, the setting is rejected by the packet forwarding component, the default setting is used instead, and a system log warning message is generated.

For interfaces that support DLCI queuing, the large buffer is supported for DLCIs on which the configured shaping rate is less than or equal to the physical interface bandwidth. For instance, when you configure a Frame Relay DLCI on a Channelized T3 IQ PIC, and you configure the shaping rate to be 1.5 Mbps, the amount of delay buffer that can be allocated to the DLCI is 500,000 microseconds, which is equivalent to a T1 delay buffer. For more information about DLCI queuing, see Associating the Scheduler Map and a Shaping Rate with a DLCI or VLAN.

For NxDS0 interfaces, the larger buffer sizes can be up to 4,000,000 microseconds, depending on the number of DS0 channels in the NxDS0 interface. For slower NxDS0 interfaces with fewer channels, the delay buffer can be relatively larger than for faster NxDS0 interfaces with more channels. This is shown in Table 33. To calculate specific buffer sizes for various NxDS0 interfaces, see Maximum Delay Buffer for NxDS0 Interfaces.

You can allocate the delay buffer as either a percentage or a temporal value. The resulting delay buffer is calculated differently depending how you configure the delay buffer, as shown in Table 32.

Table 32: Delay-Buffer Calculations

Delay Buffer Configuration

Formula

Example

Percentage

available interface bandwidth * configured percentage buffer-size * maximum buffer = queue buffer

If you configure a queue on a T1 interface to use 30 percent of the available delay buffer, the queue receives 28,125 bytes of delay buffer:

sched-expedited {
transmit-rate percent 30;
buffer-size percent 30;
}

1.5 Mbps * 0.3 * 500,000 microseconds = 225,000 bits = 28,125 bytes

Temporal

available interface bandwidth * configured percentage transmit-rate * configured temporal buffer-size = queue buffer

If you configure a queue on a T1 interface to use 500,000 microseconds of delay buffer, and you configure the transmission rate to be 20 percent, the queue receives 18,750 bytes of delay buffer:

sched-best {
transmit-rate percent 20;
buffer-size temporal 500000;
}

1.5 Mbps * 0.2 * 500,000 microseconds = 150,000 bits = 18,750 bytes

Percentage, with buffer size larger than transmit rate

 

In this example, the delay buffer is allocated twice the transmit rate. Maximum delay buffer latency can be up to twice the 500,000-microsecond delay buffer if the queue’s transmit rate cannot exceed the allocated transmit rate.

sched-extra-buffer {
transmit-rate percent 10;
buffer-size percent 20;

FRF.16 LSQ bundles

For total bundle bandwidth < T1 bandwidth, the delay-buffer rate is 1 second.

For total bundle bandwidth >= T1 bandwidth, the delay-buffer rate is 200 milliseconds (ms).

 

For more information, see the following sections:


[Contents] [Prev] [Next] [Index] [Report an Error]