G

Benchmarks

All numbers in this document are measured on real hardware against real datasets with --release builds. Random-vector HNSW benchmarks are not reported — only SIFT-1M or equivalent ANN-benchmarks datasets.

Note

Every number is reproducible. Commands are shown inline. No synthetic or estimated numbers are published.

Hardware

All benchmarks run on AWS c6id.4xlarge:

  • CPU: Intel Xeon Platinum 8375C (Ice Lake), 16 vCPU @ 2.90 GHz
  • RAM: 30 GiB
  • Storage: 884 GB NVMe (io_uring backend)
  • OS: Ubuntu 24.04
  • Build: cargo build --release
  • Commit: 8567691d4f7859742c1e6cb54ba8c429ae36d297
  • Timestamp: 2026-05-10T21:51:55Z

HNSW on SIFT-1M

Dataset: SIFT-1M — 1,000,000 × 128-dim float32 vectors, 10,000 queries, pre-computed ground truth.

Source: ftp://ftp.irisa.fr/local/texmex/corpus/sift.tar.gz
SHA256: 92f1270c5e3a0cb46b89983e72b0511e4df065c31a9fa0276d8c9b1fca5bc81a

Build: M=16, ef_construction=200 → 66.2 s (15,114 vec/sec)

ef_searchrecall@10mean latencyp99 latency
100.76257.6 µs101 µs
500.959158.1 µs228 µs
1000.983266.5 µs364 µs
2000.990459.4 µs616 µs
bash
# Reproduce
cargo run --release -p galaxdb-benchmarks -- \
    --sift-dir /path/to/sift \
    --ef-sweep 10,50,100,200 \
    --output bench-results/sift_bench.json

Storage OLTP

1M rows, 16 threads, 60 s, NVMe storage:

MetricGalaxDBRocksDBPostgreSQL 16
Write TPS258,555~80,000~3,200
Read p503 µs~180 µs~95 µs
Read p9947 µs~500 µs~300 µs
Write p99377 µs1–10 s*

*RocksDB without write pacing (vLSM, arXiv 2024)

Storage OLAP

10M rows, 16 threads, 60 s column scan:

MetricGalaxDBPostgreSQL 16
Scan throughput4.49 GB/s~0.9 GB/s
Zone-map skip rate80%N/A (heap scan)
OLTP p99 during scan191 µs
HotSet evictions from scan0

Crash Safety

All 7 chaos scenarios pass in <30 s total:

ScenarioResultTime
Kill mid-flush → WAL replay1,000 rows recovered, zero loss8.79 s
Kill mid-compaction → old blocks intact4,000 keys readable0.02 s
Corrupt WAL record → replay stopsPartial recovery, no corrupt data1.81 s
Disk full → clean checkpointReserve freed, reads continue0.01 s
Kill sidecar → backlog preserved50 requests queued, drained on recovery0.00 s
100 concurrent writers100K writes, 0 duplicates, 0 missing0.13 s
OLAP scan during OLTP0 HotSet evictions, OLTP p99 unaffected0.15 s
bash
# Reproduce crash safety tests
cargo run --release -p galaxdb-chaos-tests

Test Suite

v1 release test results on AWS c6id.4xlarge:

Rust unit tests740 passed / 0 failed
Chaos scenarios7 passed / 0 failed
Total chaos suite time10.91 s
bash
# Run the full test suite
cargo test --workspace --exclude galaxdb-python --lib

# Run chaos tests
cargo run --release -p galaxdb-chaos-tests