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.

StepResultWhat was timed
Create a sandbox29 msServer-side, as printed by kosa8 cloud sandbox create (0.38 s wall from the laptop)
Exec uname -a0.33 sWall time from the laptop
Fork into 3 live copies0.89 skosa8 cloud sandbox fork ID -n 3; each copy kept its files and a running background process
Snapshot100 mskosa8 cloud snapshot create ID of a 256 MiB sandbox; a sandbox from it came up in 88 ms
Rewind to a checkpoint0.8 skosa8 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.

Testkosa8RankLeader
Filesystem I/O73.66 of 34Namespace 80.6
Pause and resume91.88 of 36isorun 99.0
Burst survival98.913 of 34miosa 99.9
CPU burst63.415 of 34Beam 75.5
Burst time to interactive (100 at once)77.6 (p50 2.24 s)18 of 34isorun 98.8
OS capabilities68.923 of 34Superserve 99.2
Root filesystem56.724 of 35isorun 84.5
Soak86.026 of 34Superserve 100
CI capabilities6528 of 36Superserve 100
Filesystem API throughput730 of 34Modal 86.6
CPU3.832 of 34briq 52.1
Snapshot, filesystem snapshot, snapshot fan-out, fidelity028 to 29Promigence 97 to 98
Volumes025 of 32Vercel 83.6
DAX (clone, install, typecheck)0 (timed out at 600 s)not ranked
OCI image bootno scorenot rankedSuperserve 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 found in the Alpine node template; the fix (ask for the larger node-8x16 template) 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:

terminal
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.

MeasureResultGate
Cold sandbox boot (no pool)287 ms p50
Container in a running sandbox56 ms p50
Snapshot (256 MiB guest)32 ms
Restore74 ms p50, 83 ms max≤ 300 ms: pass
Restore to first container exec142 ms p50
Fork n=10328 ms (33 ms per clone), 0 dead
Fork n=1002471 ms (25 ms per clone), 0 dead≤ 5000 ms: pass
Host RAM for 100 forks26 GB (~260 MB each)
Disk written by 100 forks28 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 sandboxp50
Cold boot (no pool)287 ms
Restore from the template snapshot (pool empty)74 ms
Claim from the warm pool1.9 ms (n=17, max 2.5 ms)
First container exec after a pool create71 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 client20 clients, 4 orgs64 clients, 8 orgs
Create from pool2.0 ms6.4 ms14.7 ms
Exec76 ms264 ms424 ms
Python function, end to end170 ms805 ms1.5 s
Node function, end to end192 ms939 ms1.7 s
Throughput (creates + invokes)27/s26/s
Cross-org attempts refused80/80192/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.

LoadCreates from the poolPool create p50Errors
6 clients, 2 orgs (rate only)133 / 1502.1 msnone
6 clients, 2 orgs (rate + burst)146 / 1502.1 msnone
64 clients, 4 orgs63 / 5124.1 msnone

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.

TargetMeasuredVerdict
Idle footprint ≤ 400 MB46 MBpass
First run after install ≤ 60 s2.1 spass
Container cold start ≤ 250 ms166 ms (median of 5)pass
Bind-mount I/O ≥ 70% of native30% of host nativemiss
Snapshot 2 GB sandbox ≤ 2000 ms1528 mspass
Warm restore ≤ 1000 ms657 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=fsync on 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:

terminal
make bench

On a bare-metal Linux host with KVM, set up as a kosa8 host:

terminal
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