Views
No views yet
| Policy | Throughput | p99 TTFT | Cache Hits |
|---|---|---|---|
| Oracle | 89.7 rps | 76 ms | 11,468 |
| Round-robin | 87.5 rps | 964 ms | 61,226 |
| Random | 85.0 rps | 1097 ms | 67,687 |
| Least-loaded | 88.1 rps | 1173 ms | 38,525 |
apac/
├── schemas/ # Event schemas (trace format, controller decisions)
├── collectors/ # Live trace collectors (vLLM KV events, metrics)
├── simulator/ # Discrete-event simulator for KV cache policies
│ ├── core/ # DES engine, block pool, scheduler
│ ├── workloads/ # Workload generators (BurstGPT, ShareGPT, synthetic)
│ └── replay/ # Trace replay engine
├── controller/ # APAC controller (policy engine, forecasters, routing)
├── oracle/ # Hindsight-optimal oracle for gap analysis
├── visualiser/ # Block heatmaps, timeline plots, residency histograms
├── experiments/ # Experiment configs and scripts
└── tests/ # Unit and integration tests1pip install -e .
2# Run oracle gap analysis on BurstGPT traces
3python -m apac.experiments.oracle_gap --workload burstgpt --block-size 16 --num-blocks 2048