Cloud & Infrastructure

Why 25GbE Networking Does Not Guarantee 25 Gbps Throughput

Explain 25GbE line rate, payload goodput, TCP windows, PCIe, queue distribution and bottlenecks in normal network performance.

Blue Ethernet cable connected to networking equipment
Photo: Brett Sayles on Pexels.

A 25GbE port specifies an Ethernet link rate. It does not promise that a file copy, TCP connection or packet-processing application will transfer 25 Gbps of useful data. These measurements describe different layers of the system.

The gap is not necessarily a defect. Some of it is predictable protocol overhead; the rest depends on the endpoints, network path and workload.

Line rate and payload goodput

Ethernet frames contain headers and a frame check sequence. Transmission also includes the preamble and interframe gap. Higher-layer headers consume additional space inside the frame.

For an illustrative untagged Ethernet transmission with a 1,500-byte IP MTU, IPv4 without options and TCP without options, the maximum TCP payload per full frame is 1,460 bytes. On the wire, the corresponding frame and Ethernet transmission overhead account for 1,538 byte-times. Ignoring acknowledgments, retransmissions, congestion and other limitations, 25 × 1460 / 1538 is approximately 23.73 Gbps of one-direction TCP payload.

This is arithmetic under specific assumptions, not a measured file-transfer result. VLAN tags, additional headers, encryption framing and smaller messages change the ratio. RFC 2544 provides the background for comparing network-device performance using defined frame sizes.

A single TCP connection has other limits

TCP needs sufficient data in flight to fill a path. The bandwidth-delay product describes how much data can be outstanding at a given rate and round-trip time. At 25 Gbps and a 20 ms round trip, the theoretical product is 62.5 MB. Sender and receiver behavior, congestion control, loss and window scaling affect whether a flow approaches the available bandwidth.

The RFC 6349 framework for TCP throughput testing treats TCP throughput alongside delay and retransmissions. A slow remote transfer does not prove the local port is underperforming.

Parallel connections may use the network differently from a single connection. Report both when relevant, rather than presenting the faster case as universally achievable.

Hardware and the operating system

The network interface shares the machine with the processor, memory and PCIe devices. The negotiated PCIe generation and lane count, NUMA placement and driver capabilities can affect data delivery. A nominally capable NIC attached through a constrained path cannot ignore that path.

Queue distribution and offloads are also important. TCP segmentation and receive aggregation can reduce host processing overhead in supported configurations; they do not alter physical link speed. Linux's network scaling documentation describes receive and transmit steering mechanisms.

A workload that uses only a subset of the available queues may encounter a local processing limit before the aggregate interface bandwidth is reached. Storage-backed transfers introduce yet another potential bottleneck.

The upstream contract matters

A server port and the provider's external network entitlement are distinct. A fast local interface may share upstream infrastructure, or the plan may impose sustained and burst bandwidth conditions. AWS EC2 network performance documentation gives an example of instance-level allowances that coexist with published bandwidth ratings.

Two 25GbE interfaces also do not automatically provide a 50 Gbps single-flow transfer. Bonding, routing, hashing and traffic direction determine how multiple links can be used.

What an engineering acceptance report should show

A useful report distinguishes physical link rate, interface counters, transport goodput and application throughput. It records packet loss, RTT, message sizes, CPU utilization, queue distribution and the receiving endpoint. It also states whether results represent one connection, many connections, one direction or both.

Use sustained, representative measurements between endpoints whose other resources are known to be adequate. Keep storage throughput separate from memory-to-memory network measurements. This prevents the misleading conclusion that every limit seen in an application belongs to Ethernet.

The correct expectation for 25GbE is a 25 Gbps nominal link, subject to protocol overhead and the rest of the data path. It is a starting specification, not a complete performance guarantee.

Related analysis

← Return to latest articles