Determining Optimal Packet Size for SAToP Bundles Overview
You can specify the size of IP packets that are created from data received at the T1/E1 interface. The CTP device uses packet size along with the interface rate to calculate the packet rate; that is, the rate that packets are created. The maximum packet rate is 1500 packets per second.
To determine the optimal packet size, consider the following:
Bandwidth for transporting SAToP data
Packet creation delay
Performance of the IP network
For example, larger packet sizes are more bandwidth-efficient, but introduce more delay during packet creation.
Bandwidth for Transporting SAToP Data
When considering bandwidth in relation to deciding packet size, add overhead for both the Layer 2 encapsulation and the IP header. The IP header comprises 20 bytes; and the encapsulation overhead varies, but is typically either 6 or 8 bytes on serial links. This overhead causes smaller packets to be less efficient and result in serial data requiring more bandwidth.
Calculate the bandwidth required for a serial bit stream as follows:
IP Bandwidth = [Packet Size (bytes) + 20 (bytes for IP header) + 4 bytes MPLS + 4 bytes GRE + 4 (bytes for control word) x [Packet Rate (pps)] x 8
Packet Creation Delay
Data received at the CTP interface must be buffered long enough to allow a packet to be created. The delay to create the packet increases as either the size of the packet increases or as the rate of the interface decreases. Generally, this delay is minimal except when the rate of the interface is low and the packet size is large. We recommend that you set the packet size to a smaller value for lower-speed interfaces. Table 1 provides examples of interface packet creation delay in milliseconds.
T1/E1 Interface Delay (msec) | ||||||
---|---|---|---|---|---|---|
Packet Size (bytes) | ||||||
Interface Rate (Kbps) | 128 | 256 | 512 | 768 | 1024 | 1400 |
1544 |
0.7 |
1.3 |
2.7 |
4.0 |
5.3 |
7.3 |
2048 |
.5 |
1.0 |
2.0 |
3.0 |
4.0 |
5.5 |
Performance of the IP Network
The number of packets created (packet rate) is inversely related to the packet size configured. For example, smaller packets result in a greater packet rate. When you configure the packet size, consider the packet-forwarding performance of the attached router and network. Table 2 provides examples of packet rates for various packet sizes and serial interface rates.
Packet Rate (Packets per Second) | ||||||
---|---|---|---|---|---|---|
Packet Size (Bytes) | ||||||
Interface Rate (Kbps) | 128 | 256 | 512 | 768 | 1024 | 1400 |
1544 |
1507.8 |
753.9 |
277.0 |
251.3 |
188.5 |
137.9 |
2048 |
2000.0 |
1000.0 |
500.0 |
333.3 |
250.0 |
182.9 |