DEV Community

Cover image for NDM-TCP vs TCP Cubic vs TCP Reno: Urban LTE/4G Network Performance Test
Muhammed Shafin P
Muhammed Shafin P

Posted on

NDM-TCP vs TCP Cubic vs TCP Reno: Urban LTE/4G Network Performance Test

In this performance evaluation, we compared three congestion control algorithms—NDM-TCP (ML-based), TCP Cubic, and TCP Reno—under network conditions that simulate a typical urban LTE/4G mobile network environment.

Test Configuration: Urban LTE/4G Simulation

To replicate real-world mobile network conditions, we configured the following network parameters using Linux traffic control (tc):

  • Base Latency: 50ms
  • Latency Variation: ±20ms (simulating jitter)
  • Packet Loss Rate: 5%

These parameters were randomly chosen to represent common conditions in urban cellular networks, where users experience moderate latency with significant variation and occasional packet loss due to signal interference and congestion.

Test Results Overview

The following data was captured during a 10-second iperf3 performance test:

Metric NDM-TCP (ML Model) TCP Cubic TCP Reno
Total Transfer (Sender) 22.5 MBytes 36.4 MBytes 47.6 MBytes
Total Received (Receiver) 19.8 MBytes 34.6 MBytes 44.1 MBytes
Average Bitrate (Sender) 18.9 Mbits/sec 30.5 Mbits/sec 39.9 Mbits/sec
Receiver Bitrate 16.4 Mbits/sec 28.8 Mbits/sec 36.5 Mbits/sec
Total Retransmissions 23 30 52
Test Duration (Receiver) 10.12 sec 10.08 sec 10.13 sec

Detailed Interval Analysis

NDM-TCP Performance Over Time

Interval (sec) Transfer Bitrate Retr Cwnd
0.00-1.00 2.38 MBytes 19.9 Mbits/sec 3 256 KBytes
1.00-2.00 2.88 MBytes 24.1 Mbits/sec 2 320 KBytes
2.00-3.00 1.00 MBytes 8.39 Mbits/sec 4 128 KBytes
3.00-4.00 2.38 MBytes 19.9 Mbits/sec 2 320 KBytes
4.00-5.00 2.25 MBytes 18.9 Mbits/sec 2 256 KBytes
5.00-6.00 2.88 MBytes 24.1 Mbits/sec 4 128 KBytes
6.00-7.00 2.00 MBytes 16.8 Mbits/sec 1 320 KBytes
7.00-8.00 1.25 MBytes 10.5 Mbits/sec 3 128 KBytes
8.00-9.00 2.00 MBytes 16.8 Mbits/sec 1 320 KBytes
9.00-10.00 3.50 MBytes 29.3 Mbits/sec 1 192 KBytes

TCP Cubic Performance Over Time

Interval (sec) Transfer Bitrate Retr Cwnd
0.00-1.00 4.75 MBytes 39.8 Mbits/sec 7 512 KBytes
1.00-2.00 3.12 MBytes 26.2 Mbits/sec 3 320 KBytes
2.00-3.00 4.62 MBytes 38.8 Mbits/sec 2 576 KBytes
3.00-4.00 4.62 MBytes 38.8 Mbits/sec 3 448 KBytes
4.00-5.00 2.62 MBytes 22.0 Mbits/sec 4 256 KBytes
5.00-6.00 2.50 MBytes 21.0 Mbits/sec 1 384 KBytes
6.00-7.00 3.38 MBytes 28.3 Mbits/sec 2 448 KBytes
7.00-8.00 3.38 MBytes 28.3 Mbits/sec 5 448 KBytes
8.00-9.00 3.75 MBytes 31.5 Mbits/sec 1 448 KBytes
9.00-10.00 3.62 MBytes 30.3 Mbits/sec 2 512 KBytes

TCP Reno Performance Over Time

Interval (sec) Transfer Bitrate Retr Cwnd
0.00-1.00 10.6 MBytes 89.0 Mbits/sec 11 1.75 MBytes
1.00-2.00 10.8 MBytes 90.2 Mbits/sec 11 576 KBytes
2.00-3.00 3.88 MBytes 32.5 Mbits/sec 5 192 KBytes
3.00-4.00 2.75 MBytes 23.1 Mbits/sec 3 320 KBytes
4.00-5.00 2.75 MBytes 23.1 Mbits/sec 3 512 KBytes
5.00-6.00 4.88 MBytes 40.9 Mbits/sec 4 384 KBytes
6.00-7.00 3.12 MBytes 26.2 Mbits/sec 2 448 KBytes
7.00-8.00 4.25 MBytes 35.7 Mbits/sec 7 192 KBytes
8.00-9.00 1.75 MBytes 14.7 Mbits/sec 5 128 KBytes
9.00-10.00 2.88 MBytes 24.1 Mbits/sec 1 384 KBytes

Key Findings and Analysis

1. NDM-TCP: Balanced and Conservative

The ML-driven NDM-TCP demonstrated a stability-focused approach in this moderate-loss environment:

  • Moderate Throughput: Achieved 18.9 Mbits/sec average bitrate
  • Controlled Retransmissions: Recorded 23 retransmissions, the lowest among all three algorithms
  • Conservative Window Management: Maintained congestion windows between 128-320 KBytes, with adaptive adjustments based on network conditions
  • Consistent Performance: Delivered steady throughput with fewer dramatic fluctuations

2. TCP Reno: Aggressive Start, High Cost

TCP Reno exhibited aggressive behavior, especially in the initial phase:

  • Highest Throughput: Achieved 39.9 Mbits/sec, nearly double NDM-TCP's performance
  • Aggressive Initial Window: Started with a massive 1.75 MBytes congestion window in the first second
  • Efficiency Cost: Suffered 52 retransmissions—more than double that of NDM-TCP
  • High Variability: Bitrate fluctuated dramatically from 89.0 Mbits/sec down to 14.7 Mbits/sec

3. TCP Cubic: The Middle Ground

TCP Cubic positioned itself between the conservative NDM-TCP and aggressive Reno:

  • Good Throughput: Achieved 30.5 Mbits/sec, balancing speed and reliability
  • Moderate Retransmissions: 30 retransmissions—better than Reno but more than NDM-TCP
  • Larger Windows: Maintained congestion windows between 256-576 KBytes
  • More Consistent: Less variability than Reno, with bitrate ranging from 21.0 to 39.8 Mbits/sec

Performance Trade-offs Summary

Throughput Hierarchy

  1. TCP Reno: 39.9 Mbits/sec (Highest throughput)
  2. TCP Cubic: 30.5 Mbits/sec (Balanced performance)
  3. NDM-TCP: 18.9 Mbits/sec (Conservative approach)

Reliability Hierarchy (Lower is Better)

  1. NDM-TCP: 23 retransmissions (Most reliable)
  2. TCP Cubic: 30 retransmissions (Moderate reliability)
  3. TCP Reno: 52 retransmissions (Least reliable)

Efficiency Metric: Data per Retransmission

  • NDM-TCP: 0.98 MBytes per retransmission
  • TCP Cubic: 1.21 MBytes per retransmission
  • TCP Reno: 0.92 MBytes per retransmission

Conclusion: Different Algorithms for Different Needs

This test in urban LTE/4G conditions reveals that each algorithm makes distinct trade-offs:

TCP Reno prioritizes maximum throughput with an aggressive approach, making it suitable for bulk data transfers where occasional retransmissions are acceptable and speed is paramount. However, the high retransmission rate (52) indicates significant network overhead.

TCP Cubic strikes a balance between throughput and reliability, delivering 76% of Reno's speed while maintaining better stability with 42% fewer retransmissions. This makes it a good general-purpose choice for modern networks.

NDM-TCP prioritizes connection stability and network efficiency over raw speed. With the lowest retransmission count (23), it minimizes network overhead and maintains predictable performance. This conservative approach is ideal for:

  • Applications sensitive to retransmissions (VoIP, gaming, real-time streaming)
  • Battery-constrained mobile devices where efficiency matters
  • Congested networks where aggressive sending can worsen conditions

The choice of algorithm depends on your specific requirements: maximum throughput (Reno), balanced performance (Cubic), or optimal reliability and efficiency (NDM-TCP).

Top comments (0)