litellm/litellm-rust/loadtest/workloads/soak.json
Claude 00820783dc
loadtest: 6-minute non-streaming calls, Opus 5.5 and GPT-6 Astra model groups
Non-streaming calls now run up to the customer's 6-minute timeout, so the
rig's NLB idle timeout goes to 600 s (its 350 s default would cut them).
genconfig names groups after the target models, and chat contexts stay
under GPT-6 Astra's 922k input limit.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0142NUB9q7gotdupNjp63QgB
2026-10-15 22:09:04 +00:00

27 lines
1.6 KiB
JSON

{
"name": "2 hour soak at a steady realistic mix: memory growth, fd leaks, stuck streams",
"stages": [{"duration_s": 7200, "rps": 30}],
"nonstream_max_s": 360,
"warmup_s": 60,
"new_conn_fraction": 0.05,
"keys": {"file": "out/keys.txt", "zipf_s": 1.1},
"models": {"chat": {"prefix": "gpt-6-astra-", "count": 10}, "messages": {"prefix": "claude-opus-5-5-", "count": 10}},
"classes": [
{"name": "chat-interactive", "weight": 45, "endpoint": "chat", "stream_fraction": 0.8,
"context_tokens": {"dist": "loguniform", "min": 10000, "max": 100000},
"ttft_ms": {"dist": "uniform", "min": 300, "max": 1500},
"duration_s": {"dist": "loguniform", "min": 1, "max": 60}},
{"name": "messages-agent", "weight": 40, "endpoint": "messages", "stream_fraction": 0.9,
"context_tokens": {"dist": "loguniform", "min": 20000, "max": 200000},
"ttft_ms": {"dist": "uniform", "min": 500, "max": 3000},
"duration_s": {"dist": "loguniform", "min": 5, "max": 300}},
{"name": "long-stream", "weight": 5, "endpoint": "messages", "stream_fraction": 1,
"context_tokens": {"dist": "loguniform", "min": 50000, "max": 300000},
"ttft_ms": {"dist": "uniform", "min": 1000, "max": 5000},
"duration_s": {"dist": "uniform", "min": 300, "max": 900}},
{"name": "huge-context", "weight": 10, "endpoint": "messages", "stream_fraction": 0.7,
"context_tokens": {"dist": "choice", "values": [500000, 800000, 1000000]},
"ttft_ms": {"dist": "uniform", "min": 2000, "max": 10000},
"duration_s": {"dist": "loguniform", "min": 10, "max": 300}}
]
}