Fastest GitHub Actions runners: disk I/O.
fio inside the job workspace of 93 runners from 9 providers, 2 to 12 vCPU. These are the disk's limits. A build goes through the Linux page cache and often never reaches them, so a large gap here can be no gap on a build.
How this shows up in real builds
Latency per provider
Each provider's best disk, RunsOn once per storage (the Storage pill). QD1 is one 4k read at a time: what a database or a cold read pays. Most build steps batch their I/O through the page cache. tmpfs is RAM, not a disk: add it to see the gap on the same scale.
Namespace and Blacksmith lead x64 QD1 read, within 5% (80,310 and 77,996).tmpfs for scale: 1,150,953 on RunsOn r8a.xlarge · tmpfs.
Blacksmith and Namespace lead x64 synced writes, within 5% (18,654 and 18,341).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Blacksmith and Namespace lead x64 2 vCPU QD1 read, within 5% (77,996 and 77,883).tmpfs for scale: 1,150,953 on RunsOn r8a.xlarge · tmpfs.
Blacksmith and Namespace lead x64 2 vCPU synced writes, within 5% (18,654 and 18,050).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest x64 4 vCPU QD1 read: Namespace (78,187), ahead of Blacksmith (67,769).tmpfs for scale: 1,150,953 on RunsOn r8a.xlarge · tmpfs.
Fastest x64 4 vCPU synced writes: Namespace (18,093), ahead of Blacksmith (16,362).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest x64 8 vCPU QD1 read: Namespace (80,310), ahead of Blacksmith (75,819).tmpfs for scale: 1,150,953 on RunsOn r8a.xlarge · tmpfs.
Namespace and Blacksmith lead x64 8 vCPU synced writes, within 5% (18,341 and 18,022).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest arm64 QD1 read: Warpbuild (27,941), ahead of Blacksmith (23,825).tmpfs for scale: 677,120 on RunsOn m9g.xlarge · tmpfs.
Fastest arm64 synced writes: RunsOn m9gd.2xlarge · NVMe (17,569), ahead of Warpbuild (8,864).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Blacksmith and Avrea lead arm64 2 vCPU QD1 read, within 5% (22,245 and 21,590).tmpfs for scale: 677,120 on RunsOn m9g.xlarge · tmpfs.
Fastest arm64 2 vCPU synced writes: RunsOn m9gd.large · NVMe (7,267), ahead of Blacksmith (6,383).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest arm64 4 vCPU QD1 read: Blacksmith (23,456), ahead of Avrea (21,376).tmpfs for scale: 677,120 on RunsOn m9g.xlarge · tmpfs.
Fastest arm64 4 vCPU synced writes: RunsOn m9gd.xlarge · NVMe (14,869), ahead of Blacksmith (6,597).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest arm64 8 vCPU QD1 read: Blacksmith (23,825), ahead of Avrea (20,543).tmpfs for scale: 677,120 on RunsOn m9g.xlarge · tmpfs.
Fastest arm64 8 vCPU synced writes: RunsOn m9gd.2xlarge · NVMe (17,569), ahead of Blacksmith (7,373).volatile and nobarrier mounts make each flush cheaper by making it less durable.
What the numbers say
Extremes on x64, and RAM against disk.
- On x64, one small read at a time (4k, QD1) comes back 80,310 times a second on Namespace 8x32 and 1,543 on RunsOn m8i.2xlarge · EBS gp3, 52× apart; p99 latency is 12 µs against 971 µs.
- Synced 4k writes on x64 run from 489 per second on RunsOn m8i.2xlarge · EBS gp3 (workspace mounted nobarrier) to 18,654 on Blacksmith 2 vCPU (workspace mounted nobarrier).
- r8a.large with tmpfs ($0.0010/min at spot) answers 1,105,119 QD1 reads and 426,617 synced writes per second: 91× and 32× the best local NVMe at 2 vCPU (i7i.large, $0.0011) and 619× and 789× default EBS gp3 (c8a.large, $0.0008); its workspace is 14 GiB, from RAM. (EC2 storage suite) What that does to real builds.
More findings23: EBS, arm64, NVMe vs EBS, provisioned gp3, tmpfs, storage classes
- Every EBS-backed workspace (3 AWS CodeBuild x64 runners, 25 RunsOn configurations and 3 Warpbuild configurations) answers between 1,543 and 1,837 QD1 reads and 489 to 571 synced writes per second, whoever runs it and whatever throughput it is provisioned for: each request is a round trip to network storage.
- On arm64, one small read at a time (4k, QD1) comes back 27,941 times a second on Warpbuild xfast (Apple M4 Pro) 6 vCPU and 1,642 on RunsOn m9g.xlarge · EBS gp3, 17× apart; p99 latency is 56 µs against 1,004 µs.
- Synced 4k writes on arm64 run from 537 per second on RunsOn c8g.large · EBS gp3 (workspace mounted nobarrier) to 17,569 on RunsOn m9gd.2xlarge · local NVMe.
- Same Xeon 6975P-C CPU, different disk: m8id.2xlarge on local NVMe answers 10,286 QD1 reads and 7,106 synced writes per second, m8i.2xlarge on EBS gp3 1,543 and 489.
- Same Xeon 6975P-C CPU, different disk: m8id.large on local NVMe answers 11,182 QD1 reads and 5,542 synced writes per second, m8i-flex.large on EBS gp3 1,745 and 532.
- Same Xeon 6975P-C CPU, different disk: m8id.xlarge on local NVMe answers 10,996 QD1 reads and 8,057 synced writes per second, m8i-flex.xlarge on EBS gp3 1,740 and 520.
- Same Neoverse-V3 CPU, different disk: m9gd.2xlarge on local NVMe answers 13,508 QD1 reads and 17,569 synced writes per second, m9g.2xlarge on EBS gp3 1,810 and 543.
- Same Neoverse-V3 CPU, different disk: m9gd.xlarge on local NVMe answers 13,455 QD1 reads and 14,869 synced writes per second, m9g.xlarge on EBS gp3 1,642 and 543.
- Same Neoverse-V3 CPU, different disk: m9gd.large on local NVMe answers 13,480 QD1 reads and 7,267 synced writes per second, m9g.large on EBS gp3 1,789 and 543.
- Provisioning gp3 at 1000 MiB/s on m8a.2xlarge takes sequential reads from 402 MiB/s to 1,002 MiB/s (2.5×); QD1 reads barely move (1,791 → 1,792 IOPS): it buys bandwidth, not latency.
- Provisioning gp3 at 1000 MiB/s on m8azn.xlarge takes sequential reads from 401 MiB/s to 1,001 MiB/s (2.5×); QD1 reads barely move (1,780 → 1,757 IOPS): it buys bandwidth, not latency.
- tmpfs on m8a.2xlarge is not a disk at all: 1,111,843 QD1 reads and 428,937 synced writes per second, from RAM. The workspace is 29 GiB, sized by memory.
- tmpfs on m9g.2xlarge is not a disk at all: 653,094 QD1 reads and 299,229 synced writes per second, from RAM. The workspace is 29 GiB, sized by memory.
- tmpfs on m9g.xlarge is not a disk at all: 677,120 QD1 reads and 304,088 synced writes per second, from RAM. The workspace is 14 GiB, sized by memory.
- tmpfs on r8a.2xlarge is not a disk at all: 1,150,238 QD1 reads and 428,713 synced writes per second, from RAM. The workspace is 59 GiB, sized by memory.
- tmpfs on r8a.xlarge is not a disk at all: 1,150,953 QD1 reads and 432,796 synced writes per second, from RAM. The workspace is 29 GiB, sized by memory.
- tmpfs on r9g.large is not a disk at all: 634,536 QD1 reads and 296,835 synced writes per second, from RAM. The workspace is 14 GiB, sized by memory.
- tmpfs on r9g.xlarge is not a disk at all: 644,236 QD1 reads and 302,278 synced writes per second, from RAM. The workspace is 29 GiB, sized by memory.
- tmpfs: 635k–1.2M QD1 reads and 297k–433k synced writes per second across 8 runners (8 RunsOn configurations).
- VM disk: 5.5k–80k QD1 reads and 976–19k synced writes per second across 43 runners from 7 providers (6 Avrea runners, 6 Blacksmith runners, 3 GitHub runners, 12 Namespace runners, 2 StarSling x64 runners, 9 Ubicloud runners and 5 Warpbuild runners).
- local NVMe: 10k–14k QD1 reads and 5.5k–18k synced writes per second across 9 runners (9 RunsOn configurations).
- network disk: 7.2k–7.9k QD1 reads and 4.1k–4.3k synced writes per second across 2 runners (2 GitHub runners).
- EBS: 1.5k–1.8k QD1 reads and 489–571 synced writes per second across 31 runners from 3 providers (3 AWS CodeBuild x64 runners, 25 RunsOn configurations and 3 Warpbuild configurations).
Reading these numbers
fio measures what a disk can do. Whether a job gets there depends on the job.
At 4 vCPU, Namespace 4x8 answers 44× the QD1 reads of RunsOn m8a.xlarge · EBS gp3 (78,187 against 1,771 per second), and the Rust build takes 1m 52s on one and 1m 48s on the other. Every build, per runner.
What each column says about a job
- QD1 reads and synced writes: databases, SQLite-backed tests and anything that flushes each write. Every flush waits for the storage, and a network disk pays a round trip each time.
-
Random writes at depth and sequential throughput:
docker buildlayers, package installs and cache archives. They batch their writes and run into the disk's ceiling, not its latency. - None of them: compile jobs. A compiler waits for the CPU, and it reads its files back from the page cache.
Every runner
Each provider's best disk first; its other machines sit behind +N more. Bars are log scale.
| One request at a time | 4k, 32 in flight | Sequential, 1M | |||||
|---|---|---|---|---|---|---|---|
| Runner | QD1 read ↑ | p99 ↓ | Sync write ↑ | Read ↑ | Write ↑ | Read ↑ | Write ↑ |
| x64 | |||||||
| Namespace 8x32 | 12 µs | 1,129,852 | 522,909 | 4.2 GiB/s | 3.0 GiB/s | ||
| 8x16 | 12 µs | 1,138,192 | 465,716 | 4.1 GiB/s | 2.9 GiB/s | ||
| 4x16 | 13 µs | 988,446 | 455,585 | 4.1 GiB/s | 3.0 GiB/s | ||
| 4x8 | 13 µs | 1,000,575 | 454,539 | 4.1 GiB/s | 2.9 GiB/s | ||
| 2x8 | 13 µs | 354,904 | 231,225 | 4.2 GiB/s | 3.0 GiB/s | ||
| Blacksmith | 27 µs | 780,194 | 174,903 | 6.6 GiB/s | 2.0 GiB/s | ||
| 8 vCPU | 16 µs | 523,413 | 293,806 | 7.6 GiB/s | 2.1 GiB/s | ||
| 4 vCPU | 18 µs | 714,954 | 209,551 | 6.5 GiB/s | 1.7 GiB/s | ||
| StarSling | 17 µs | 249,722 | 59,965 | 2.9 GiB/s | 2.9 GiB/s | ||
| 4 vCPU | 22 µs | 315,539 | 48,009 | 3.1 GiB/s | 3.0 GiB/s | ||
| Avrea | 14 µs | 343,640 | 234,017 | 11.7 GiB/s | 7.4 GiB/s | ||
| 4 vCPU | 14 µs | 420,948 | 190,365 | 10.4 GiB/s | 8.4 GiB/s | ||
| 2 vCPU | 16 µs | 315,150 | 324,338 | 12.0 GiB/s | 7.5 GiB/s | ||
| Warpbuild | 45 µs | 154,260 | 57,088 | 5.0 GiB/s | 3.6 GiB/s | ||
| 4 vCPU | 56 µs | 179,057 | 66,661 | 6.4 GiB/s | 4.3 GiB/s | ||
| 2 vCPU | 47 µs | 152,215 | 67,413 | 6.6 GiB/s | 4.1 GiB/s | ||
| RunsOn i7i.2xlarge | 301 µs | 300,467 | 165,110 | 2.0 GiB/s | 1.5 GiB/s | ||
| m8azn.3xlarge | 995 µs | 2,997 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| m8a.2xlarge | 815 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| m8a.2xlarge | 889 µs | 15,994 | 15,992 | 1,001 MiB/s | 1,001 MiB/s | ||
| c8a.2xlarge | 856 µs | 2,995 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| r8a.2xlarge | <1 µs | 4,280,104 | 3,818,921 | 17.9 GiB/s | 10.0 GiB/s | ||
| m8a.2xlarge | <1 µs | 4,286,079 | 3,820,879 | 18.5 GiB/s | 10.0 GiB/s | ||
| m8azn.xlarge | 848 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| m8azn.xlarge | 840 µs | 15,994 | 15,992 | 1,001 MiB/s | 1,001 MiB/s | ||
| m8i.2xlarge | 971 µs | 2,992 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| m8id.2xlarge | 313 µs | 134,257 | 67,076 | 905 MiB/s | 432 MiB/s | ||
| m8i-flex.2xlarge | 938 µs | 2,992 | 2,995 | 401 MiB/s | 401 MiB/s | ||
| m8a.xlarge | 848 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| c8a.xlarge | 807 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| r8a.xlarge | <1 µs | 4,238,360 | 3,832,030 | 18.1 GiB/s | 10.1 GiB/s | ||
| m8azn.large | 774 µs | 2,994 | 2,991 | 401 MiB/s | 401 MiB/s | ||
| m8i-flex.xlarge | 848 µs | 2,992 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| m8i.xlarge | 840 µs | 2,992 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| m8id.xlarge | 218 µs | 67,090 | 33,527 | 451 MiB/s | 216 MiB/s | ||
| i7i.xlarge | 281 µs | 150,052 | 82,486 | 1,010 MiB/s | 788 MiB/s | ||
| m8a.large | 864 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| r8a.large | 864 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| r8a.large | <1 µs | 2,178,293 | 1,943,626 | 18.4 GiB/s | 10.0 GiB/s | ||
| c8a.large | 864 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| m8id.large | 187 µs | 33,541 | 16,753 | 226 MiB/s | 108 MiB/s | ||
| m8i-flex.large | 897 µs | 2,993 | 2,993 | 401 MiB/s | 401 MiB/s | ||
| m8i.large | 971 µs | 2,994 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| i7i.large | 293 µs | 75,023 | 41,231 | 503 MiB/s | 395 MiB/s | ||
| t8i.medium | 791 µs | 2,998 | 2,998 | 401 MiB/s | 401 MiB/s | ||
| Ubicloud premium | 305 µs | 362,628 | 20,504 | 3.0 GiB/s | 1.4 GiB/s | ||
| standard 8 vCPU | 561 µs | 211,320 | 14,889 | 2.7 GiB/s | 716 MiB/s | ||
| premium 4 vCPU | 2,073 µs | 169,052 | 16,583 | 2.3 GiB/s | 909 MiB/s | ||
| standard 4 vCPU | 326 µs | 193,790 | 19,414 | 2.7 GiB/s | 668 MiB/s | ||
| standard 2 vCPU | 1,090 µs | 101,862 | 30,075 | 2.5 GiB/s | 622 MiB/s | ||
| premium 2 vCPU | 1,106 µs | 97,077 | 56,269 | 2.6 GiB/s | 849 MiB/s | ||
| GitHub | 155 µs | 38,977 | 19,839 | 784 MiB/s | 532 MiB/s | ||
| 4-core | 297 µs | 19,578 | 10,796 | 394 MiB/s | 245 MiB/s | ||
| 2-core | 222 µs | 9,384 | 8,788 | 199 MiB/s | 200 MiB/s | ||
| AWS CodeBuild medium | 717 µs | 2,990 | 2,978 | 253 MiB/s | 251 MiB/s | ||
| large | 684 µs | 2,990 | 2,978 | 251 MiB/s | 251 MiB/s | ||
| small | 709 µs | 2,989 | 2,972 | 248 MiB/s | 251 MiB/s | ||
| arm64 | |||||||
| Warpbuild xfast (Apple M4 Pro) | 56 µs | 321,484 | 4,986 | 20.1 GiB/s | 20.3 GiB/s | ||
| xfast (Apple M4 Pro) 12 vCPU | 40 µs | 335,287 | 4,460 | 21.6 GiB/s | 22.7 GiB/s | ||
| 8 vCPU | 774 µs | 4,994 | 4,994 | 401 MiB/s | 401 MiB/s | ||
| 4 vCPU | 758 µs | 4,193 | 4,193 | 302 MiB/s | 302 MiB/s | ||
| 2 vCPU | 905 µs | 4,193 | 4,194 | 302 MiB/s | 301 MiB/s | ||
| Blacksmith | 40 µs | 218,423 | 25,290 | 1.6 GiB/s | 822 MiB/s | ||
| 4 vCPU | 44 µs | 153,065 | 22,534 | 1.6 GiB/s | 855 MiB/s | ||
| 2 vCPU | 47 µs | 75,635 | 26,550 | 1.7 GiB/s | 857 MiB/s | ||
| Avrea | 58 µs | 166,655 | 38,604 | 31.9 GiB/s | 14.9 GiB/s | ||
| 8 vCPU | 52 µs | 141,093 | 18,426 | 43.1 GiB/s | 16.1 GiB/s | ||
| 4 vCPU | 57 µs | 148,274 | 18,814 | 32.7 GiB/s | 17.1 GiB/s | ||
| Namespace Apple silicon 2x8 | 88 µs | 151,596 | 15,029 | 31.5 GiB/s | 10.5 GiB/s | ||
| Apple silicon 4x16 | 105 µs | 127,914 | 17,304 | 30.6 GiB/s | 11.9 GiB/s | ||
| 8x32 | 93 µs | 180,698 | 28,671 | 891 MiB/s | 691 MiB/s | ||
| 8x16 | 98 µs | 171,247 | 41,036 | 901 MiB/s | 690 MiB/s | ||
| 4x16 | 86 µs | 147,360 | 32,179 | 943 MiB/s | 760 MiB/s | ||
| 4x8 | 91 µs | 143,176 | 33,883 | 951 MiB/s | 696 MiB/s | ||
| 2x8 | 95 µs | 77,556 | 27,386 | 927 MiB/s | 755 MiB/s | ||
| RunsOn m9gd.2xlarge | 81 µs | 174,573 | 87,209 | 1.1 GiB/s | 561 MiB/s | ||
| m9g.2xlarge | 774 µs | 2,995 | 2,991 | 401 MiB/s | 401 MiB/s | ||
| m9g.2xlarge | <1 µs | 2,636,493 | 2,512,316 | 12.0 GiB/s | 9.0 GiB/s | ||
| c8g.2xlarge | 864 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| m9gd.xlarge | 84 µs | 87,221 | 43,589 | 585 MiB/s | 281 MiB/s | ||
| m9g.xlarge | 1,004 µs | 2,994 | 2,991 | 401 MiB/s | 401 MiB/s | ||
| m9g.xlarge | <1 µs | 2,738,123 | 2,547,343 | 15.0 GiB/s | 9.7 GiB/s | ||
| r9g.xlarge | <1 µs | 2,611,352 | 2,491,994 | 13.8 GiB/s | 9.2 GiB/s | ||
| c8g.xlarge | 856 µs | 2,993 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| m9gd.large | 81 µs | 43,607 | 21,782 | 293 MiB/s | 141 MiB/s | ||
| m9g.large | 864 µs | 2,993 | 2,993 | 401 MiB/s | 401 MiB/s | ||
| r9g.large | <1 µs | 1,268,375 | 1,231,202 | 13.5 GiB/s | 9.1 GiB/s | ||
| c8g.large | 1,004 µs | 2,992 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| Ubicloud standard | 375 µs | 159,875 | 50,555 | 798 MiB/s | 357 MiB/s | ||
| standard 8 vCPU | 379 µs | 241,605 | 101,993 | 756 MiB/s | 487 MiB/s | ||
| standard 2 vCPU | 510 µs | 97,196 | 61,472 | 804 MiB/s | 481 MiB/s | ||
| GitHub | 222 µs | 19,579 | 11,834 | 394 MiB/s | 337 MiB/s | ||
| 2-core | 222 µs | 9,376 | 6,035 | 199 MiB/s | 164 MiB/s | ||
- IOPS are 4k blocks, medians of finished jobs
- bold best disk measured on the arch (tmpfs is RAM, left out)
- , : cheaper, less durable flushes
Pick the disk per job on RunsOn
-
The instance type sets the storage under the workspace: EBS gp3 by default, provisioned gp3 for bandwidth, local NVMe
on the
dandifamilies, or tmpfs when the job fits in RAM. Pick it with thefamilylabel; each one, measured: EC2 storage benchmark. - What tmpfs does to real builds, what it costs and where it does nothing: Disks? Where we're going, we don't need disks.
How it's measured
fio runs inside the job, in GITHUB_WORKSPACE: the disk a build writes to, on the filesystem the provider
mounted there. Every runner is compared, whatever its shape.
fio settingsblock sizes, queue depths, mounts
- QD1 random read: 4k blocks, one request in flight; IOPS and p99 latency.
- Sync write: 4k writes, each followed by
fdatasync. - Random read and write: 4k blocks, 4 jobs with 32 requests in flight each.
- Sequential read and write: 1M blocks, 32 requests in flight.
- The workspace filesystem, its size and its mount options come from the job's own mount table.
- Earlier versions of this page used a different harness and other fio settings on 2 vCPU runners; those numbers are gone rather than mixed in.