# Why Coreload is faster

Whole bare-metal AMD Zen 5 cores. 4.2% observed spread across 3 Linux kernel builds. 240.3 s on Coreload Fast vs. 853.8 s on GitHub-hosted (Linux v6.12 kernel, n=3) — 3.5× on the same commands.

## Hardware summary

- Desktop-class AMD Zen 5 boost: up to 5.5-5.7 GHz (Ryzen 9 9900X / 9950X / Ryzen 7 9700X bare metal).
- Whole physical core allocation: 1 core = 2 hardware threads (4 logical CPUs on `coreload-fast-2core-4thread-8gb`, 8 on `coreload-fast-4core-8thread-16gb`).
- Observed build-time spread: 4.2% max/min spread across n=3 Linux v6.12 kernel builds (`237.0s-246.9s`) versus 79.9% swing on GitHub-hosted (`657.9s-1,183.4s`, n=3).

## 01 / Predictable bare metal vs. random cloud CPUs

In our 2026-11-18 production workflow (4 workloads x 3 sequential runs = 12 jobs on `ubuntu-24.04`), GitHub scheduled those 12 jobs onto five distinct server processors (AMD EPYC 7763, EPYC 9V45, EPYC 9V74, Intel Xeon 6975P-C, and Intel Xeon Platinum 8573C), creating a 79.9% observed spread across the three Linux v6.12 kernel builds (657.9s on EPYC 9V45, 853.8s on EPYC 9V74, 1,183.4s on EPYC 7763). Spread formula: `(max - min) / min` (observed min-max ranges, not confidence intervals).

| Provider & runner | Observed CPU model(s) | Logical CPUs & topology | Memory | Observed kernel spread |
| --- | --- | --- | --- | --- |
| Coreload Fast (`coreload-fast-2core-4thread-8gb`, `coreload-fast-4core-8thread-16gb`) | AMD Ryzen 9 9900X / 9950X, Ryzen 7 9700X (Zen 5) | 4 CPUs (2 cores) / 8 CPUs (4 cores), `threads_per_core=2` | 8 GiB / 16 GiB (0 swap) | 4.2% (237.0-246.9 s, n=3 prod) |
| Blacksmith (`blacksmith-2vcpu` to `16vcpu`) | Mixed AMD EPYC and Intel Xeon | 2 / 4 / 8 / 16 CPUs, `threads_per_core=1` | 8-64 GiB | 39.0% (328.1-456.1 s on 2vCPU, n=6) |
| GitHub-hosted (`ubuntu-24.04`) | EPYC 7763, 9V45, 9V74; Xeon 6975P-C, 8573C | 2 CPUs, `threads_per_core=1` | 7-16 GiB | 79.9% (657.9-1,183.4 s, n=3 prod) |

## 02 / Whole cores vs. 1-thread vCPUs

Cloud and Blacksmith runners expose one logical thread per vCPU (`threads_per_core=1`), leaving the physical core sibling outside the guest VM. Coreload assigns whole physical AMD Zen 5 cores (`threads_per_core=2`), so `coreload-fast-2core-4thread-8gb` exposes `nproc=4` (4.1 CPU quota, 8,149 MiB RAM) and `coreload-fast-4core-8thread-16gb` exposes `nproc=8` (8.1 CPU quota, 16,340 MiB RAM).

- Per-vCPU integer throughput ratio (2026-11-04): Coreload 1.00 single-thread / 1.00 all-core vs. Blacksmith 0.63 single-thread / 0.87 all-core.
- Measured 10-second `openssl speed sha256` (16 KB blocks, n=1/tier, 2026-11-18): 2.56 GB/s (1t) to 7.66 GB/s (4t) on `coreload-fast-2core` (3.0x), and 2.60 GB/s (1t) to 10.35 GB/s (4t) on `coreload-fast-4core` (4.0x).

## 03 / Effective core delivery & sub-linear scaling

Definition: `effective_cpus` = 3-second multi-core Python busy-loop throughput across `nproc` workers divided by single-core loop throughput, run untimed before each job. This ratio measures delivered multi-core scaling rather than isolating hypervisor `%st` directly; host scheduler contention, SMT sibling sharing on 1-thread vCPUs, and datacenter socket power limits are common reasons shared virtualized runners scale sub-linearly.

Measured `effective_cpus` across Blacksmith tiers (2026-11-10 probe, n=12 per size):

- `blacksmith-2vcpu` (`nproc=2`): 1.92-2.08 effective CPUs (median 1.96, 98.0%).
- `blacksmith-4vcpu` (`nproc=4`): 3.65-3.92 effective CPUs (median 3.81, 95.2%; dipped to 3.65-3.75 on compute builds).
- `blacksmith-8vcpu` (`nproc=8`): 6.32-7.90 effective CPUs (median 7.49, 93.6%; mixed EPYC and Xeon).
- `blacksmith-16vcpu` (`nproc=16`): 12.09-14.80 effective CPUs (median 13.26, 82.9%; 2.74 CPUs missing at the median).

## 04 / Measured workloads, timed-stage cost & probes

Estimated timed-stage cost (excluding setup) prices only the timed workload stage (untimed setup/install steps remain billable on both runners; GitHub whole-minute rounding is applied to the timed stage alone).

### Production vs. GitHub-hosted (2026-11-18, n=3 per workload, 2-core vs. 2 vCPU; GitHub $0.006/min whole-min rounding on timed stage vs. Coreload $0.0024/min per-second)

| Workload | GitHub median (range) | Coreload Fast median (range) | Speedup | Est. stage cost (list) |
| --- | --- | --- | --- | --- |
| Django 5.1.4 tests | 333.3 s (326.1–427.3 s) | 97.0 s (94.2–98.9 s) | 3.4× | $0.036 -> $0.0039 (89% less, timed stage) |
| Linux v6.12 kernel build | 853.8 s (657.9–1,183.4 s) | 240.3 s (237.0–246.9 s) | 3.5× | $0.090 -> $0.0096 (89% less, timed stage) |
| Postgres pgbench (s=100) | 40.9 s (40.5–52.9 s) | 5.3 s (5.2–5.4 s) | 7.7× | $0.0060 -> $0.0002 (96% less, timed stage) |
| Docker ripgrep 14.1.1 | 54.8 s (54.2–71.1 s) | 25.5 s (24.2–25.6 s) | 2.1× | $0.0060 -> $0.0010 (83% less, timed stage) |

### Idle lab host vs. Blacksmith (2026-11-10, Blacksmith pooled n=6; Blacksmith $0.004/min / $0.008/min vs. Coreload $0.0024/min / $0.0048/min per-second)

| Workload | Tier | Blacksmith median (range) | Coreload lab | Speedup | Est. stage cost (list) |
| --- | --- | --- | --- | --- | --- |
| Django 5.1.4 tests | 4-CORE VS 4 VCPU (8 CPUs (n=2 lab) vs 4 CPUs (n=6)) | 119.7 s (94.7–138.0 s) | 65.5 s | 1.8× | $0.0160 -> $0.0052 (67% less, timed stage) |
| Linux v6.12 kernel build | 2-CORE VS 2 VCPU (4 CPUs (n=1 lab) vs 2 CPUs (n=6)) | 390.4 s (328.1–456.1 s) | 248.0 s | 1.5× | $0.026 -> $0.0099 (61% less, timed stage) |
| Postgres pgbench (s=100) | 2-CORE VS 2 VCPU (4 CPUs (n=1 lab) vs 2 CPUs (n=6)) | 7.3 s (6.2–10.5 s) | 5.3 s | 1.3× | $0.0005 -> $0.0002 (56% less, timed stage) |
| Docker ripgrep 14.1.1 | 2-CORE VS 2 VCPU (4 CPUs (n=2 lab) vs 2 CPUs (n=6)) | 27.1 s (24.3–35.0 s) | 20.2 s | 1.3× | $0.0018 -> $0.0008 (55% less, timed stage) |

### Quick probe & benchmark commands

Timed runs above pinned exact upstream commits (`linux` `adc21867`, `django` `5.1.4`, `ripgrep` `14.1.1`) with setup/install untimed (setup steps remain billable on both runners); see the [benchmark methodology summary](https://coreload.com/#how-measured).

#### Inspect runner silicon, memory & direct I/O

```bash
lscpu | grep -E 'Model name|CPU\(s\):|Thread\(s\) per core'
nproc && free -m
(
  f=$(mktemp "${RUNNER_TEMP:-/tmp}/io-probe.XXXXXX")
  trap 'rm -f "$f"' EXIT
  dd if=/dev/zero of="$f" bs=1M count=1024 oflag=direct 2>&1 | tail -1
)
```

#### Linux v6.12 kernel compile stage

```bash
make defconfig
/usr/bin/time -f '%e' make -j"$(nproc)" vmlinux
```

#### Django 5.1.4 parallel test stage

```bash
python3 ./runtests.py --parallel "$(nproc)" --noinput
```

#### Postgres pgbench & cold ripgrep container build

```bash
env -i PATH="$PATH" HOME="$HOME" LANG="${LANG:-C.UTF-8}" RUNNER_TEMP="${RUNNER_TEMP:-/tmp}" bash -eu <<'EOF'
d=$(mktemp -d "${RUNNER_TEMP:-/tmp}/pgbench.XXXXXX")
trap '[ -f "$d/data/postmaster.pid" ] && pg_ctl -D "$d/data" -m immediate stop >/dev/null 2>&1; rm -rf "$d"' EXIT
initdb -D "$d/data" -U bench --auth=trust >/dev/null
pg_ctl -D "$d/data" -o "-k \"$d\" -h ''" -l "$d/pg.log" start >/dev/null
pgbench -h "$d" -U bench -i -s 100 postgres
pgbench -h "$d" -U bench -c 16 -j "$(( $(nproc) < 16 ? $(nproc) : 16 ))" -t 2000 postgres
EOF
docker build --no-cache -t ripgrep-bench .
```

## 05 / Local NVMe headroom & ephemeral hardware microVMs

Each job runs in a fresh KVM microVM with local bare-metal NVMe scratch storage and zero swap, wiping disk and memory on exit. Direct-I/O probe (`(f=$(mktemp "${RUNNER_TEMP:-/tmp}/io-probe.XXXXXX"); trap 'rm -f "$f"' EXIT; dd if=/dev/zero of="$f" bs=1M count=1024 oflag=direct)`, n=1 per tier, 2026-11-18, without `fdatasync`) measured 6.3 GB/s on `coreload-fast-2core` and 6.8 GB/s on `coreload-fast-4core`, showing local bare-metal I/O headroom alongside whole Zen 5 compute.

- [Install GitHub App](https://github.com/apps/coreload-ci/installations/new)
- [Estimate your bill](https://coreload.com/github-actions-pricing/)
- [Read Security Architecture](https://coreload.com/security/)
