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

Breaking Down NVMe First-Read Latency Into Reference-Clock and Link Recovery

A storage server handles sequential reads normally, but its first request after an idle period is slow. Compare the clock request, the actual slot reference clock and link recovery to locate the delay. Read benchmark scores alone cannot do that.

Consider a server bench with several NVMe SSDs belonging to the test team. The system detects the drives normally, and the bench reads only test data. While idle, the platform may let a high-speed PCIe link enter a deeper low-power state according to its power-saving configuration. Returning to operation involves several steps. Distinguish the SSD controller's low-power state from the link's low-power state. Both can delay the first request, so a single read time cannot isolate the cause. The test leaves production systems, protections and site policies untouched.

Record the clock request, clock recovery and return to link traffic separately

PCIe Active State Power Management (ASPM) lets a link enter a lower-power state while idle. In some common-clock designs that support L1 substates, platform rules allow reference-clock distribution to stop in the deeper L1.2 state. As part of exit, the platform may use the active-low clock request signal CLKREQ#, after which the slot's REFCLK returns to a condition the receiver can use. An enabled software setting does not establish that the link entered a particular substate. Other reference-clock topologies may behave differently.

The first read also includes other delays. A host submission may first enter a queue. After exiting the power-saving state, the link must return to normal operation before it can exchange data. The next question is whether the SSD controller can process the command immediately. Record host request submission, clock request assertion, device-side reference-clock readiness under the project criteria, the return to an active link and the first completion observed by the host. The clock request edge is one timing boundary among several.

If the motherboard requires a 100 MHz differential reference with High-Speed Current Steering Logic (HCSL) output, evaluate Japan's NDK NP3225SCA, specification NSC5392B. It has a nominal 3.3 V supply, and the series frequency range includes 100 MHz. Specify the model, frequency and specification number when requesting a quote. It is a candidate for compatible interfaces. It does not identify a part used in any commercial drive or server. The motherboard source can keep running while a downstream clock buffer stops distributing one branch. A waveform at the source cannot establish that the clock reached the slot.

Worked example: did the extra 60 microseconds come before or after clock recovery?

In a hypothetical hardware trace, take clock request assertion as time zero. The baseline device-side reference clock meets the stability criterion at 20 µs, the link becomes active at 50 µs and the first read completes at 90 µs. The segments are 20 µs from request to stable clock, 30 µs from stable clock to active link and another 40 µs to complete the request. These are observed intervals in the example. They are not universal interface requirements.

Suppose the clock stabilizes at 80 µs in a second run, the link becomes active at 110 µs and the read completes at 150 µs. The first read is 60 µs slower, while the last two segments remain 30 µs and 40 µs. First investigate when the clock branch was enabled, how long its output took to establish itself and whether the measurement point was correct. This does not establish oscillator failure. If the upstream source remained stable, the difference could be in the control logic or buffer branch. Measure from clock request to the change in branch control state to identify which stage to investigate.

If a third run also completes at 150 µs but the clock is stable at 20 µs and the link active at 50 µs, the extra delay is later. Start with command processing and completion delivery, checking SSD state and host queueing. The 60 µs total difference alone cannot establish the cause. If there is no common timebase, first quantify measurement uncertainty. Do not subtract a software log timestamp from an unrelated hardware capture.

Verify that the bench observed a low-power exit rather than a restart

First, use the same server, slot and test drive to establish a baseline. Fix the read-only request size, repetition interval and idle duration. Record sequential read performance and the first read after idle. Confirm the actual state through a manufacturer-approved diagnostic method without inferring the deepest state from idle time alone. If multiple drives share an upstream source or buffer, identify the branch under observation and why conditions at the source may differ from those at the slot.

Next, correlate the clock request, slot-side reference and link-state events at approved test points. Use suitable instrumentation to avoid loading the differential clock and distorting the result. A first waveform edge does not establish stability. Apply the project's receiver criteria. If measurement is possible only at an adapter board, identify the path from the test point to the receiver. Leave unobservable stages unmeasured. Capture visible events on the same timebase, then request the missing state evidence from the platform team.

Finally, repeat the idle-recovery test and examine its distribution. Requests that did not enter a deeper substate belong outside averages of confirmed entries and exits. Use the same software and drive for typical and slow cases to see whether the added delay is constant or only occasionally exceeds the project limit. Avoid deliberately cutting power or unplugging drives. Retain raw timestamps, samples and configuration. Sequential reads provide a basic performance comparison. They cannot validate recovery from a verified idle state.

If the hardware team changes the reference component or distribution circuit, retain power, startup and recovery records alongside physical-layer retesting. A forced always-on setting may shorten a read by changing how the system operates. It does not qualify the normal power-saving path for production. Compare against the earlier prototype with all other settings fixed and let recovery occur from a state allowed by the original design.

Engineering and purchasing checklist

CheckEngineering recordPurchasing and quality records
Actual statesWhether the link and the device separately entered low-power statesBoard revision, firmware, SSD and slot combination
Clock handoffRequest assertion, actual reference stability and link activationCandidate part number, frequency, output and supply
First readRead-only request, idle duration, completion and distributionBench conditions, anomalies and retest IDs
AcceptancePlatform timing and overall power targetsRequire more than a single throughput or recovery result

Also distinguish when the request enters the software queue. If submission already occurs later than the bench schedule, application latency can increase even when device recovery takes the same time. Record the interval from enqueue to clock request assertion separately so that an earlier wait is not attributed to the clock branch.

Frequently asked questions

Does the clock still need checking if the motherboard's 100 MHz source never stopped? Check how it reaches the device. A branch that switches off with platform state can leave the SSD without a reference even while the motherboard source is running. Locate the measurement point from the actual topology.

Does a slow first read after idle call for a lower-jitter oscillator? Locate the segment with the longer wait. If reference-clock recovery barely changes but the later segment grows, continue checking link and device state. A replacement requires repeatable evidence related to the part.

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.