Skip to content

CubeSandbox Core Operations Performance Benchmark Report (CubeBench v0.7.3) ​

Generated at: 2026-10-28 18:28:58

1 Overview ​

This report benchmarks CubeSandbox across the following dimensions:

  • 3.2 Cold-Start Latency and Concurrency Scaling: creation latency, wall time per successful sandbox and throughput when creating sandboxes in batches at different concurrency levels.
  • 3.3 Single-Host Deployment Density (Memory Overhead): launch sandboxes in batches to measure single-host capacity and per-instance memory overhead.
  • 4.1 Snapshot Creation vs Concurrency: snapshot creation time as concurrency grows.
  • 4.2 Snapshot Creation vs Dirty Page Size: snapshot creation time as the dirty page size grows.
  • 4.3 Create Sandbox from Snapshot: time to start sandboxes from a Snapshot.
  • 4.4 Rollback: time to roll back to a Snapshot.
  • 4.5 Clone: time to clone a sandbox.
  • 4.6 Pause / Resume: time to pause and resume a sandbox.

2 Test Environment ​

ItemDetail
OSTencentOS Server 4
KernelLinux 6.6.119-53.6.tl4.x86_64
Archx86_64
CPU ModelIntel(R) Xeon(R) Platinum 8255C CPU @ 2.50GHz
CPU Config96 logical CPUs (2 sockets, 24 cores/socket, 2 threads/core)
NUMA Nodes2
Total Memory375Gi
Data Disksda(446.1G) nvme0n1(3.5T) nvme1n1(3.5T)
Cubelet Nodes1
Host Quota mcpu_limit1000000
Host Quota mem_limit1024Gi
Host Quota mvm_limit0
Host Quota creation_concurrent_num0

3 Create Sandbox from Template ​

3.1 Sandbox Spec and Test Image ​

ItemDetail
Sandbox Spec2 vCPU / 2000 MiB memory
Test Imagecube-sandbox-cn.tencentcloudcr.com/cube-sandbox/sandbox-code:latest
Template IDtpl-787cc8692d384449b51ab22d
Writable Layer Size1G
Expose Ports49999, 49983
Probe Port49999
Cube CAfalse
SDK Version0.7.3
Repo Commit9b75d33

3.2 Cold-Start Latency and Concurrency Scaling ​

ConcurrencyRequests (successful)avgminp95maxWall/successful sandboxThroughput
12041.0 ms36.8 ms52.3 ms53.4 ms41.1 ms24.3 /s
1020047.9 ms42.7 ms56.6 ms58.9 ms4.8 ms207.3 /s
2030056.0 ms47.8 ms66.0 ms74.1 ms2.9 ms349.8 /s
5050092.4 ms61.4 ms121.9 ms188.3 ms2.0 ms512.1 /s

3.3 Single-Host Deployment Density (Memory Overhead) ​

Live SandboxesUsed MemoryPer-VM Amortized Overhead
0 (baseline)19537 MiB—
10021408 MiB~ 18.71 MiB
20023806 MiB~ 21.34 MiB
30026327 MiB~ 22.63 MiB
40029009 MiB~ 23.68 MiB
50031827 MiB~ 24.58 MiB

4 Snapshot Operations ​

All times in this chapter are in milliseconds (ms). Write size and dirty page size are in MiB.

4.1 Snapshot Creation vs Concurrency ​

ConcurrencyRoundswall avgwall minwall p95wall maxper-snapshot avg
1535.634.736.436.435.6
5549.548.750.050.09.9
10566.464.868.868.86.6

4.2 Snapshot Creation vs Dirty Page Size ​

Write SizeDirty Pagesnapshot avgsnapshot minsnapshot p95snapshot maxcreate sandbox avgcreate sandbox mincreate sandbox p95create sandbox max
06.535.535.036.136.158.351.662.562.5
1039.851.949.653.153.154.953.756.756.7
50121.574.671.279.179.153.251.255.855.8
100194.491.790.394.094.058.656.861.261.2
200296.1121.1114.7130.7130.752.651.554.554.5
500397.7142.1131.9161.9161.953.152.753.953.9
800908.5277.4260.9301.2301.252.951.154.554.5
10241137.0332.4314.7367.5367.557.850.065.265.2

4.3 Create Sandbox from Snapshot ​

Concurrencyn/roundRoundswall avgwall minwall p95wall maxper-sandbox avg
11353.151.355.155.153.1
1010381.069.886.686.68.1
20203105.4102.6106.8106.85.3
50503191.7189.9194.3194.33.8

4.4 Rollback ​

ConcurrencyRoundswall avgwall minwall p95wall maxper-rollback avg
1568.457.886.486.468.4
55131.3120.1154.2154.226.3
105210.4201.9216.5216.521.0

4.5 Clone ​

nConcurrencyRoundswall avgwall minwall p95wall maxper-clone avg
115184.3179.5194.0194.0184.3
100102692.4689.9694.9694.96.9
100202497.7483.0512.5512.55.0
100502458.1454.4461.8461.84.6

4.6 Pause / Resume ​

ConcurrencyRoundswall avg (Pause)wall minwall p95wall maxper-pause avgwall avg (Resume)wall minwall p95wall maxper-resume avg
1585.984.487.587.585.9132.1131.2134.2134.2132.1
55100.998.6102.5102.520.2244.4220.9289.4289.448.9
105116.9115.7118.4118.411.7899.0884.4909.9909.989.9
Have an article about CubeSandbox you'd like to share?Contribute on GitHub →