Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

The same frame through two gigabit switches: compare cut-through and store-and-forward latency | Crystal & Oscillator Handbook

The interface of an industrial switch can negotiate to the same rate, yet the time required for a single frame to pass through the device can still differ. Some paths are ready to forward to the next end after reading sufficient header information, while others complete receiving the entire frame before performing checks and forwarding. Even if the 25 MHz reference crystal on the board is functioning normally, it cannot align these two timing boundaries. When procuring and comparing switches, one should ask whether the reported latency is measured from the first bit in to the first bit out, or from the completion of the entire frame reception to output, and what forwarding method is used in the process.

This document examines only the existing anonymized measurement reports from owned prototypes and synthetic timelines, without connecting to the live network, performing configuration, generating any traffic, or discussing how to interfere with the device. The examples are not latency guarantees for any device model.

Cut-through and store-and-forward start from different conditions

A cut-through path can begin output to the destination based on sufficient information before complete reception. The preceding information still undergoes parsing and internal scheduling. Even if the device adopts this approach, actual transmission may not immediately follow the incoming header if the output port is busy, if there are speed differences in different directions, or if there are additional requirements for internal functions. One cannot infer a fixed minimum latency from the term “cut-through,” nor can one assume that all ports or all functions of the device always employ the same method.

The store-and-forward scheme first buffers the entire frame. Once the data is complete, the device performs normal validation using frame check information before forwarding it to the next hop. This process avoids delivering frames already determined to be faulty along the normal path. The cut-through path may initiate before the end of the frame arrives; how exceptions are recorded or handled subsequently depends on the device implementation. Here, the focus is on the recording boundary for normal procurement acceptance, without attempting to construct errors for demonstration.

Both approaches require understanding the behavior of input and output ports, and neither guarantees that a specific service will always be faster. When higher-priority traffic is queued, egress speeds differ, or the system traverses multi-hop devices, the observed latency difference may not stem solely from waiting for the end of the frame. Such comparisons first align identical operating conditions before analyzing how much the architecture can explain.

Calculate the earliest start for the same frame

Assuming a simplified model where a 1,200-byte frame enters a 1-Gbps link at time zero (first bit), and excluding preamble, inter-frame spacing, switch chip processing, and queuing, with no declared actual frame length specification: at 1 Gbps, it takes 9.6 µs for all 1200 bytes to arrive. If a cut-through model assumes eligibility to transmit after receiving the first 100 bytes, reaching that point takes about 0.8 µs.

The earliest points in this model are 0.8 µs and 9.6 µs, a difference of 8.8 µs. If both have subsequent processing, the actual latency of the first output bit will not exactly equal these figures. Do not present illustrative differences as delivery commitments, nor infer that a chip necessarily adopted a specific mode based on a small measured difference. The example first explains how long after the frame enters until the information is complete.

Switch to a 200-byte synthetic frame. Similarly, assume the 100th byte is the earliest possible start; the former remains 0.8 microseconds, while the total arrival time is 1.6 microseconds. The modeled difference falls to 0.8 µs. Actual procurement testing of only one fixed size is unsuitable for inferring another scenario. Thus, even if one group shows no difference in small frames, another group of long frames or additional output states may exhibit different behavior. This reasoning differs from the number of frames the ingress path can receive per second; throughput results cannot substitute for single-frame boundary analysis.

Compare reports with the same start and end points

First, record the actual input and output positions being measured. For instance, within an existing file sharing the same time base, measure from the first ingress bit to the first egress bit, or from the last ingress bit to the first egress bit. If a longer frame includes the time to receive the whole frame on one side, the resulting numerical value will differ from another reporting convention. If a report specifies only latency without indicating the measurement endpoints and time positions, first verify the conditions with the supplier rather than guessing the actual method based on technical terminology.

Record the operating conditions at the time of measurement. Latency is influenced by port, direction, enabled features, frame size, and congestion level. A large set of measurements taken on an idle port need not describe latency under congestion, but this does not imply that a real system simulation of failure is required. The project can first review existing fixed-condition data or request a test report with evidence that falls within its own scope. When observing a few slower results in the statistics, one should check whether different states are mixed in, rather than first explaining it by increasing the crystal oscillator's ppm accuracy.

Finally, independently retain the results indicated by the clock chain. Validate the reference output frequency, receive chain status, and output stability using the same measurement boundary. For certain architectures, additional waiting may be required; however, the clock can still remain accurate. Conversely, if the clock is problematic, it may affect interface operation, and such anomalies cannot be attributed to identical latency across all modes. The procurement report should be organized in columns to clearly indicate what caused what, enabling assignment to the appropriate responsible party.

Specify the delay the application can accept

The comparison table for switch solutions should clearly specify the most critical traffic characteristics, input and output boundaries, acceptable formats and timing, and the forwarding path used by the device. How to determine frame validity based on normal frame timing and the verification process must be explicitly defined, including who submits what documentation. If a minimum value is retained, record it alongside the agreed results for other modes and typical conditions. An unusually fast sample should not represent the whole system.

In a hypothetical gigabit physical layer reference design, the Japanese NDK NX3225SA offers verifiable specifications for a 25 MHz passive crystal. It requires a suitable oscillator circuit and board-level design; procurement should confirm the complete part number, load capacitance, equivalent series resistance, drive level, temperature range, and startup characteristics. This document does not assert that any retail switch actually implements it. Acceptance testing of the reference clock can validate physical-layer timing but cannot substitute for forwarding and queuing architectures. Buyers must separate two technical specifications before making a selection, avoiding merely listing “gigabit on every port” on the summary sheet.

Timestamps from a single port pair can also be used to explain the discrepancy in timing budgets: assuming the first input bit occurs at 0 and the last input bit at 9.6 µs, with the first output bit at 11 µs, reporting from first-to-first yields 11 µs, while reporting from last-received-to-first-output yields 1.4 µs. These two values describe the same record and do not imply a 9.6 µs improvement after substitution. If a path actually begins outputting before the last input bit arrives, the second calculation may yield a negative number; this should not be interpreted as the signal bypassing the device, but rather as an overlap between the two processing stages. To compare whether port commitments truly differ, data must be re-tabulated using the same pair of observation points for all vendors.

Frequently asked questions

Should forwarding performance not be the same for gigabit speeds? Not necessarily. Bit rate is a transmission-level condition. The timing of when forwarding can begin, internal processing, whether to wait for complete validation, and queuing behavior may all differ.

Is store-and-forward unsuitable for industrial equipment? Waiting for the complete frame allows validation. Whether the resulting first-bit delay is acceptable depends on the application’s timing requirements.

Can a more accurate 25 MHz reference eliminate the wait? No. The reference frequency can support the specified timing sequence, but the process still incurs a certain latency when waiting for aligned information. First, use correct measurement start and end points to separate the architecture and electronic time base.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.