Repository navigation
Conversation
Contributor
|
| Project | Bencher |
| Branch | u/ep/experiment/sync |
| Testbed | intel-v1 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| Adapter::Json | 📈 view plot 🚷 view threshold | 5.29 µs(+1.66%)Baseline: 5.20 µs | 5.48 µs (96.40%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 5.12 µs(+1.75%)Baseline: 5.04 µs | 5.30 µs (96.64%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 26.52 µs(-1.25%)Baseline: 26.85 µs | 28.63 µs (92.61%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 4.65 µs(+4.00%)Baseline: 4.47 µs | 4.73 µs (98.32%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 4.67 µs(+4.48%)Baseline: 4.47 µs | 4.73 µs (98.78%) |
epompeii
marked this pull request as ready for review
November 26, 2026 00:41
epompeii
marked this pull request as draft
November 26, 2026 13:42
epompeii
force-pushed
the
u/ep/experiment/sync
branch
from
December 1, 2026 19:07
80646db to
faf372e
Compare
|
| Project | Bencher |
| Branch | u/ep/experiment/sync |
| Testbed | intel-v1 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| Adapter::Json | 📈 view plot 🚷 view threshold | 5.31 µs(+2.07%)Baseline: 5.20 µs | 5.48 µs (96.79%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 5.14 µs(+1.99%)Baseline: 5.04 µs | 5.30 µs (96.88%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 7.64 µs(-71.56%)Baseline: 26.85 µs | 28.63 µs (26.67%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 4.55 µs(+1.63%)Baseline: 4.47 µs | 4.73 µs (96.08%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 4.54 µs(+1.67%)Baseline: 4.47 µs | 4.73 µs (96.12%) |
The runner builds each execution's files just before it runs, most of all the unpacked image. Those writes sat dirty in the page cache, and the kernel wrote them back about 30 s later, inside any benchmark that ran longer than that. The runner now flushes the filesystems that hold them before the VM boots or the command starts, and keeps the pages cached. Two timeout messages now name the time the run had, not the whole timeout.
epompeii
force-pushed
the
u/ep/experiment/sync
branch
from
December 2, 2026 23:07
faf372e to
83d66d4
Compare
epompeii
marked this pull request as ready for review
December 3, 2026 00:30
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The runner now writes a job's files to disk before its benchmark starts, so their writeback no longer runs during the measurement.
Each run unpacks the image's tree and builds the guest's disk just before the boot. Those writes sat dirty in the host page cache, and the kernel wrote them back about 30 s later, so in a run longer than that, hundreds of MiB of writeback ran during the measurement, with a size that follows the image.
How
syncfson the filesystems of the work dir (the unpacked tree and the staged binaries), the jail root (the kernel, the disk, the results drive), and the blob store, and waits. The pages stay in the page cache, clean, so the guest's reads stay warm.Flushed the run's files to diskwithflush_ms.Tests
Unit tests for the flush's order and its failure, and for both timeout messages. New runner scenarios put the tree on its own loop-mounted filesystem, stop the runner at the flush, and require 0 KiB of the kernel and the tree to be dirty; a no-op flush left tens of MiB dirty. The scenario checks also require the flush record before the boot and before the host command.