Skip to main content
GPU RADIXCACHE COMPUTE // RADIXATTENTION VRAM TERMINAL KV DTYPE: FP8_E5M2 | VULTR $300 GPU CREDIT | XIAOMI MIMO API | BASELINE 2026-10-17
SGLangVRAM
SGLangVRAM Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
Radix & VRAM Tuning

Sizing --chunked-prefill-size for Activation Cap & Smooth TPOT

Control how SGLang slices long input prompts so active decode streams do not stutter and temporary attention buffers never OOM.

2048 - 4096 Slice · -65% Activation Spike · Sub-35ms TPOT

Sizing --chunked-prefill-size for Activation Cap & Smooth TPOT
Telemetry baseline verified 2026-10-17 by RadixCache Compute.

How Chunked Prefill Piggybacks Decodes

Instead of blocking all running decode users while computing a 12,000-token prompt, SGLang processes 4,096 prefill tokens per scheduler step alongside active decode tokens.

Pairing With --mem-fraction-static

Smaller chunk sizes directly shrink peak temporary tensor allocations, letting you safely raise --mem-fraction-static from 0.85 to 0.88 or 0.90.

Measured Thresholds & SGLang Flag Matrix

--chunked-prefill-sizeTransient Activation PeakImpact on Active Decodes
2048+1.1 - 1.5 GBLowest latency jitter on 24 GB L4
4096 (Balanced)+1.8 - 2.6 GBIdeal default for L40S / A100
16384+5.4 - 8.8 GBBatch offline prefill only
2048 - 4096 Slice · -65% Activation Spike · Sub-35ms TPOT Claim $300 GPU CreditXiaomi MiMo API