kosa8 / Benchmarks
Benchmarks · Measured, dated, on named hardware
kosa8 benchmarks
Updated · latest run
Every speed figure kosa8 publishes comes from this page, and every figure on this page comes from kosa8's own benchmark notes, with the date, the machine and the method. They are one machine each, not a guarantee and not a customer's figure. Competitor numbers are not measured here; where kosa8 sits on a public third-party leaderboard, including where it loses, is in ComputeSDK rank.
01kosa8 Cloud, end to end (2026-11-22)
2026-11-22, 08:28 to 08:50 EST. A live review against production (api.kosa8.com, region us-ash1) from a macOS arm64 laptop, with the released CLI and an API key on a Scale org. One person, one run of each step, not a load test.
| Step | Result | What was timed |
|---|---|---|
| Create a sandbox | 29 ms | Server-side, as printed by kosa8 cloud sandbox create (0.38 s wall from the laptop) |
Exec uname -a | 0.33 s | Wall time from the laptop |
| Fork into 3 live copies | 0.89 s | kosa8 cloud sandbox fork ID -n 3; each copy kept its files and a running background process |
| Snapshot | 100 ms | kosa8 cloud snapshot create ID of a 256 MiB sandbox; a sandbox from it came up in 88 ms |
| Rewind to a checkpoint | 0.8 s | kosa8 cloud checkpoint rewind ID CHECKPOINT; a deleted file was back afterwards |
The same review also found what did not go well: one first create in five failed with 502 host_failed, and two first calls stalled for 15 to 21 s before later calls took 0.2 to 0.5 s. Both are written up on the status page with what was changed.
02ComputeSDK rank, including losses
ComputeSDK runs the same benchmarks against every sandbox provider it lists, from its own runners, with each provider's published adapter. kosa8 does not run or score these. Read on ; the burst test was last run on 2026-11-20.
Overall: 26th of 35 providers. Higher score is better; the leader on each test is named so you can see the gap.
| Test | kosa8 | Rank | Leader |
|---|---|---|---|
| Filesystem I/O | 73.6 | 6 of 34 | Namespace 80.6 |
| Pause and resume | 91.8 | 8 of 36 | isorun 99.0 |
| Burst survival | 98.9 | 13 of 34 | miosa 99.9 |
| CPU burst | 63.4 | 15 of 34 | Beam 75.5 |
| Burst time to interactive (100 at once) | 77.6 (p50 2.24 s) | 18 of 34 | isorun 98.8 |
| OS capabilities | 68.9 | 23 of 34 | Superserve 99.2 |
| Root filesystem | 56.7 | 24 of 35 | isorun 84.5 |
| Soak | 86.0 | 26 of 34 | Superserve 100 |
| CI capabilities | 65 | 28 of 36 | Superserve 100 |
| Filesystem API throughput | 7 | 30 of 34 | Modal 86.6 |
| CPU | 3.8 | 32 of 34 | briq 52.1 |
| Snapshot, filesystem snapshot, snapshot fan-out, fidelity | 0 | 28 to 29 | Promigence 97 to 98 |
| Volumes | 0 | 25 of 32 | Vercel 83.6 |
| DAX (clone, install, typecheck) | 0 (timed out at 600 s) | not ranked | |
| OCI image boot | no score | not ranked | Superserve 97.8 |
Why kosa8 loses where it loses
- Snapshot, fidelity and volumes score 0 because the published kosa8 adapter does not implement them, not because the runs failed. kosa8 Cloud has snapshots, fork and checkpoints (above); it has no volumes API yet. Adapter support is proposed upstream in computesdk#1146 and #1167, not merged as of this date.
- Burst time to interactive is 2.24 s at the median on the official run. In our own runs of the same test with the faster adapter in computesdk#1146 (HTTP/2, direct exec route) it scored 93 to 94 on 2026-11-14. That is our measurement, not ComputeSDK's; the public score will only change when the adapter is merged and released.
- CPU is near last. The default templates are 1 vCPU and 256 to 384 MiB, smaller than most providers' defaults, and the test is run on those defaults.
- DAX timed out. An earlier run failed on
bash: not foundin the Alpinenodetemplate; the fix (ask for the largernode-8x16template) is computesdk/benchmarks#625. In our own run on that template DAX finished in 50.7 s, against 32.1 s for the leader. - OCI image boot has no score because the adapter rejects arbitrary images today.
Reproduce the burst test yourself, from a clone of github.com/computesdk/benchmarks after pnpm install --frozen-lockfile --ignore-scripts && pnpm -r --filter './packages/**' run build:
KOSA8_API_KEY=k8c_live_… pnpm exec tsx packages/benchsdk-runner/dist/bin.js run benchmarks/sandbox/tti.bench.ts --provider kosa8 --iterations 10 --concurrency 10 --no-ingest
The published run uses --iterations 100 --concurrency 100. A key from the free Starter tier runs 2 sandboxes at once, so use --concurrency 2 on Starter, or a plan that runs 100 at once (Scale) for the full burst.
03The headline numbers
- 74 msrestore a sandbox, median
- 2.5 sfork 100 live copies, 0 dead
- 1.9 mscreate from the warm pool, median
- 192/192cross-org attempts refused, 64 clients
Linux engine, AMD Ryzen 7 7700, 1 vCPU and 256 MiB sandboxes, 2026-11-03.
04Linux engine: restore and fork
2026-11-03. Hetzner AX auction box: AMD Ryzen 7 7700 (8 cores / 16 threads), 64 GB DDR5, state on XFS with reflink on its own NVMe, Ubuntu 24.04 (6.8), Cloud Hypervisor v53.0. Sandboxes of 256 MiB and 1 vCPU. This is the kosa8 Cloud go/no-go run.
| Measure | Result | Gate |
|---|---|---|
| Cold sandbox boot (no pool) | 287 ms p50 | |
| Container in a running sandbox | 56 ms p50 | |
| Snapshot (256 MiB guest) | 32 ms | |
| Restore | 74 ms p50, 83 ms max | ≤ 300 ms: pass |
| Restore to first container exec | 142 ms p50 | |
| Fork n=10 | 328 ms (33 ms per clone), 0 dead | |
| Fork n=100 | 2471 ms (25 ms per clone), 0 dead | ≤ 5000 ms: pass |
| Host RAM for 100 forks | 26 GB (~260 MB each) | |
| Disk written by 100 forks | 28 MB (reflink shares the rest) |
Every clone ran a container afterwards.
05Warm pool
2026-11-03, same host. The host agent keeps each template's VMs restored from its memory snapshot and paused; a create resumes one. Timed through the host API the control plane calls, with the token check, state write and resume included. Template base (alpine), 1 vCPU, 256 MiB, pool depth 5.
| Path to a running sandbox | p50 |
|---|---|
| Cold boot (no pool) | 287 ms |
| Restore from the template snapshot (pool empty) | 74 ms |
| Claim from the warm pool | 1.9 ms (n=17, max 2.5 ms) |
| First container exec after a pool create | 71 ms |
All 17 creates were served from the pool. After the agent was killed and restarted it adopted the same 5 paused VMs, with no rebuild and no duplicates.
06Concurrency and isolation under load
2026-11-03, same host. A load tester drives the host API for several organisations at once. Each client creates a sandbox, runs a command in it, has another organisation try to run a command in it (it must be refused), deletes it, then calls a Python or Node function.
| 1 client | 20 clients, 4 orgs | 64 clients, 8 orgs | |
|---|---|---|---|
| Create from pool | 2.0 ms | 6.4 ms | 14.7 ms |
| Exec | 76 ms | 264 ms | 424 ms |
| Python function, end to end | 170 ms | 805 ms | 1.5 s |
| Node function, end to end | 192 ms | 939 ms | 1.7 s |
| Throughput (creates + invokes) | 27/s | 26/s | |
| Cross-org attempts refused | 80/80 | 192/192 |
Held at once: 150 sandboxes running simultaneously from 10 orgs, created in 2.8 s at 16 in parallel, each answering correctly while all were up. No errors, no cross-tenant access and no leaked VMs at any level. The 8-core host saturates at about 26 operations a second; more load becomes queueing, so scale is more hosts.
07A pool that follows demand
2026-11-03, same host. The pool sizes itself from the recent claim rate, the measured refill time and the largest burst seen, and gives memory back after a quiet minute.
| Load | Creates from the pool | Pool create p50 | Errors |
|---|---|---|---|
| 6 clients, 2 orgs (rate only) | 133 / 150 | 2.1 ms | none |
| 6 clients, 2 orgs (rate + burst) | 146 / 150 | 2.1 ms | none |
| 64 clients, 4 orgs | 63 / 512 | 4.1 ms | none |
Below saturation the pool absorbs the load. At saturation it cannot at any depth, because refills cannot keep up: that is host capacity, and the answer is more hosts.
08Mac baseline
2026-09-20. Apple M-series, macOS 26.0.1, the local engine on Apple's Virtualization.framework.
| Target | Measured | Verdict |
|---|---|---|
| Idle footprint ≤ 400 MB | 46 MB | pass |
| First run after install ≤ 60 s | 2.1 s | pass |
| Container cold start ≤ 250 ms | 166 ms (median of 5) | pass |
| Bind-mount I/O ≥ 70% of native | 30% of host native | miss |
| Snapshot 2 GB sandbox ≤ 2000 ms | 1528 ms | pass |
| Warm restore ≤ 1000 ms | 657 ms (median of 3) | pass |
The bind-mount miss is shown as measured. The VM's own disk reached 52% of host native on the same run, so no file-sharing path can reach 70% on that platform; a workspace on the sandbox's own disk runs at that ceiling.
09Method
- Medians, not best runs: cold start is a median of 5, warm restore a median of 3, because single samples flapped across the threshold.
- I/O comparisons write with
conv=fsyncon both sides, so they measure durable writes, not the page cache. - Idle footprint sums resident memory for the daemon and guest helpers.
- Each table names one machine. Re-run on the target hardware before relying on a figure.
- Competitor figures are not measured here; same-workload comparisons are still to be run.
10How to reproduce
The harnesses are in the kosa8 source tree under bench/, with the raw results as JSON. On an Apple-silicon Mac:
make bench
On a bare-metal Linux host with KVM, set up as a kosa8 host:
KOSA8_BENCH=1 sh bench/linux-fork.sh # knobs: FORK_NS="10 100" MEM_MB=512 CPUS=1 RESTORES=5 IMAGE=alpine:latest
Both skip cleanly on a machine that cannot boot real VMs. The source tree is not public; to run the harness on your own hardware, or to see the raw JSON, book a call or write to [email protected].
Updated 2026-11-23