---
name: eurosys-reproducibility
description: Use when setting up run records, machine descriptions, and result lineage for a EuroSys paper, so that a two-day response or a revision can be answered. Does not package the artifact.
---

# EuroSys reproducibility

Use this on the first day of experiments.

Call: https://2027.eurosys.org/cfp.html · Checklists: https://sysartifacts.github.io/eurosys2027/badges

## What must be answerable in an hour

In the response a reviewer asks: "was turbo on in Figure 9?" The answer may correct a fact but may hold **no new data**. Therefore it has to be in the records already. Test with five such questions before submission.

## Machine card

Once per host and boot:

```bash
git rev-parse HEAD >/dev/null || { echo "STOP: run this in the repository"; exit 1; }
H=env/$(hostname)-$(date -u +%Y%m%dT%H%M%SZ); mkdir -p "$H"
uname -a > "$H/uname"; cat /proc/cmdline > "$H/cmdline" 2>/dev/null || true
lscpu > "$H/cpu" 2>/dev/null || true
numactl --hardware > "$H/numa" 2>/dev/null || true
cat /sys/devices/system/cpu/intel_pstate/no_turbo > "$H/no_turbo" 2>/dev/null || true
cat /sys/kernel/mm/transparent_hugepage/enabled > "$H/thp" 2>/dev/null || true
lsblk -o NAME,MODEL,ROTA,SIZE > "$H/disks" 2>/dev/null || true
sysctl -a 2>/dev/null | grep -E '^(vm|net\.ipv4|net\.core|kernel\.sched)' > "$H/sysctl" || true
git rev-parse HEAD > "$H/commit"; git diff > "$H/dirty.patch"
```

A non-empty `dirty.patch` beside a figure is a warning. Microcode, firmware, and NIC driver versions go on the card by hand if the tool does not print them.

## One run, one directory

Configuration as a file, exact command, start and end, seed, raw output before parsing, exit status, and the card it ran on. Analysis reads these and writes nothing back. Failed runs stay, marked.

Rejection rules are written before results: "a run is void if the generator's CPU exceeds 80%". Count void runs per system. If one system has more, the rule favours someone.

## Lineage of a figure

```text
fig09.pdf <- plot/fig09.py <- data/fig09.csv <- parse/lat.py <- runs/0412..0461 <- conf/fig09.yaml
```

Keep it in the repository as a build rule, so that one command redraws. Then change a raw number and see the figure move. Figures that do not move were pasted.

## Names

The submission may need another system name than the preprint. Make the name a variable in the build, the plots, and the log prefix. Records under the public name are kept private.

## Baselines too

Their commit, build flags, configuration, and patches. If you fixed a bug in a rival, keep the patch, use it in all runs, and say so.

## Before submission

Tag. Copy raw data to a second place. Let a colleague redraw three figures chosen by them. Write for each page-1 claim the command and its expected time. The list becomes the README of the artifact.

## Output

```text
[EuroSys record] hosts carded <n of n>, dirty runs in figures <none>
[Void rule] <text>, void runs per system <n, n>
[Figures rebuilt by another person] <three>
[Name variable] public <private>, review <x>
[Baseline patches] <list>
[Five questions] answered in <minutes>
[Tag] <x>, second copy <where>
```

## Reverify each cycle

- The artifact checklists, which change what is worth recording.
