Skip to content

docs: linux benchmark results and performance roadmap - #46

Merged
kacy merged 1 commit into
mainfrom
docs/linux-benchmark-results
Feb 7, 2026
Merged

docs: linux benchmark results and performance roadmap#46
kacy merged 1 commit into
mainfrom
docs/linux-benchmark-results

Conversation

@kacy

@kacy kacy commented Feb 7, 2026

Copy link
Copy Markdown
Owner

summary

updates README with real Linux benchmark results from GCP and documents the performance investigation roadmap.

benchmark results (v0.2.2)

tested on GCP c2-standard-8 (8 vCPU Intel Xeon @ 3.10GHz), Ubuntu 22.04.

throughput

test ember (8 vCPU) ember (1 vCPU) redis dragonfly
SET (64B, P=16) 878,087 877,824 1,205,783 556,533
GET (64B, P=16) 789,291 808,387 877,894 395,359
SET (64B, P=1) 105,708 102,040 107,066 87,183

latency

server p50 p99 p100
ember 0.3ms 0.4ms 0.5ms
redis 0.3ms 0.4ms 0.5ms
dragonfly 0.3ms 0.5ms 4.0ms

critical finding

multi-core scaling is broken — ember shows 1.0x scaling on 8 cores (803k vs 812k for 1 core).

performance roadmap

documents investigation areas:

  1. connection-to-shard affinity
  2. mpsc channel contention
  3. memory allocator (jemalloc)
  4. io_uring integration
  5. tokio runtime tuning

tested

  • ran benchmarks on GCP c2-standard-8
  • verified all numbers with redis-benchmark
  • confirmed scaling issue with parallel benchmark processes

benchmark results from GCP c2-standard-8 (8 vCPU Intel Xeon @ 3.10GHz):
- ember achieves ~878k SET/sec, ~789k GET/sec (pipelined)
- latency competitive with redis (p99 0.4ms)
- critical finding: multi-core scaling is broken (1.0x on 8 cores)

adds performance roadmap section documenting:
- known scaling issue
- investigation areas (connection affinity, channel contention, allocator)
- planned fixes
@kacy
kacy merged commit 959cf74 into main Feb 7, 2026
5 checks passed
@kacy
kacy deleted the docs/linux-benchmark-results branch February 7, 2026 20:06
kacy added a commit that referenced this pull request Feb 11, 2026
docs: linux benchmark results and performance roadmap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant