C-LIGHT telephone TEL:+86 132 6656 7067    
Language
C-LIGHT search
Knowledge

How Does Ethernet Forwarding Latency Affect Data Center Applications?

By C-LIGHT Marketing 丨 Jan 3, 2025
Table of Contents

    Data center applications increasingly depend on fast and predictable network communication. AI training clusters, distributed databases, high-performance storage, and cloud services exchange large volumes of data across multiple Ethernet switches. In these environments, even small delays introduced by individual network devices can contribute to noticeable end-to-end latency.

    Ethernet forwarding latency describes the time a network device takes to process and forward a frame from an ingress interface toward an egress interface. It is one component of total network delay, alongside queuing, serialization, and propagation delays. Its impact becomes more significant when traffic crosses multiple switching stages or when applications depend on frequent communication between distributed systems.

    Understanding forwarding latency requires more than looking at a switch's minimum latency specification. Switching architecture, packet size, traffic load, buffer behavior, congestion management, and network topology all influence the delay experienced by applications.

    1. What Is Ethernet Forwarding Latency?

    Ethernet forwarding latency is the time associated with moving a frame through a network device from its ingress side to its egress side. During this process, the switch receives the frame, examines relevant header information, determines the forwarding destination, applies applicable policies, and schedules transmission through the outgoing interface.

    In data center benchmarking, latency measurements depend on the exact start and end events used. RFC 8238 defines measurement terminology for data center devices and emphasizes that the measurement method must be reported because different methods can produce different latency values.

    1.1 Forwarding Latency vs. End-to-End Latency

    Forwarding latency measures the delay associated with a network device. End-to-end latency measures the time required for data to travel from the source application or host to the destination.

    A simplified network latency model is:

    End-to-End Latency = Forwarding Delay + Queuing Delay + Serialization Delay + Propagation Delay + Other Processing Delays

    For a path containing multiple switches, the forwarding and queuing delays from each device contribute to the total. The actual end-to-end measurement also depends on the measurement endpoints and protocol being evaluated.

    1.2 Forwarding Latency vs. Forwarding Delay

    The terms forwarding latency and forwarding delay are sometimes used interchangeably in general discussions, but benchmarking specifications may define them using different measurement boundaries.

    For example, RFC 8238 uses specific frame-arrival and frame-departure events to define device latency. When comparing switch specifications, engineers should check whether the reported value measures the first bit, last bit, or complete frame transit.

    2. The Main Components of Network Latency

    Forwarding latency is only one part of the delay experienced by Ethernet traffic. Several factors contribute to the time required for a frame to reach its destination.

    2.1 Forwarding Delay

    Forwarding delay is the time required for a switch to process an incoming frame and prepare it for transmission through the selected egress interface. It depends on the switch architecture, packet-processing pipeline, forwarding method, and internal hardware implementation.

    2.2 Queuing Delay

    Queuing delay occurs when a packet must wait in a switch buffer because the outgoing interface is already transmitting other traffic or because the egress scheduler cannot immediately serve the packet.

    Unlike the baseline forwarding delay of a switch, queuing delay can change significantly with traffic conditions. Congestion and traffic bursts may cause packets to remain in queues much longer than their normal forwarding time.

    2.3 Serialization Delay

    Serialization delay is the time required to place all bits of a frame onto a physical link. It depends on frame size and link speed.

    The simplified formula is:

    Serialization Delay = Frame Size in Bits ÷ Link Rate in Bits per Second

    For a 4KB frame, the approximate serialization time is:

    • 100Gbps: 327.68 nanoseconds

    • 400Gbps: 81.92 nanoseconds

    • 800Gbps: 40.96 nanoseconds

    These calculations use 4KB as 4,096 bytes and exclude additional physical-layer overhead. Higher link speeds reduce serialization time for the same frame size, but they do not eliminate forwarding or queuing delays.

    2.4 Propagation Delay

    Propagation delay is the time required for a signal to travel through a physical medium. It depends primarily on the transmission medium and physical distance.

    Fiber and copper links introduce propagation delay even when their data rates are extremely high. Increasing the Ethernet link speed reduces serialization time, but it does not proportionally reduce the physical propagation time over a fixed distance.

    2.5 Protocol and Application Processing

    Additional delays can occur in network interface cards, operating systems, protocol stacks, virtual switches, application runtimes, and storage systems. These delays are outside the forwarding pipeline of a physical Ethernet switch but still influence the application-visible response time.

    3. Store-and-Forward vs. Cut-Through Switching

    Switching architecture influences when an Ethernet switch can begin transmitting a frame through its egress interface. Two common approaches are store-and-forward and cut-through switching.

    3.1 Store-and-Forward Switching

    In store-and-forward switching, the device receives the complete frame before beginning transmission through the outgoing interface. It can check the frame's integrity, including the Frame Check Sequence (FCS), before forwarding it.

    The main characteristics include:

    • The complete frame is received before forwarding begins.

    • Frame integrity can be checked before transmission.

    • Forwarding introduces a delay related to frame reception and internal processing.

    • Its behavior is generally easier to accommodate when ingress and egress link speeds differ.

    For a given frame size, the time needed to receive the complete frame increases as the ingress link speed decreases. This reception time is an important part of the store-and-forward latency behavior.

    3.2 Cut-Through Switching

    Cut-through switching can begin forwarding a frame after receiving enough header information to determine the outgoing interface. It does not need to wait for the entire frame to arrive before starting egress transmission.

    Its main characteristics include:

    • Forwarding can begin before the complete frame has arrived.

    • It can reduce per-hop forwarding delay for supported traffic conditions.

    • It may forward a frame before the complete FCS has been received and checked.

    • Its performance depends on the switching architecture and ingress-to-egress conditions.

    3.3 Comparison of the Two Switching Methods

    FactorStore-and-ForwardCut-Through
    Forwarding startAfter the complete frame is receivedAfter sufficient header information is available
    Latency behaviorIncludes complete-frame reception before forwardingCan reduce the waiting time before forwarding
    FCS verificationCan verify the complete incoming frame before forwardingCannot verify the complete incoming FCS before starting transmission
    Typical considerationFrame integrity and flexible buffering behaviorLower forwarding delay under supported conditions
    Application relevanceGeneral-purpose switching and mixed traffic environmentsLatency-sensitive traffic where the architecture supports it

    Neither switching method automatically guarantees better application performance. Queuing, congestion, link speed, traffic patterns, and the actual switch implementation remain important factors.

    4. How Forwarding Latency Accumulates Across Multiple Switches

    Data center traffic often travels through multiple switching stages. A server may connect to a leaf switch, cross one or more spine switches, and then reach another leaf switch before arriving at its destination.

    4.1 Multi-Hop Forwarding Delay

    For a simplified path containing multiple switches, the total forwarding contribution can be expressed as:

    Total Forwarding Delay = Σ Forwarding Delay of Each Switch

    Consider a path containing four switches. If each switch contributes an illustrative 500-nanosecond forwarding delay, the total forwarding contribution is:

    4 × 500ns = 2,000ns = 2μs

    This example excludes queuing, serialization, propagation, host processing, and other delays. The 500ns value is illustrative rather than a specification for any particular switch.

    4.2 The Effect of Network Topology

    A network with more switching stages may accumulate more forwarding delay than a shorter path, assuming comparable switch behavior. This is one reason data center architects consider hop count when designing leaf-spine and multi-tier networks.

    However, reducing hop count alone is not sufficient. A shorter path can still experience high latency if its links are congested or its egress queues are heavily loaded.

    4.3 Path Consistency and Latency Variation

    In multipath networks, packets may travel through different routes depending on load balancing and routing decisions. Different paths can have different forwarding, propagation, and queuing characteristics.

    Path variation can affect packet arrival order and latency consistency. This matters for applications that exchange many related packets or synchronize multiple distributed computing nodes.

    5. How Forwarding Latency Affects AI and GPU Clusters

    AI training systems distribute computation across multiple GPU servers. These servers exchange data through high-speed Ethernet or InfiniBand networks, and communication delays can affect how efficiently distributed workloads progress.

    5.1 Distributed Training and Collective Communication

    Distributed AI training uses communication operations such as All-Reduce to exchange and aggregate data across multiple GPUs. These operations involve communication between many nodes and can require repeated network transfers during training.

    When communication latency increases, GPUs may spend more time waiting for data from other nodes before continuing dependent computation. This can reduce overall training efficiency, particularly when workloads involve frequent synchronization.

    5.2 Small Messages and Latency Sensitivity

    Small messages can be particularly sensitive to fixed network delays because their serialization time is relatively short. When a message contains only a small amount of data, forwarding and protocol-processing delays may represent a larger portion of its total transmission time.

    For synchronization-heavy workloads, reducing unnecessary switching stages and avoiding congestion can be more valuable than focusing exclusively on peak bandwidth.

    5.3 Large Data Transfers and Congestion

    Large transfers place sustained demand on network links. If multiple GPU servers send traffic toward the same destination or uplink, the receiving switch may experience queue buildup.

    In these situations, queuing delay can become much larger than the baseline forwarding delay. Cisco's AI/ML networking guidance identifies congestion as a source of additional delay for RDMA operations and GPU communication.

    5.4 Why Predictable Latency Matters

    AI clusters often operate with synchronized communication patterns. A delayed communication path can hold up dependent operations across multiple GPUs, even if most other network paths are performing normally.

    For this reason, network design should consider not only average forwarding latency but also tail latency, congestion behavior, and path consistency.

    6. The Impact on RoCEv2 and RDMA Networks

    RoCEv2 enables RDMA communication over Ethernet and is widely considered for high-performance data center workloads. Its performance depends on efficient network forwarding, congestion management, and predictable delivery behavior.

    6.1 RDMA Communication and Network Delay

    RDMA reduces the involvement of the host CPU in data movement and supports direct memory access between compatible network endpoints. However, it does not eliminate network forwarding, queuing, or propagation delays.

    Switching delay remains part of the communication path, and congestion can extend the time required for RDMA operations to complete.

    6.2 ECN and Congestion Feedback

    Explicit Congestion Notification (ECN) allows network devices to mark packets when congestion is detected. The receiving endpoint can communicate congestion information back to the sender so that its transmission rate can be adjusted.

    ECN is designed to help manage congestion before severe queue buildup or packet loss occurs. Its effectiveness depends on correct configuration across network devices and endpoint adapters.

    6.3 PFC and Its Latency Implications

    Priority-based Flow Control (PFC) pauses traffic for selected Ethernet priorities when congestion thresholds are reached. It can help prevent packet loss in lossless Ethernet deployments, but pausing traffic also affects transmission timing.

    Improperly managed congestion and pause propagation can increase latency and affect unrelated traffic sharing the same network resources. PFC should therefore be designed together with queue management and congestion-control mechanisms rather than treated as a universal solution to latency.

    6.4 Forwarding Latency Is Not the Only RDMA Performance Factor

    RoCEv2 performance depends on the complete network path, including NIC processing, switch forwarding, queue behavior, ECN feedback, PFC configuration, and application communication patterns. Low switch forwarding latency is useful, but it cannot compensate for persistent congestion or poor end-to-end network design.

    7. Effects on Storage, Database, and Cloud Applications

    Forwarding latency also affects applications outside AI infrastructure. Storage systems, distributed databases, and cloud services rely on frequent network exchanges that can be sensitive to both fixed delay and congestion.

    7.1 Network Storage

    Network-attached storage and distributed storage systems exchange read, write, metadata, and replication traffic. Increased network latency can extend the time required to complete storage requests, particularly when an operation involves multiple communication steps.

    For applications that issue many small I/O requests, fixed network delays can become a meaningful part of total request latency.

    7.2 Distributed Databases

    Distributed databases coordinate transactions and replicate information across multiple nodes. Some operations require responses from multiple participants before a transaction can complete.

    Higher network latency can extend coordination time and affect transaction response times. Tail latency is especially important when an application waits for the slowest participant in a distributed operation.

    7.3 Cloud and Microservices

    Microservices applications often generate multiple service-to-service requests to complete one user-facing transaction. Each network exchange introduces additional communication time.

    When requests traverse several services and switching stages, forwarding and queuing delays can accumulate. Predictable network performance therefore supports more consistent application response times.

    8. Average Latency, Tail Latency, and Jitter

    Evaluating only average latency can hide important performance problems. Data center applications often care about the distribution of latency values, particularly during bursts or periods of high utilization.

    8.1 Average Latency

    Average latency represents the mean delay across a group of measurements. It provides a general view of network performance but may hide occasional long delays.

    8.2 Tail Latency

    Tail latency describes delays near the high end of a latency distribution. Measurements such as the 95th, 99th, and 99.9th percentiles show how much delay is experienced by slower requests or packets.

    For distributed applications, a small percentage of delayed operations can affect the completion time of an entire workload if many components must respond before the operation can finish.

    8.3 Jitter

    Jitter describes variation in packet delay over time. A network with low average latency can still create application problems if packet delays fluctuate significantly.

    Consistent forwarding behavior, controlled congestion, and stable path selection can help reduce latency variation.

    8.4 Why All Three Metrics Matter

    MetricWhat It ShowsWhy It Matters
    Average latencyTypical delay across measurementsIndicates general network responsiveness.
    Tail latencyDelay experienced by slower packets or requestsReveals outliers that can slow distributed operations.
    JitterVariation in delay over timeShows how consistently the network delivers traffic.

    9. How to Reduce Forwarding and Network Latency

    Reducing application-visible latency requires attention to the entire communication path. Switch selection is important, but network topology, traffic engineering, congestion control, and endpoint configuration are equally relevant.

    9.1 Select Switches with Suitable Forwarding Performance

    Evaluate forwarding latency under clearly defined test conditions. Compare measurements using the same frame sizes, traffic patterns, port speeds, and latency definitions.

    Do not compare two switch specifications without checking whether they use the same measurement methodology, such as first-bit or last-bit timing.

    9.2 Use Appropriate Switching Architecture

    Cut-through switching can reduce the time before a frame begins leaving a switch, while store-and-forward switching provides complete-frame reception before forwarding. The preferred architecture depends on the application, platform, traffic conditions, and integrity requirements.

    9.3 Optimize Network Topology

    Design leaf-spine and other data center architectures to provide sufficient bandwidth and avoid unnecessary switching stages. A well-planned topology can improve path consistency and reduce the risk of bottlenecks.

    9.4 Control Congestion and Queue Buildup

    Use appropriate traffic engineering, queue management, ECN, and, where required, carefully designed PFC configurations. Monitor queue occupancy and congestion indicators rather than relying only on average link utilization.

    9.5 Match Link Capacity to Traffic Demand

    Higher-speed links reduce serialization time and can provide additional capacity for bursty traffic. However, upgrading individual links does not eliminate congestion if traffic is concentrated on an oversubscribed uplink or destination port.

    For high-speed data center connectivity, C-LIGHT provides 400G QSFP-DD transceivers, 800G QSFP-DD transceivers, and 800G OSFP transceivers. Selecting the appropriate optical interface and reach helps build the physical connectivity required by the network architecture.

    9.6 Measure Application-Level Performance

    Network device measurements should be combined with end-to-end testing. Monitor round-trip time, application response time, packet loss, tail latency, retransmissions, and relevant NIC and switch counters.

    This helps distinguish switch forwarding delays from endpoint processing, congestion, and application-level bottlenecks.

    10. How to Measure Ethernet Forwarding Latency

    Accurate latency evaluation requires a consistent test methodology. A reported number is meaningful only when the measurement boundaries and test conditions are understood.

    10.1 Define the Measurement Method

    Specify whether latency is measured from first-bit arrival to first-bit departure, last-bit arrival to first-bit departure, or another defined event combination. RFC 8238 provides data center benchmarking terminology and emphasizes reporting the measurement events used.

    10.2 Test Different Frame Sizes

    Test small, medium, and large Ethernet frames. Frame size affects serialization time and can influence measured latency, especially when comparing store-and-forward and cut-through devices.

    10.3 Evaluate Multiple Traffic Conditions

    Measure latency under idle conditions and under controlled traffic load. Include different traffic patterns, such as unidirectional traffic, bidirectional traffic, and multiple input ports sending toward the same output port.

    10.4 Measure Percentiles and Packet Loss

    Record average latency, high-percentile latency, jitter, and packet loss. These metrics provide a more complete view of network behavior than a single minimum-latency result.

    10.5 Validate the Complete Network Path

    Measure across the actual server-to-server or application-to-storage path when possible. This includes NICs, cables, optical modules, switches, and the endpoint software stack. Device-level benchmarks are useful for comparison, but they do not fully represent application performance.

    11. Conclusion

    Ethernet forwarding latency affects how quickly frames move through data center switches and contributes to the total delay experienced by network applications. Its impact is particularly relevant in multi-hop networks and latency-sensitive environments such as AI clusters, RoCEv2 infrastructure, distributed databases, and network storage.

    Store-and-forward and cut-through switching provide different forwarding behaviors, while queuing, serialization, and propagation add further delay. Under light traffic, fixed forwarding latency may be a major component of device-level delay. Under congestion, queuing delay can become much larger and dominate application-visible latency.

    Effective data center optimization therefore requires more than choosing switches with low forwarding latency. Network architects should also consider topology, link capacity, traffic distribution, congestion management, tail latency, and end-to-end application measurements. A balanced approach helps deliver both high throughput and predictable network performance.

    Frequently Asked Questions

    Q1: What is Ethernet forwarding latency?

    It is the time associated with processing and forwarding an Ethernet frame through a network device from its ingress interface toward its egress interface.

    Q2: What is the difference between forwarding latency and end-to-end latency?

    Forwarding latency measures delay within a network device, while end-to-end latency includes all relevant delays across the complete communication path.

    Q3: What are the main components of network latency?

    The main components include forwarding delay, queuing delay, serialization delay, propagation delay, and additional endpoint or protocol processing delays.

    Q4: How does cut-through switching reduce latency?

    It can begin forwarding after enough frame header information is available, rather than waiting for the entire frame to arrive.

    Q5: Is store-and-forward switching slower than cut-through switching?

    It generally waits longer before starting transmission because it receives the complete frame first. However, the best choice depends on traffic conditions, integrity requirements, and switch implementation.

    Q6: Does higher Ethernet bandwidth always reduce network latency?

    No. Higher bandwidth reduces serialization time and may ease congestion, but it does not automatically reduce forwarding or propagation delay.

    Q7: How does forwarding latency affect AI training?

    Additional communication delay can make GPUs wait longer for data during distributed operations, potentially reducing training efficiency when workloads require frequent synchronization.

    Q8: Why is low latency important for RoCEv2?

    RoCEv2 supports RDMA communication over Ethernet. Lower and more predictable network delay can help RDMA operations complete efficiently, particularly under demanding traffic conditions.

    Q9: How does network congestion increase latency?

    Congestion causes packets to wait in switch queues when traffic arrives faster than the outgoing interface can transmit it, increasing queuing delay.

    Q10: What is the difference between average latency and tail latency?

    Average latency represents the mean delay, while tail latency describes delays near the high end of the distribution, such as the 99th percentile.

    Q11: Can more network switches increase application latency?

    Additional switches can add forwarding and queuing delays. However, the actual impact depends on each device's performance, traffic load, and network path.

    Q12: How does PFC affect Ethernet latency?

    PFC pauses traffic for selected priorities during congestion. This can prevent packet loss in supported lossless configurations, but pause events can also increase traffic delay.

    Q13: What is the role of ECN in latency management?

    ECN marks packets when congestion is detected, allowing endpoints to adjust sending rates and help control queue buildup before congestion becomes more severe.

    Q14: How is Ethernet forwarding latency measured?

    It is measured using defined frame-arrival and frame-departure events. Reliable comparisons require consistent frame sizes, traffic conditions, and measurement boundaries.

    Q15: What is more important for data center applications: low forwarding latency or low queuing delay?

    Both matter. Forwarding latency contributes to baseline device delay, while queuing delay can increase sharply during congestion. Application performance depends on controlling both across the complete network path.

    For any questions, please contact us by email or WhatsApp.

    Email: sales@c-light.com

    WhatsApp: +86 132 6656 7067

    Related Articles

    Call
    Top