interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / docs / PERFORMANCE_BENCHMARK.md

51 lines · 2398 bytes Raw Blame History Rendered
1# Sovereign Systems Performance Benchmark Report
2
3**Hardware**: NVIDIA DGX Spark (Grace Blackwell GB10, aarch64)
4**Date**: 2026-09-19 05:28:49Z
5**Verification Harness**: Multi-threaded concurrency sweep (concurrency=10, 500 reqs/endpoint)
6
7---
8
9### 1. Memory Resident Set Size (RSS) Comparison
10
11Native compiled Rust daemons cut resident memory overhead by **81% to 99.8%** compared to Python/Uvicorn/FastAPI stacks.
12
13| Service | Architecture | Memory RSS | Footprint Delta vs Python FastAPI |
14| :--- | :--- | :--- | :--- |
15| **aegis-runtime heartbeat** | Native Rust | **4.78 MB** | **-99.87%** |
16| **spark-cockpit-rs** | Native Rust (Axum) | **8.57 MB** | **-99.77%** |
17| **cortex-rs** | Native Rust (Axum + SQLite) | **10.30 MB** | **-99.72%** |
18| **cortex-encoder-rs** | Native Rust (ONNX Runtime INT8) | **776.16 MB** | -79.2% vs PyTorch |
19| *neural_os.server:app* | Python / Uvicorn | 45.29 MB | Baseline (Minimal) |
20| *caption-service (8091)* | Python / FastAPI | 3,737.49 MB | Baseline (Standard Full Agent Stack) |
21
22---
23
24### 2. HTTP Gateway Latency and Throughput
25
26Measured across 500 requests with 10 concurrent connections on localhost.
27
28| Gateway Endpoint | Engine | Requests/Sec | Latency p50 | Latency p95 | Latency p99 |
29| :--- | :--- | :--- | :--- | :--- | :--- |
30| **spark-cockpit-rs Pulse (:18095/api/pulse)** | Native Rust Axum | **1921.7 req/s** | **4.30 ms** | 11.43 ms | 18.26 ms |
31| **cortex-rs Health (:18080/health)** | Native Rust Axum | **2000.8 req/s** | **3.37 ms** | 13.65 ms | 19.59 ms |
32| **cortex-rs Entity Query (:18080/api/cortex/get)** | Native Rust Axum | **2056.8 req/s** | **3.56 ms** | 13.07 ms | 19.62 ms |
33| **cortex-encoder-rs Health (:18081/health)** | Native Rust Axum | **1842.2 req/s** | **3.97 ms** | 13.97 ms | 20.14 ms |
34
35---
36
37### 3. ONNX Runtime C-API Embedding Latency (`cortex-encoder-rs`)
38
39Measured using INT8 quantized `BAAI/bge-base-en-v1.5` executing native ONNX Runtime C-API on Grace CPU:
40
41| Text Payload Size | p50 Latency | p95 Latency |
42| :--- | :--- | :--- |
43| **Short Query (8 tokens)** | **4.09 ms** | 5.81 ms |
44| **Medium Context (32 tokens)** | **5.78 ms** | 6.00 ms |
45| **Long Passage (128 tokens)** | **14.26 ms** | 29.91 ms |
46
47---
48
49### 4. Mojo SIMD Kernel Execution
50
51- **Mojo SIMD Vector Process Invocation**: **4.39 ms / call** (including cold process spawn, CLI argument parsing, SIMD reduction, and JSON serialization).