Fastest GitHub Actions runners: disk I/O.
fio inside the job workspace of 102 runners from 11 providers, 2 to 12 vCPU. These are the disk's limits. A build goes through the Linux page cache and often never reaches them.
How this shows up in real builds EC2 storage: NVMe, gp3 and tmpfs on the same instances
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.
Fastest x64 QD1 read: StarSling (446,647), ahead of boat (142,619).tmpfs for scale: 1,151,036 on RunsOn r8a.2xlarge · tmpfs.
Fastest x64 synced writes: StarSling (333,206), ahead of Namespace (31,543).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest x64 2 vCPU QD1 read: boat (142,619), ahead of Namespace (105,420).tmpfs for scale: 1,151,036 on RunsOn r8a.2xlarge · tmpfs.
Fastest x64 2 vCPU synced writes: Namespace (31,543), ahead of boat (27,740).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest x64 4 vCPU QD1 read: StarSling (446,647), ahead of Namespace (102,406).tmpfs for scale: 1,151,036 on RunsOn r8a.2xlarge · tmpfs.
Fastest x64 4 vCPU synced writes: StarSling (333,206), ahead of Namespace (27,630).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest x64 8 vCPU QD1 read: Namespace (106,262), ahead of Blacksmith (69,045).tmpfs for scale: 1,151,036 on RunsOn r8a.2xlarge · tmpfs.
Fastest x64 8 vCPU synced writes: Namespace (29,165), ahead of Blacksmith (18,082).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest arm64 QD1 read: Blacksmith (32,788), ahead of Warpbuild (22,153).tmpfs for scale: 661,778 on RunsOn m9g.xlarge · tmpfs.
Fastest arm64 synced writes: RunsOn m9gd.2xlarge · NVMe (17,125), ahead of Blacksmith (9,981).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest arm64 2 vCPU QD1 read: Blacksmith (30,581), ahead of Avrea (20,909).tmpfs for scale: 661,778 on RunsOn m9g.xlarge · tmpfs.
Fastest arm64 2 vCPU synced writes: Blacksmith (8,442), ahead of RunsOn m9gd.large · NVMe (7,267).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest arm64 4 vCPU QD1 read: Blacksmith (32,788), ahead of Namespace (20,376).tmpfs for scale: 661,778 on RunsOn m9g.xlarge · tmpfs.
Fastest arm64 4 vCPU synced writes: RunsOn m9gd.xlarge · NVMe (14,861), ahead of Blacksmith (9,432).volatile and nobarrier mounts make each flush cheaper by making it less durable.
Fastest arm64 8 vCPU QD1 read: Blacksmith (31,905), ahead of Avrea (20,689).tmpfs for scale: 661,778 on RunsOn m9g.xlarge · tmpfs.
Fastest arm64 8 vCPU synced writes: RunsOn m9gd.2xlarge · NVMe (17,125), ahead of Blacksmith (9,981).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 446,647 times a second on StarSling 4 vCPU and 1,568 on RunsOn m8i.2xlarge · EBS gp3, 285× apart; p99 latency is <1 µs against 1,057 µs.
- Synced 4k writes on x64 run from 488 per second on RunsOn m8i.2xlarge · EBS gp3 (workspace mounted nobarrier) to 333,206 on StarSling 4 vCPU.
- r8a.large with tmpfs ($0.0008/min at spot) answers 1,031,010 QD1 reads and 427,099 synced writes per second: 84× and 33× the best local NVMe at 2 vCPU (i7i.large, $0.0009) and 570× 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,568 and 1,844 QD1 reads and 488 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 32,788 times a second on Blacksmith 4 vCPU and 1,669 on RunsOn m9g.2xlarge · EBS gp3, 20× apart; p99 latency is 36 µs against 856 µs.
- Synced 4k writes on arm64 run from 537 per second on RunsOn c8g.large · EBS gp3 (workspace mounted nobarrier) to 17,125 on RunsOn m9gd.2xlarge · local NVMe.
- Same Xeon 6975P-C CPU, different disk: m8id.2xlarge on local NVMe answers 11,083 QD1 reads and 7,613 synced writes per second, m8i.2xlarge on EBS gp3 1,568 and 488.
- Same Xeon 6975P-C CPU, different disk: m8id.large on local NVMe answers 11,044 QD1 reads and 5,545 synced writes per second, m8i-flex.large on EBS gp3 1,755 and 527.
- Same Xeon 6975P-C CPU, different disk: m8id.xlarge on local NVMe answers 10,825 QD1 reads and 7,923 synced writes per second, m8i-flex.xlarge on EBS gp3 1,756 and 522.
- Same Neoverse-V3 CPU, different disk: m9gd.2xlarge on local NVMe answers 13,462 QD1 reads and 17,125 synced writes per second, m9g.2xlarge on EBS gp3 1,669 and 543.
- Same Neoverse-V3 CPU, different disk: m9gd.xlarge on local NVMe answers 13,375 QD1 reads and 14,861 synced writes per second, m9g.xlarge on EBS gp3 1,836 and 543.
- Same Neoverse-V3 CPU, different disk: m9gd.large on local NVMe answers 13,529 QD1 reads and 7,267 synced writes per second, m9g.large on EBS gp3 1,812 and 543.
- Provisioning gp3 at 1000 MiB/s on m8a.2xlarge takes sequential reads from 401 MiB/s to 1,001 MiB/s (2.5×); QD1 reads go (1,587 → 1,776 IOPS).
- 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,794 → 1,773 IOPS): it buys bandwidth, not latency.
- tmpfs on m8a.2xlarge is not a disk at all: 1,139,592 QD1 reads and 426,701 synced writes per second, from RAM. The workspace is 29 GiB, sized by memory.
- tmpfs on m9g.2xlarge is not a disk at all: 656,243 QD1 reads and 300,362 synced writes per second, from RAM. The workspace is 29 GiB, sized by memory.
- tmpfs on m9g.xlarge is not a disk at all: 661,778 QD1 reads and 303,583 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,151,036 QD1 reads and 427,477 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,078,308 QD1 reads and 430,115 synced writes per second, from RAM. The workspace is 29 GiB, sized by memory.
- tmpfs on r9g.large is not a disk at all: 650,772 QD1 reads and 297,208 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,142 QD1 reads and 300,866 synced writes per second, from RAM. The workspace is 29 GiB, sized by memory.
- tmpfs: 644k–1.2M QD1 reads and 297k–430k synced writes per second across 8 runners (8 RunsOn configurations).
- VM disk: 5.4k–447k QD1 reads and 1.3k–333k synced writes per second across 52 runners from 9 providers (6 Avrea runners, 6 Blacksmith runners, 3 boat x64 runners, 3 GitHub runners, 12 Namespace runners, 6 Sengi x64 runners, 2 StarSling x64 runners, 9 Ubicloud runners and 5 Warpbuild runners).
- local NVMe: 11k–14k QD1 reads and 5.5k–17k synced writes per second across 9 runners (9 RunsOn configurations).
- network disk: 7.2k–8.0k QD1 reads and 3.7k–4.1k synced writes per second across 2 runners (2 GitHub runners).
- EBS: 1.6k–1.8k QD1 reads and 488–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.
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 | |||||||
| StarSling | <1 µs | 1,784,889 | 1,503,464 | 14.6 GiB/s | 8.1 GiB/s | ||
| 8 vCPU | 20 µs | 386,587 | 48,228 | 2.4 GiB/s | 3.3 GiB/s | ||
| boat | 10 µs | 579,036 | 259,819 | 10.1 GiB/s | 4.8 GiB/s | ||
| 8 vCPU | 33 µs | 456,821 | 274,874 | 12.3 GiB/s | 2.2 GiB/s | ||
| 4 vCPU | 33 µs | 404,032 | 239,335 | 8.0 GiB/s | 4.3 GiB/s | ||
| Namespace 8x32 | 10 µs | 1,146,660 | 591,567 | 5.3 GiB/s | 3.6 GiB/s | ||
| 8x16 | 10 µs | 1,118,292 | 583,585 | 5.0 GiB/s | 3.6 GiB/s | ||
| 4x16 | 11 µs | 893,134 | 478,537 | 4.5 GiB/s | 2.6 GiB/s | ||
| 4x8 | 11 µs | 1,156,765 | 551,052 | 4.7 GiB/s | 2.8 GiB/s | ||
| 2x8 | 10 µs | 842,453 | 603,279 | 4.6 GiB/s | 3.0 GiB/s | ||
| Blacksmith | 16 µs | 740,870 | 167,128 | 6.5 GiB/s | 1.8 GiB/s | ||
| 8 vCPU | 17 µs | 520,385 | 225,431 | 6.9 GiB/s | 1.8 GiB/s | ||
| 4 vCPU | 16 µs | 671,135 | 201,456 | 5.4 GiB/s | 1.8 GiB/s | ||
| Warpbuild | 22 µs | 176,578 | 61,528 | 4.1 GiB/s | 2.7 GiB/s | ||
| 8 vCPU | 27 µs | 174,672 | 71,136 | 3.9 GiB/s | 3.0 GiB/s | ||
| 2 vCPU | 45 µs | 232,952 | 87,192 | 3.7 GiB/s | 3.0 GiB/s | ||
| Avrea | 21 µs | 583,528 | 177,303 | 16.2 GiB/s | 10.9 GiB/s | ||
| 8 vCPU | 18 µs | 312,234 | 181,339 | 16.2 GiB/s | 10.7 GiB/s | ||
| 4 vCPU | 21 µs | 456,155 | 252,929 | 15.6 GiB/s | 10.3 GiB/s | ||
| Sengi premium | 136 µs | 273,135 | 152,642 | 2.8 GiB/s | 1.2 GiB/s | ||
| premium 8 vCPU | 189 µs | 282,362 | 140,901 | 2.1 GiB/s | 1.1 GiB/s | ||
| basic 8 vCPU | 350 µs | 203,561 | 37,475 | 2.6 GiB/s | 1.8 GiB/s | ||
| premium 4 vCPU | 204 µs | 286,150 | 144,114 | 2.1 GiB/s | 1.1 GiB/s | ||
| basic 4 vCPU | 1,253 µs | 227,997 | 26,471 | 2.6 GiB/s | 2.0 GiB/s | ||
| basic 2 vCPU | 1,188 µs | 103,173 | 62,768 | 1.9 GiB/s | 1.7 GiB/s | ||
| RunsOn i7i.large | 261 µs | 75,023 | 41,228 | 503 MiB/s | 395 MiB/s | ||
| m8azn.3xlarge | 905 µs | 2,997 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| c8a.2xlarge | 897 µs | 2,995 | 2,991 | 401 MiB/s | 401 MiB/s | ||
| r8a.2xlarge | <1 µs | 4,241,959 | 3,814,778 | 18.5 GiB/s | 10.1 GiB/s | ||
| m8a.2xlarge | 856 µs | 2,995 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| m8a.2xlarge | 872 µs | 15,995 | 15,992 | 1,001 MiB/s | 1,001 MiB/s | ||
| m8a.2xlarge | <1 µs | 4,245,514 | 3,822,441 | 18.2 GiB/s | 10.1 GiB/s | ||
| m8azn.xlarge | 840 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| m8azn.xlarge | 823 µs | 15,994 | 15,992 | 1,001 MiB/s | 1,001 MiB/s | ||
| m8id.2xlarge | 125 µs | 134,258 | 67,072 | 905 MiB/s | 432 MiB/s | ||
| m8i.2xlarge | 1,057 µs | 2,993 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| m8i-flex.2xlarge | 913 µs | 2,993 | 2,995 | 401 MiB/s | 401 MiB/s | ||
| c8a.xlarge | 807 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| m8a.xlarge | 848 µs | 2,994 | 2,991 | 401 MiB/s | 401 MiB/s | ||
| i7i.2xlarge | 313 µs | 300,466 | 165,109 | 2.0 GiB/s | 1.5 GiB/s | ||
| r8a.xlarge | <1 µs | 4,127,325 | 3,721,231 | 18.2 GiB/s | 9.9 GiB/s | ||
| m8azn.large | 791 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| m8i.xlarge | 930 µs | 2,992 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| m8id.xlarge | 257 µs | 67,090 | 33,526 | 451 MiB/s | 216 MiB/s | ||
| i7i.xlarge | 281 µs | 150,052 | 82,487 | 1,010 MiB/s | 788 MiB/s | ||
| m8i-flex.xlarge | 856 µs | 2,993 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| r8a.large | <1 µs | 1,938,641 | 1,832,347 | 16.8 GiB/s | 9.9 GiB/s | ||
| r8a.large | 766 µs | 2,995 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| m8a.large | 717 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| c8a.large | 856 µs | 2,994 | 2,991 | 401 MiB/s | 401 MiB/s | ||
| m8i.large | 963 µs | 2,993 | 2,993 | 401 MiB/s | 401 MiB/s | ||
| m8id.large | 185 µs | 33,541 | 16,752 | 226 MiB/s | 108 MiB/s | ||
| m8i-flex.large | 868 µs | 2,994 | 2,993 | 401 MiB/s | 401 MiB/s | ||
| t8i.medium | 774 µs | 3,003 | 2,998 | 401 MiB/s | 401 MiB/s | ||
| Ubicloud premium | 305 µs | 330,381 | 22,767 | 2.9 GiB/s | 1.2 GiB/s | ||
| standard 8 vCPU | 856 µs | 261,647 | 19,767 | 2.8 GiB/s | 923 MiB/s | ||
| premium 4 vCPU | 412 µs | 224,391 | 19,765 | 2.6 GiB/s | 1.3 GiB/s | ||
| standard 4 vCPU | 1,106 µs | 201,281 | 21,819 | 2.3 GiB/s | 860 MiB/s | ||
| standard 2 vCPU | 436 µs | 151,057 | 28,384 | 2.3 GiB/s | 1.4 GiB/s | ||
| premium 2 vCPU | 1,139 µs | 116,012 | 17,595 | 2.3 GiB/s | 1.8 GiB/s | ||
| GitHub | 255 µs | 38,973 | 17,510 | 783 MiB/s | 536 MiB/s | ||
| 4-core | 214 µs | 19,569 | 10,264 | 394 MiB/s | 250 MiB/s | ||
| 2-core | 245 µs | 9,378 | 7,890 | 199 MiB/s | 133 MiB/s | ||
| AWS CodeBuild medium | 717 µs | 2,992 | 2,975 | 241 MiB/s | 251 MiB/s | ||
| large | 791 µs | 2,990 | 2,976 | 243 MiB/s | 251 MiB/s | ||
| small | 791 µs | 2,986 | 2,971 | 251 MiB/s | 251 MiB/s | ||
| arm64 | |||||||
| Blacksmith | 36 µs | 259,971 | 36,702 | 1.6 GiB/s | 786 MiB/s | ||
| 8 vCPU | 35 µs | 256,730 | 37,102 | 1.6 GiB/s | 924 MiB/s | ||
| 2 vCPU | 39 µs | 258,300 | 36,593 | 1.6 GiB/s | 760 MiB/s | ||
| Warpbuild xfast (Apple M4 Pro) | 59 µs | 212,116 | 10,533 | 25.0 GiB/s | 13.2 GiB/s | ||
| xfast (Apple M4 Pro) 6 vCPU | 81 µs | 206,000 | 14,808 | 22.0 GiB/s | 10.2 GiB/s | ||
| 8 vCPU | 799 µs | 4,995 | 4,993 | 401 MiB/s | 401 MiB/s | ||
| 4 vCPU | 864 µs | 4,194 | 4,194 | 302 MiB/s | 302 MiB/s | ||
| 2 vCPU | 758 µs | 4,194 | 4,193 | 302 MiB/s | 301 MiB/s | ||
| Avrea | 60 µs | 157,965 | 21,817 | 27.8 GiB/s | 14.1 GiB/s | ||
| 8 vCPU | 57 µs | 151,112 | 40,549 | 28.3 GiB/s | 15.8 GiB/s | ||
| 4 vCPU | 58 µs | 151,529 | 25,741 | 27.0 GiB/s | 14.5 GiB/s | ||
| Namespace Apple silicon 4x16 | 79 µs | 164,259 | 25,046 | 37.6 GiB/s | 16.5 GiB/s | ||
| Apple silicon 2x8 | 80 µs | 168,332 | 29,499 | 37.9 GiB/s | 13.1 GiB/s | ||
| 8x32 | 71 µs | 175,003 | 115,255 | 918 MiB/s | 769 MiB/s | ||
| 8x16 | 69 µs | 179,684 | 133,725 | 921 MiB/s | 728 MiB/s | ||
| 4x8 | 81 µs | 167,647 | 59,473 | 912 MiB/s | 720 MiB/s | ||
| 4x16 | 85 µs | 183,597 | 106,177 | 913 MiB/s | 754 MiB/s | ||
| 2x8 | 103 µs | 66,804 | 32,433 | 923 MiB/s | 687 MiB/s | ||
| RunsOn m9gd.large | 81 µs | 43,609 | 21,784 | 293 MiB/s | 141 MiB/s | ||
| m9gd.2xlarge | 82 µs | 174,573 | 87,209 | 1.1 GiB/s | 561 MiB/s | ||
| m9g.2xlarge | <1 µs | 2,616,178 | 2,448,662 | 12.4 GiB/s | 8.8 GiB/s | ||
| m9g.2xlarge | 856 µs | 2,996 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| m9gd.xlarge | 85 µs | 87,221 | 43,593 | 585 MiB/s | 281 MiB/s | ||
| c8g.2xlarge | 864 µs | 2,994 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| m9g.xlarge | 856 µs | 2,994 | 2,991 | 401 MiB/s | 401 MiB/s | ||
| r9g.xlarge | <1 µs | 2,580,317 | 2,479,202 | 12.9 GiB/s | 8.8 GiB/s | ||
| m9g.xlarge | <1 µs | 2,651,089 | 2,524,709 | 14.0 GiB/s | 9.2 GiB/s | ||
| c8g.xlarge | 864 µs | 2,993 | 2,993 | 401 MiB/s | 401 MiB/s | ||
| m9g.large | 864 µs | 2,993 | 2,994 | 401 MiB/s | 401 MiB/s | ||
| r9g.large | <1 µs | 1,273,179 | 1,236,567 | 13.9 GiB/s | 9.5 GiB/s | ||
| c8g.large | 848 µs | 2,994 | 2,992 | 401 MiB/s | 401 MiB/s | ||
| Ubicloud standard | 371 µs | 219,353 | 39,102 | 784 MiB/s | 522 MiB/s | ||
| standard 4 vCPU | 569 µs | 160,728 | 27,440 | 734 MiB/s | 444 MiB/s | ||
| standard 2 vCPU | 461 µs | 97,530 | 30,019 | 749 MiB/s | 418 MiB/s | ||
| GitHub | 232 µs | 19,583 | 11,810 | 394 MiB/s | 336 MiB/s | ||
| 2-core | 245 µs | 9,376 | 6,333 | 200 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.