Packet Loss

This topic describes how packet loss can adversely impact QoS in a network and describes ways to manage packet loss so that QoS is not affected.

• Tail drops occur when the output queue is full. These are common drops, which happen when a link is congested.

• Many other types of drops exist, usually the result of router congestion, that are uncommon and may require a hardware upgrade (input drop, ignore, overrun, frame errors).

The usual packet loss occurs when routers run out of buffer space for a particular interface output queue. The figure illustrates a full interface output queue, which causes newly arriving packets to be dropped. The term used for such drops is simply "output drop" or "tail drop" (packets are dropped at the tail of the queue).

Routers might also drop packets for these other less common reasons:

■ Input queue drop: The main CPU is congested and cannot process packets (the input queue is full).

■ Ignore: The router ran out of buffer space.

■ Overrun: The CPU is congested and cannot assign a free buffer to the new packet.

■ Frame errors: There is a hardware-detected error in a frame—cyclic redundancy check (CRC), runt, giant.

Ways to Prevent Packet Loss

Packet Loss Qos

Upgrade the link; the best solution but also the most expensive.

Guarantee enough bandwidth to sensitive packets.

Upgrade the link; the best solution but also the most expensive.

Guarantee enough bandwidth to sensitive packets.

Prevent congestion by randomly dropping less important packets before congestion occurs.

Packet loss is usually the result of congestion on an interface. Most applications that use TCP experience slowdown because TCP adjusts to the network resources. Dropped TCP segments cause TCP sessions to reduce their window sizes. There are some other applications that do not use TCP and cannot handle drops.

You can follow these approaches to prevent drops of sensitive applications:

■ Increase link capacity to ease or prevent congestion.

■ Guarantee enough bandwidth and increase buffer space to accommodate bursts of fragile applications. There are several mechanisms available in Cisco IOS QoS software that can guarantee bandwidth and provide prioritized forwarding to drop-sensitive applications, such as these mechanisms:

— MDDR (on Cisco 12000 series routers)

- IP RTP prioritization

■ Prevent congestion by dropping other packets before congestion occurs. You can use weighted random early detection (WRED) to start dropping other packets before congestion occurs.

These are some other mechanisms that you can use to prevent congestion:

■ Traffic shaping: Traffic shaping delays packets instead of dropping them (Generic Traffic Shaping [GTS], Frame Relay traffic shaping [FRTS], and class-based shaping).

■ Traffic policing: Traffic policing can limit the rate of less important packets to provide better service to drop-sensitive packets (committed access rate [CAR] and class-based policing).

Continue reading here: QoS for Converged Networks

Was this article helpful?

+3 0

Readers' Questions

  • ulrike
    How to find packet loss?
    7 months ago
  • Packet loss can be detected by using a packet loss testing tool such as ping or traceroute. To use ping, open a command line window on your computer and enter the IP address or domain name of the remote computer or server you want to test. The program will send packets to the remote machine, and calculate the percentage of packet loss based on the number of packets sent and received. To use traceroute, type tracert followed by the IP address or domain name of the target server. The program will display the route your packets take to reach the server and the percentage of packet loss along each segment.
    • reiss
      How does packet loss happen?
      8 months ago
    • Packet loss occurs when one or more packets of data sent from a source computer to a destination computer fail to arrive. This usually happens when the data travels through a network that is congested or unreliable. Packet loss can also occur due to problems with the network hardware, like routers or switches, or when the data is transmitted over long distances, as the signal degrades over time.
      • MAKSYMILIAN
        How to prevent packet loss?
        8 months ago
        1. Monitor Network Traffic: Monitor the amount of traffic being sent across the network to ensure that the amount of available bandwidth is sufficient to meet the demands of the data transmission.
        2. Utilize QoS: Implement quality of service (QoS) controls to prioritize network traffic according to specific criteria, such as type of data or source and destination. This helps to ensure that critical packets are delivered without delay.
        3. Increase Bandwidth: Increase available bandwidth by adding additional network connections or increasing the capacity of existing connections.
        4. Reduce Congestion: Increase the number of transmission channels and/or utilize dynamic routing protocols to reduce congestion.
        5. Monitor Connections: Monitor connection speeds and latencies to ensure that all devices are functioning properly.
        6. Upgrade Equipment: Upgrade network hardware and/or software to reduce packet loss, as well as decrease latency and jitter.
        7. Implement Error Detection: Implement error detection and correction protocols to detect, correct and re-send lost packets.