interplane.Get Omega
Read in your language

benchmarks-mv

Measurement harnesses and evidence bundles for AIEN on the NVIDIA DGX Spark GB10. Speed is reported against the machine's physical limit and my own previous run. Attachment of AienOS.

Brought by drakestapleton

branch main Branches Tags History

benchmarks-mv / docs / LIVE_PRESSURE_BENCHMARK.md

113 lines · 5499 bytes Raw Blame History Source

AIEN Live Stress & Pressure Benchmark: Speed, Latency & Memory

Execution Environment & Hardware Substrate


[!NOTE] Control Plane Scope Clarification: The throughput and latency figures in Sections 1 through 3 measure native control plane execution: block-table indexing, sequence queue transitions, reference-counting mutations, and batch assembly. Block indices represent coordinate pointers in pre-allocated unified memory. Physical tensor manipulation across the Blackwell GPU substrate begins in Stages 2 through 4.

1. Native Paged KV Cache Block-Table Allocator Throughput (Control Plane)

Direct empirical measurement of the physical KV block table allocator (aien-kv-cache). Workload: 10,000 sequence allocations (160,000 block-table indices managed, block size = 16 tokens).

MetricMeasured ValuePer-Unit Latency
Allocation Throughput134,338,182 blocks/sec119.10 ns/sequence (7.44 ns/block)
Deallocation Throughput238,709,061 blocks/sec67.03 ns/sequence (4.19 ns/block)
Memory Allocation ComplexityO(1) Constant TimePre-mapped unified pool

2. Subagent Zero-Copy Sequence Fork vs Memory Copy

Parent sequence context: 4,096 tokens (256 KV blocks, ~384 MB physical KV state in BF16). Measures time and memory required to spawn autonomous child subagents branching from parent context.

Subagents ForkedZero-Copy Fork TimeNaive Memory CopySpeedup RatioProjected Tensor Memory Saved
11.58 µs1.92 ms1,212.1x0.38 GB
100.46 µs19.20 ms4,152.2x3.75 GB
500.47 µs96.00 ms4,067.8x18.75 GB
1000.39 µs192.00 ms4,977.2x37.50 GB
5000.45 µs960.00 ms4,236.1x187.50 GB

3. Continuous Batching Scheduler Step Overhead

Native continuous batching scheduler (aien-scheduler) managing token admission, continuous batching, and chunked prefill budgets.

Active SequencesBatch Build Time (µs)Scheduler Overhead Ratio (in 10ms forward pass)
11.01 µs0.0101%
92.02 µs0.0202%
405.20 µs0.0520%
969.66 µs0.0966%
19217.68 µs0.1768%

4. Live Microservice Call Stress & Concurrency Saturation

Executed via stress_aien_live against active production daemons on spark.

Cortex-rs Vector Memory Call Stress (Port 18080, /api/cortex/search)

ConcurrencyThroughput (req/s)p50 Latency (ms)p90 Latency (ms)p95 Latency (ms)p99 Latency (ms)Success Rate
101,637.21 req/s6.03 ms6.68 ms7.10 ms11.35 ms100.0%
251,867.17 req/s10.97 ms17.30 ms29.68 ms41.53 ms100.0%
501,960.52 req/s11.82 ms36.98 ms57.90 ms78.56 ms100.0%
1002,103.73 req/s23.02 ms57.30 ms68.83 ms88.18 ms100.0%

Cortex Transformer Encoder Batch Throughput (Port 18081, /embed)

Batch SizeTotal TextsDuration (ms)Throughput (texts/sec)Per-Text Latency (ms)
120100.21 ms199.59 texts/s5.01 ms
480451.71 ms177.11 texts/s5.65 ms
8160851.81 ms187.84 texts/s5.32 ms
163201547.26 ms206.82 texts/s4.84 ms
326403165.60 ms202.17 texts/s4.95 ms

MAX LLM Streaming & Concurrency Pressure (Port 18082, unsloth/Llama-3.2-1B-Instruct)

StreamsTTFT p50 (ms)ITL p50 (ms)ITL p95 (ms)Total Tok/sE2E Latency p50 (ms)
1130.59 ms90.62 ms97.77 ms11.58 tok/s2,763.97 ms
45,652.78 ms86.60 ms103.46 ms11.61 tok/s8,299.38 ms
811,198.92 ms87.25 ms101.76 ms11.59 tok/s13,795.19 ms
1622,234.08 ms84.76 ms100.95 ms11.66 tok/s24,854.70 ms

5. Memory Footprint Stability & Post-Stress Recovery

Resident Set Size (RSS) inspected directly from /proc/[pid]/status (VmRSS) before and after concurrency saturation.

ServiceBaseline RSSPeak Stress RSSPost-Stress DeltaMemory Classification
cortex-rs15.97 MB18.57 MB+2.60 MBZero memory leaks
cortex-encoder-rs780.02 MB780.39 MB+0.36 MBDeterministic memory profile
max inference engine9,011.61 MB9,013.99 MB+2.38 MBStable model heap
openclaw daemon4.80 MB4.80 MB+0.00 MBZero allocation drift