roadmap

What the review read and ran

An appendix to the milestone.

The crate

partsfoundry/clock_contract at 08ceb00319f3089268ed5ba6e60f26c845f69aea, version 0.1.0, no tag, a fresh clone of main. The census of milestone 1129 (the combine review) counted it at 92079a486b. git log 92079a486b..HEAD lists two commits: 66e0d2c, which bumps nine pinned GitHub Actions, and its merge, 08ceb00. git diff --stat over that range shows nine files, all under .github/workflows/, one line each. No file under src/ and no manifest changed, so no census count changes.

The lane read in full: Cargo.toml, README.md, CHANGELOG.md, docs/stranger-test.md, .github/mutants-exempts, src/verification.rs and the library part of src/lib.rs (the first 680 of 1,515 lines). It read the names of the 16 unit tests and the 8 loom models, and the body of the test helper with_page.

The commands

The host is Linux x86_64 with rustc 1.100.0, and every build wrote to a CARGO_TARGET_DIR outside the clone. git status --short showed the clone clean afterward.

A scratch program that depends on the crate by path printed, in a release build:

Here now is 1,800,000,000 seconds after the epoch, in nanoseconds.

The search for a comparator

On 2026-11-26 (UTC), https://crates.io/api/v1/crates?q=<words>&sort=recent-downloads&per_page=8 for each of: "seqlock", "clock page", "vdso", "shared memory clock", "wall clock no_std", "wait-free read", "time synchronization policy", "seqcount latch", "ntp client no_std" and "double buffer lock-free". No result publishes a clock page or a policy for stepping a clock. "wait-free read" found mmap-sync and triple_buffer, which the demand appendix of milestone 1129 does not list. mmap-sync shares one value between processes with readers that never wait, so it ranks. The search also showed vdso 0.2.2 (2,110 in 90 days), which resolves Linux vDSO symbols, and sntpc 0.11.0 (154,350), a client that would feed a proposer. Neither solves this problem, and the lane read neither.

The demand appendix's row, measured again: seqlock 0.2.0 has 1,226,473 downloads in 90 days and 16 reverse dependencies; the appendix recorded 1,229,856 and 16.

The comparators read

The lane downloaded each .crate file from static.crates.io at the version in the block's table and unpacked each apart from the others.

The systems outside Rust

Each file came from a public mirror at the named tag.

The Linux files are GPL; the review read them for the shape of what they publish only.

The benchmark

A scratch crate outside the clone depends on clock_contract by path, seqlock at =0.2.0 and mmap-sync at =2.0.4, with rkyv 0.7.46 resolved. The command is cargo build --release and then the binary, with a path prefix for the mmap-sync files on an ext4 file system. The host is Linux x86_64, an Intel Xeon Platinum 8160 at 2.10 GHz with 80 threads, rustc 1.100.0. The benchmark runs on one thread.

Each measurement starts at 64 calls and doubles the count until one pass lasts 50 ms. It then runs seven passes and reports the lowest, divided by the count. black_box wraps the handle, the inputs and the result. The value is a pair of u64: the state SET and one offset.

measurement what a call includes run 1 run 2
ClockPage::read the magic check, two loads of the count, two data loads 2.65 ns 2.67 ns
SeqLock<(u64, u64)>::read two loads of the count, one volatile read of the pair 1.34 ns 1.17 ns
ClockPage::publish the claim, the fence, two stores, the count, the release 11.89 ns 12.04 ns
SeqLock::lock_write and a store the mutex, both count stores, the store of the pair 17.60 ns 16.79 ns
Synchronizer::read::<Pair>(false) the version load, the reader count up and down, archived_root 18.77 ns 19.40 ns
Synchronizer::read::<Pair>(true) the same with check_archived_root 18.92 ns 19.59 ns
Synchronizer::write serialization, a checksum, a file write, the version swap 472,284 ns 457,347 ns

The block's table gives run 1. The page in the benchmark is seven AtomicU64 on the stack, so the numbers hold no cost of a mapping.

What the lane did not run