NETWORK ANALYSIS

TCP Performance Analysis

Investigation of severe throughput degradation during ECU file transfers where a Gigabit Ethernet connection performed significantly worse than the same system operating at Fast Ethernet speed.

Background

A development team reported unexpectedly poor download performance while transferring files to an ECU.

Multiple investigations had already been carried out without identifying a root cause. Ethernet cables, USB-to-LAN adapters and network equipment had been tested repeatedly without revealing any hardware defects.

Observed Behaviour

With the router operating at 100 Mbit Ethernet, throughput reached approximately 95 Mbit/s and matched expectations.

After switching the identical setup to Gigabit Ethernet, throughput dropped dramatically to approximately 16 Mbit/s.

Gigabit Ethernet throughput degradation analysis
Comparison of transfer rates under different Ethernet configurations showed the dramatic throughput drop.

Packet Analysis

Wireshark packet captures immediately revealed excessive retransmissions, duplicate ACKs and fast retransmissions.

Initial analysis focused on potential throughput limitations and receiver-side bottlenecks. However, the performance loss appeared far too severe to be explained by bandwidth limitations alone.

Wireshark analysis revealing missing SACK option
TCP handshake analysis showing that the SYN packet did not advertise Selective Acknowledgement (SACK) support.

Root Cause Identification

Detailed inspection of the TCP three-way handshake revealed that Selective Acknowledgement (SACK) had been disabled on the client.

Without SACK support, packet loss caused substantially increased retransmission overhead. The resulting TCP behaviour reduced overall throughput to a fraction of the expected performance.

Result

After enabling TCP Selective Acknowledgement on the client, throughput immediately increased from approximately 16 Mbit/s to more than 320 Mbit/s.

Packet-level analysis identified a single TCP configuration parameter as the root cause and restored expected transfer performance without any hardware replacement.

Methods Used

WiresharkTCP AnalysisPacket Capture AnalysisPerformance AnalysisRoot Cause AnalysisNetwork Troubleshooting