NTP Sync Quality — Co-located VM Test

Test Matrix

HostInstanceTick ModeKernelDescription
Ei-0bbd4d706b525b2c6HZ_PERIODIC (1000Hz)c40c2c121d0fNTP precision patches + vmclock_host
Fi-051ba016b4648399aHZ_PERIODIC (1000Hz)f5b37e3d96c1baseline (kvmclock5 only)
Gi-0a1209b28c3b15800NO_HZ_IDLEc40c2c121d0fNTP precision patches + vmclock_host
Hi-06ff421ea34e6dc60NO_HZ_IDLEf5b37e3d96c1baseline (kvmclock5 only)

Summary

Why Co-located?

The bare metal test showed clear differences between patched and baseline kernels, but confounders (different crystals, different thermal environments, different network paths) made it hard to attribute differences purely to the kernel patches. By placing all 4 VMs on the same physical host, we eliminate:

Any remaining differences must come from the kernel's timekeeping code or the tick configuration.

Test Restart — 2026-05-27

Data collection restarted with Amazon Time Sync Service correctly configured (both 169.254.169.123 and fd00:ec2::123 as preferred servers). Previous Fedora 43 default chrony config did not include these; see RHBZ#2482393. IPv6 also enabled on all instances.

Test Restart — 2026-05-30

Data collection restarted with clocksource set to acpi_pm on all four virt hosts. This eliminates the TSC as a variable, testing the NTP precision patches against a slower but independent hardware counter.

Observations

Allan Deviation

Allan deviation measures clock stability at different averaging timescales. Lower is better. A clock that's well-disciplined by NTP should show decreasing ADEV at longer timescales (the servo corrects drift). The slope indicates the dominant noise type (white noise = −½, flicker = 0, random walk = +½).

Allan deviation

Time Series

The "RMS Offset (chrony)" panel shows chrony's internally-tracked RMS which uses an exponentially-weighted history that predates our test window. The "RMS Offset (cumulative)" panel computes RMS directly from the offset samples collected during this test, giving a fairer comparison unaffected by each host's different convergence history.

Time series comparison

Distribution (Box Plot)

Box plot comparison

CDF of Absolute Offset

CDF comparison

Methodology

Same methodology as the bare metal test. CSV columns from chronyc -c tracking:

Scripts

Raw Data

CSV Format

ColumnDescription
offset_nsCurrent offset from NTP source (instantaneous error)
freq_ppmFrequency correction applied by chrony
rms_offset_nsRMS of recent offsets (jitter measure)
skew_ppmRate of frequency change (stability measure)
root_delay_nsRound-trip delay to stratum-1
root_disp_nsEstimated maximum error from root

Data last fetched: