dynamo/benchmarks
Yan Ru Pei ebd06a1f32
feat(llm): unify user-facing priority hints (#7492)
Signed-off-by: PeaBrane <yanrpei@gmail.com>
2026-03-20 07:26:53 +00:00
..
burstgpt_loadgen chore: use aiperf utils in prefix synthesizer (#5906) 2026-02-04 12:57:05 -08:00
frontend/scripts/bpf feat(perf): add BPF for frontend perf tracing (#6737) 2026-03-02 11:31:15 -08:00
incluster refactor: remove benchmark shim, use AIPerf directly (#7074) 2026-03-10 03:41:36 +00:00
llm chore: update all copyright headers in repo to 2026 (#5130) 2026-01-02 22:08:23 +00:00
multimodal perf: multimodal benchmark sweep (#6795) 2026-03-04 19:32:03 -08:00
nat_trace feat: NAT telemetry conversion (#6022) 2026-02-05 20:52:43 -08:00
prefix_data_generator fix: scale synthesized data length correctly for expected cache hit stats (#6117) 2026-02-10 12:05:42 -08:00
router feat(llm): unify user-facing priority hints (#7492) 2026-03-20 07:26:53 +00:00
sin_load_generator chore: use aiperf utils in prefix synthesizer (#5906) 2026-02-04 12:57:05 -08:00
README.md refactor: remove benchmark shim, use AIPerf directly (#7074) 2026-03-10 03:41:36 +00:00
pyproject.toml chore: upgrade tensorrt-llm to 1.3.0rc8 (#7504) 2026-03-19 11:11:48 -07:00

README.md

Benchmarks

This directory contains benchmarking tools and scripts for Dynamo deployments. Benchmarking uses AIPerf directly — a comprehensive tool for measuring generative AI inference performance.

Quick Start

Benchmark a Dynamo Deployment

First, deploy your DynamoGraphDeployment using the deployment documentation, then:

# Port-forward your deployment to http://localhost:8000
kubectl port-forward -n <namespace> svc/<frontend-service-name> 8000:8000 > /dev/null 2>&1 &

# Run a single benchmark
aiperf profile \
    --model <your-model> \
    --url http://localhost:8000 \
    --endpoint-type chat \
    --streaming \
    --concurrency 10 \
    --request-count 100

# Run a concurrency sweep for Pareto analysis
for c in 1 2 5 10 50 100; do
    aiperf profile \
        --model <your-model> \
        --url http://localhost:8000 \
        --endpoint-type chat \
        --streaming \
        --concurrency $c \
        --request-count $(( c * 3 > 10 ? c * 3 : 10 )) \
        --artifact-dir "artifacts/my-benchmark/c$c"
done

# Generate comparison plots
aiperf plot artifacts/my-benchmark

Directory Contents

  • incluster/ — Kubernetes Job manifest for running benchmarks inside the cluster
  • router/ — KV Router benchmarking scripts (prefix ratio, trace replay, agent, priority queue)
  • prefix_data_generator/ — Tools for analyzing and synthesizing prefix-structured data

Comprehensive Guide

For detailed documentation including server-side benchmarking, Pareto analysis, and advanced AIPerf features, see the complete benchmarking guide.