Pith.

Distributed, Parallel, and Cluster Computing · arXiv:2611.02082 v1 · submitted 1 Nov 2026 · 38 references

Fairway: Load-Aware KV Cache Reuse for LLM Prefill Scheduling

Hamidreza Alikhani, Nazmul Takbir, Matin Khajavi, Rajat Bhattacharjya, Sangeetha Abdu Jyothi, Nikil Dutt

The paper says

“LLM-based applications often employ agentic workflows and retrieval-augmented generation (RAG), which build long prompts from shared context. When prefixes are shared across requests, serving engines reuse the key-value (KV) cache to skip parts of the prefill computation.”

more of the abstract

Reuse is typically graded: the uncached work of requests in a queue can differ by up to 100x. In this setting, the order of scheduling determines the time-to-first-token (TTFT) for the queued requests. KV reuse-first scheduling, which prioritizes the requests with the longest KV cache hit, gives the lowest median TTFT but starves expensive requests under load spikes; first-come-first-served (FCFS) scheduling bounds the tail but raises the median TTFT. We present Fairway, a prefill scheduler built on adaptive reuse prioritization: it favors KV cache reuse while queues are short, and shifts toward fair allocation as requests wait longer relative to their own prefill time. Fairway employs a virtual dual lane model: a KV reuse-first Fast lane and a Fair lane atop the serving engine's waiting queue that enables speeding up of cheap reuse requests without starving expensive ones. This model automatically adapts to the workload without any per-workload tuning. Fairway lowers the tail TTFT at no cost to the median in transient overload. Across workloads and load levels, Fairway matches or beats the best baseline, with a p99 TTFT up to 8.6x lower than prior prefix-aware schedulers. During load spikes, it keeps the tail of FCFS at a 6x lower median TTFT.

from the abstract

Pith says

Machine review · deepseek-v4-flash · 4 Nov 2026 · what was read was not recorded · not checked by a person

It can be wrong. Challenge this review or reply to it.

Holds up, with conditions. A cleanly-specified prefill scheduler that credibly holds the middle ground between reuse-first and FCFS on tested workloads; the no-starvation claim is one step ahead of the proof for requests over ~8k uncached tokens. This line is wrong

2 major objections · 5 minor

How often objections from reviews like this one are right: not yet measured

Are you an author? What you can do.

Not checked: figures, code, what the 38 references say.

The paper says, at §4.4 and Appendix A (Lemma 1, Scope); Table 1; §1 and Abstract

The review did not quote this passage.

A classifier read this sentence of the paper as acknowledging the concern (probability 0.67):

“Future work includes extending the bound to requests too large to start within one step, evaluating larger models on multi- GPU prefill instances, and ordering requests jointly with the cluster router and the eviction policy.”

Pith says: Objection 1 of 2 · major

The anti-starvation property is stated more broadly than Lemma 1 and the evaluation support. Lemma 1 bounds the work placed before the oldest request o within a single scheduling step, and only when c_o is at most wB (about 8k uncached tokens at B = 2,048); for a larger request, §4.4 and the Appendix A Scope paragraph assert that the relative wait 'eventually' raises it to the top of the Fast lane, with no latency bound.

more of objection 1

The evaluation never exercises the unprotected regime: the flood in Table 1 uses backlog misses of 1.1-6.1k tokens (Table 3, Appendix B), all inside the bound. The overtake arithmetic is not reassuring: with c_r clamped to at least 1 (Algorithm 1, line 3), a nearly full hit can carry a reuse ratio up to len_r - 1 (about 1.5k for SEC-length prompts, up to 16k at Mooncake lengths), while a 16k miss has patience 3*est(16k) of about 7 s; the miss overtakes a newly arrived hit only after roughly ratio times patience, hundreds of seconds at ratio 50 and hours at the higher end, far beyond the paper's own 3x-of-p99 starvation threshold. Moreover, because the 1 s patience floor makes a short hit's wait term grow about 6.7x faster than the long miss's, the claim that the miss 'eventually rises to the top of the Fast lane' is not a guaranteed finite-time rescue under a sustained flood. The paper is candid about the per-step scope (b232 lists the cross-step extension as future work), but the abstract's 'without starving expensive ones' and §1's 'it starves no request' present the property unconditionally. I recommend qualifying those statements, supplying an overtake-time analysis as a function of the maximum hit ratio and hit queueing delay, and running the flood test with backlog misses above 8k, or restricting the claim to the tested regime.

The paper says, at §5.1 (Method), §5.3, Figure 8

The review did not quote this passage.

Pith says: Objection 2 of 2 · major

The headline comparisons rest on single-seed point estimates, and the seed bookkeeping is not transparent. The p50/p99 numbers in Figures 7-8 and Tables 1-2 are one run each, yet Figure 8's summary is fine-grained: FAIRWAY's p99 is 2-18% below the best non-starving baseline in 10 scenarios and tied in the 11th.

more of objection 2

Margins of a few percent are within plausible sampling noise for Zipf-popularity draws and Poisson arrivals over 4k-request runs, so the 'matches or beats the best baseline' claim needs a variance estimate to be falsifiable at the announced precision. §5.1 states that FAIRWAY was tuned on SEC traces with one seed and then ran unchanged on SEC traces drawn with a new seed, but the text never says which seed produced the SEC panels of Figures 7-8 and Tables 1-2, leaving the reader unable to tell which SEC results are in-sample. I recommend: (i) run at least three seeds for the 11 scenarios and the flood and report the spread or min-max per cell; (ii) label every reported scenario with its seed and hold-out status; and (iii) add a brief sensitivity sweep over w (e.g., 2-8) and the patience multiplier (e.g., 2-5) on a held-out workload, since the 'no per-workload tuning' claim (R4) currently rests on the three values chosen from SEC.

5 minor objections

The paper says, at §5.1, Figure 8

Pith says: minor objection 1 of 5

The dashed continuation values in Figure 8 (4.7x, 15x, 8.6x, 8.6x, 3.6x) are not annotated with the baseline each bar belongs to, and the abstract's and §1's 'up to 8.6x' headline is not tied to a named scenario and comparison class; please label the bars and state whether starving baselines are included in the headline number.

The paper says, at §5.3

Pith says: minor objection 2 of 5

The sentence reporting that FAIRWAY 'ties in the eleventh' scenario should name that scenario so the reader can verify the claim.

show 3 more

The paper says, at §5.1

Pith says: minor objection 3 of 5

The text should state explicitly whether the SEC results in Figures 7-8 and Tables 1-2 come from the tuning seed or the held-out seed, and whether the flood and public-QA scenarios were used during development.

The paper says, at §5.6

Pith says: minor objection 4 of 5

A statement on artifact availability for the vLLM scheduler hook would strengthen reproducibility, since the implementation is central to the evaluation and no code link is given.

The paper says, at §4.2

Pith says: minor objection 5 of 5

A sentence on the effect of the c_r = max(1, len_r - h_r) clamp in Algorithm 1 would help: it implies a full hit can carry a reuse ratio up to len_r - 1, which bounds the Fast-lane scores and drives the large-request argument in Appendix A.

What would settle it

Discrete-event simulation of Algorithm 1 (or a replay on the vLLM hook) with B = 2,048, w = 4, and KV capacity sufficient to retain hit prefixes: one backlog miss with c = 16,000 uncached tokens, plus a sustained stream of 100-token hits with reuse ratio 50 and patience about 2 s, arriving at service capacity so hit queueing delay W_h stays bounded at, say, 10 s. Record the miss's wait T_c and the hits' p99; under the paper's own starvation definition, starvation means T_c > 3×p99. Run until the miss is admitted or the queue grows without bound, and report T_c and p99 for W_h ∈ {1 s, 10 s, 30 s}. If T_c exceeds 3×p99 in any row, the unconditional 'starves no request' claim is false for a workload inside the stated prompt-length range (Mooncake and public QA reach 16–16.3k tokens).

from the skeptic's reading

How the review went

4 readings by deepseek-v4-flash · 4 Nov 2026

  1. Reader holds up, with conditions confidence moderate
  2. Skeptic agrees 2 min 9 s · 23,256 tokens read, 13,899 written
  3. Editor wrote the verdict above 23 s · 24,290 tokens read, 3,318 written
  4. Referee major revision: 2 major objections, 5 minor 3 min 4 s · 23,740 tokens read, 29,804 written

Not run on this paper: the simulated authors' defence.

Pith did not check this review's objections against the paper.

The review in full

The review in brief, machine-written

Fairway is a real, carefully-scoped systems contribution, and its central claim mostly holds up. The dual-lane admission order — a KV-reuse-first Fast lane merged with an FCFS Fair lane by work charges, plus a relative-wait term — reproduces the best of both regimes across the tested workloads with one frozen parameter set. The measured graded-reuse characterization (70–250x work spread within a queue) is worth having on its own. The mechanism is cleanly specified in Algorithm 1, Lemma 1's per-step bound is correct as stated, the ablation is properly constructed, and the evaluation holds out workloads after tuning, which is more honest than most systems papers.

The main soft spot is the gap between the proof and the "starves no request" language. Lemma 1 bounds work ahead of the oldest request only within one step. For a request with more than about wB = 8k uncached tokens, that doesn't control cumulative delay: with charges restarting every step, a sustained flood of cheap hits can keep filling each step's budget and push a large miss arbitrarily far back. The stress-test arithmetic for that regime is right, and Table 1's flood doesn't exercise it — its misses are 1.1–6.1k tokens, inside the bound's scope. The authors acknowledge this in Appendix A and list extending the bound as future work [b232], but the introduction still says "it starves no request" [b42] without the qualifier. That's an overstatement, though not a dishonest one: as an empirical claim about the tested traces, including Mooncake with prompts scaled to fit one GPU, it looks supported. The fallback — relative wait eventually carries the long request to the top of the Fast lane — is plausible but unproved, and a reviewer should ask for a worst-case bound or a stronger empirical demonstration at co > wB.

Everything else is in the normal range for a systems paper. Parameters were tuned on SEC with one seed; the holdout evaluation mitigates but doesn't eliminate that. Results are point estimates with no error bars. No code or data is shipped, which matters for a scheduler paper whose value is in the implementation and the measurements. None of these are fatal; they are the usual asks of a revision.

Who it's for: people building LLM serving stacks under RAG and agentic prefill load. It improves an existing scheduler trade-off rather than reshaping the field, and the paper doesn't oversell beyond that. I'd send it to peer review; a serious referee will find the mechanism fair game, and the co > wB gap is exactly the kind of thing a good review can push them to close.

The strongest objection

Lemma 1 bounds only one step: it gives W ≤ c_o/w + c_{a_k} − c_{a_1} for work placed before the oldest request o, and Corollary 1 requires the remaining step budget to cover that work. For c_o > wB (more than about 8k uncached tokens at B = 2,048), the budget B can be filled by cheap Fast-lane requests in every step while charges restart (§4.4), so the work served ahead of o is not bounded over time. The fallback — that relative wait eventually puts o at the top of the Fast lane (Appendix A, Scope) — is not a starvation bound. With SLO_r = max(1 s, 3·est(len_r)), a 16k-token miss has patience around 6 s while 100-token hits have patience around 1–2 s; if hit queueing delay W_h is bounded (arrivals at capacity), a hit's score is ratio + W_h/p_h, so the miss overtakes only after T ≈ p_m·(max ratio + W_h/p_h). For ratio 50 and W_h = 10 s, T ≈ 330 s while hit p99 ≈ 10 s, i.e. worst/p99 ≈ 33, far above the paper's own 3× starvation threshold. Table 1's flood uses misses of only 1.1–6.1k tokens, all inside Lemma 1's scope, so it does not test this regime. The authors candidly list the extension as future work (b232), but the conclusion still states 'it starves no request' unconditionally ([b42], [b230]).

The paper's own Lemma 1 and 'Scope' paragraph are the key evidence. Lemma 1 is correct for one step, and the authors explicitly state that charges restart every step and that the bound is not a share of the GPU over time. The reader's weakest assumption matches my read exactly. I add one point that makes the gap concrete rather than merely unproved: the relative-wait fallback can be arbitrarily slow relative to the hit p99, because hit patience is small and hit queueing delay is bounded in a stable flood. Thus the unconditional sentence 'it starves no request' is not supported by the mechanism for requests with more than about wB uncached tokens. The evaluation's flood test uses backlog misses within the bound, so it does not cover this regime. This is an acknowledged limitation (future work, b232), so it is not a hidden flaw; the authors deserve credit for the precise mechanism, the correct Lemma, the disclosed tuning protocol, and the honest scope statement. But the central claim should be read as 'no starvation in tested scenarios' rather than as a property of the scheduler. I would keep the reader's CONDITIONAL verdict: the condition is a demonstrated or proved bound for long misses under sustained cheap-hit floods. The proposed simulation would settle whether the concern lands; if the miss is admitted within 3×p99 across the tested W_h values, the conditional can be lifted, and if not, the conclusion needs qualification.

The referee's report

If the results hold, this is a solid contribution to LLM serving: a precisely specified (Algorithm 1), low-overhead admission rule that combines reuse-first median latency with FCFS-like tails, with no per-workload tuning, and an evaluation that is more careful than the norm: parameters frozen after one-seed SEC tuning, workloads held out (new-seed SEC, MuSiQue, Mooncake, public QA), and all methods sharing the same eviction and batching so the comparison isolates admission order. The Appendix A bound is correct within its stated scope, the stride-scheduling lineage is properly credited, and the limits section and future-work list are candid. The 6x median improvement over FCFS during spikes and the 2-18% gains over the best non-starving baselines are plausible and practically useful. The main caveat is the scope of the no-starvation property: Lemma 1 covers one step and requests up to about 8k tokens, the flood test stays inside that range, and the relative-wait rescue for larger requests carries no latency bound, so the headline anti-starvation claim currently exceeds what is proved or tested; the single-seed point estimates also leave the finer margins unquantified.

Pith's reading of the paper (a machine's summary, not the authors')

FAIRWAY claims that the order in which queued LLM requests are admitted can be chosen so that cheap, cache-reusing requests go first without expensive cache misses being starved. Because prefix caching makes prefill work vary by about $100\times$ within a queue, reuse-first orders give the best median time-to-first-token but lose the tail under load, while first-come-first-served bounds the tail at the cost of the median. FAIRWAY merges two orderings of the same waiting queue—a reuse-ranked Fast lane with a relative-wait term, and an arrival-ordered Fair lane—using a per-step work-charge bound that caps how much cheap work can pass the oldest request. The paper reports that with fixed parameters and no per-workload tuning, this matches or beats the best of seven baselines in every tested scenario, with p99 TTFT up to 8.6× lower than prior prefix-aware schedulers and no request starved in the tested traces.

What carries the argument. The load-bearing mechanism is the dual-lane ordering merged by work charges, recomputed before every scheduling step. Each waiting request $r$ gets a Fast-lane score $s_r = h_r/c_r + \mathrm{wait}_r/\mathrm{SLO}_r$, where $h_r$ is the cached prefix length, $c_r$ the uncached tokens (the request's "work"), and $\mathrm{SLO}_r = \max(1\,\text{s},\; 3\cdot\mathrm{est}(\mathrm{len}_r))$ its patience; the Fair lane is simply arrival order. The merge repeatedly takes a request from whichever lane has the smaller cumulative charge, adding $c_r$ to the Fair charge and $4c_r$ to the Fast charge, so the Fast lane can place cheap hits ahead of the oldest request only until the work admitted ahead of it reaches about a quarter of its own work (Lemma 1). For requests up to about $wB$ uncached tokens (8k at $B = 2{,}048$) this bound lets the oldest request start within the step; for larger ones the relative-wait term grows without bound while a fresh request scores little more than its ratio, which is the mechanism the paper relies on to keep very long requests from starving.

Core claim. The paper's central claim is that admission order alone—with eviction, batching and step budget untouched—can deliver the low median TTFT of KV reuse-first scheduling in calm traffic and the bounded tail of FCFS under load, in one rule. Each waiting request is scored as its KV reuse ratio plus a relative wait: how long it has waited divided by a patience of about three times its own expected prefill time, never less than one second. The Fast lane orders the queue by that score; the Fair lane orders the same requests by arrival time; an adaptive prioritizer merges the two by cumulative work charges in the manner of stride scheduling, counting Fast-lane work fourfold. Lemma 1 states that the total work placed ahead of the oldest waiting request within a step is at most a quarter of that request's own uncached work plus one request, however many highly cached requests are waiting. The paper claims this bound is what lets cheap hits go first while expensive misses keep a floor; for requests too large to start within one step it relies on the relative-wait term to raise them in the Fast lane, and it lists extending the bound to such requests as future work. In the evaluation, FAIRWAY matches or beats the best baseline in all 11 scenarios, starves no request, and keeps its worst wait within 2.3× of its own p99.

The premise it rests on. The load-bearing premise is that the per-step bound on work placed ahead of the oldest request, together with the relative-wait term, prevents starvation for all requests: the bound itself is proved only within a single step and only for oldest requests up to about $wB$ (8k) uncached tokens, so the claim that a longer miss eventually reaches the top of the Fast lane under a sustained flood of cheap cached hits is asserted, not proved.

If the paper is right (Pith's inferences, not the authors')

Admission order alone, without touching the engine's eviction or batching, suffices to combine reuse-first median latency with FCFS-like tails, so the mechanism can be adopted as a replacement for the queue order rather than a new serving engine.

The three fixed parameters (lane weight $w = 4$, patience multiplier 3, one-second floor) transfer across workloads, eliminating the per-workload fairness knob that the $k$ in k-LPM requires operators to re-pick when the workload changes.

During a load spike the scheduler keeps FCFS's tail while delivering a 6× lower median TTFT, meaning cheap cache hits are delayed (not starved) during floods and resume going first once the backlog clears.

On mixed-length workloads the relative-wait term shifts the tail benefit to short requests, cutting their p99 by roughly a third relative to every non-starving baseline, while long requests' p99 rises by 6–31%—an explicit, size-linked trade-off rather than an accidental one.

Because the mechanism reorders only the waiting queue, it composes with step budgets, eviction policies, preemption, client fairness, and cluster routing, so the measured differences between methods are attributable to admission order alone.

A direct extension would carry the work charges across steps whenever a backlog exceeds the step budget, which would convert the one-step bound into an end-to-end starvation bound for arbitrarily long requests and close the gap the paper leaves for requests above $wB$ uncached tokens.

The same relative-wait-plus-work-charge recipe applies to any work-conserving queue where the cost of a pick varies by orders of magnitude—decode-stage token scheduling, retrieval ordering, or multi-tenant batch processing—wherever reuse-first greediness and starvation are the two failure modes.

If the workload-independence claim generalizes, a testable prediction is that FAIRWAY's advantage over k-LPM should hold on trace mixes not built on Zipf-popularity question pools, such as time-correlated bursts around a single newly released document, where all hits share one prefix.

The reported worst-wait/p99 ratio of at most 2.3× across scenarios suggests operators could treat p99 as a practical control knob: if the relationship persists, the tail percentile determines the worst case, which is exactly what the flood experiment is designed to check.

Check this review

Pith stored no record of this review's passes and took no fingerprint of it. Reviews made by code from 13 Nov 2026 on carry both.

How often reviews like this one are right

Reviews like this one: written by deepseek-v4-flash, where what was read was not recorded.

How often objections from reviews like this one are right: not yet measured

Every value above, in the review's public record (JSON)

Reviews by people

This review was written by a machine. No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.

Request a human review

How Pith checks papers · The full audit of this paper

The paper

Abstract

LLM-based applications often employ agentic workflows and retrieval-augmented generation (RAG), which build long prompts from shared context. When prefixes are shared across requests, serving engines reuse the key-value (KV) cache to skip parts of the prefill computation. Reuse is typically graded: the uncached work of requests in a queue can differ by up to 100x. In this setting, the order of scheduling determines the time-to-first-token (TTFT) for the queued requests. KV reuse-first scheduling, which prioritizes the requests with the longest KV cache hit, gives the lowest median TTFT but starves expensive requests under load spikes; first-come-first-served (FCFS) scheduling bounds the tail but raises the median TTFT. We present Fairway, a prefill scheduler built on adaptive reuse prioritization: it favors KV cache reuse while queues are short, and shifts toward fair allocation as requests wait longer relative to their own prefill time. Fairway employs a virtual dual lane model: a KV reuse-first Fast lane and a Fair lane atop the serving engine's waiting queue that enables speeding up of cheap reuse requests without starving expensive ones. This model automatically adapts to the workload without any per-workload tuning. Fairway lowers the tail TTFT at no cost to the median in transient overload. Across workloads and load levels, Fairway matches or beats the best baseline, with a p99 TTFT up to 8.6x lower than prior prefix-aware schedulers. During load spikes, it keeps the tail of FCFS at a 6x lower median TTFT.

The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.

abstract compiled · 2026-11-03

The authors' main claim, as the classifier picked it out 0.95

“Across workloads and load levels, Fairway matches or beats the best baseline, with a p99 TTFT up to 8.6x lower than prior prefix-aware schedulers.”

How the main claim is stated: asserted 1.00

What the abstract itself states, as probabilities: claims first 0.06 · states limitation 0.13 · human participants 0.02 · controlled comparison 0.92 · randomized assignment 0.02 · states quantitative result 0.99 · compares with prior results 0.98 · mentions code or data availability 0.03

The abstract, sentence by sentence

This table labels the abstract only (arXiv listing abstract v1). The number is the probability the classifier gave the label.

SentenceRoleThe authors' own workStates the main conclusionStrength
LLM-based applications often employ agentic workflows and retrieval-augmented generation (RAG), which build long prompts from shared context. background 1.00 0.05 0.01 asserted 0.97
When prefixes are shared across requests, serving engines reuse the key-value (KV) cache to skip parts of the prefill computation. background 1.00 0.06 0.02 asserted 1.00
Reuse is typically graded: the uncached work of requests in a queue can differ by up to 100x. background 0.99 0.21 0.02 asserted 0.98
In this setting, the order of scheduling determines the time-to-first-token (TTFT) for the queued requests. background 1.00 0.12 0.03 asserted 1.00
KV reuse-first scheduling, which prioritizes the requests with the longest KV cache hit, gives the lowest median TTFT but starves expensive requests under load spikes; first-come-first-served (FCFS) scheduling bounds the tail but raises the median TTFT. background 0.73 0.39 0.08 asserted 1.00
We present Fairway, a prefill scheduler built on adaptive reuse prioritization: it favors KV cache reuse while queues are short, and shifts toward fair allocation as requests wait longer relative to their own prefill time. contribution 0.85 0.91 0.32 asserted 1.00
Fairway employs a virtual dual lane model: a KV reuse-first Fast lane and a Fair lane atop the serving engine's waiting queue that enables speeding up of cheap reuse requests without starving expensive ones. method 0.98 0.84 0.09 asserted 1.00
This model automatically adapts to the workload without any per-workload tuning. method 0.67 0.74 0.05 asserted 1.00
Fairway lowers the tail TTFT at no cost to the median in transient overload. result 1.00 0.92 0.26 asserted 1.00
Across workloads and load levels, Fairway matches or beats the best baseline, with a p99 TTFT up to 8.6x lower than prior prefix-aware schedulers. result 1.00 0.94 0.51 asserted 1.00
During load spikes, it keeps the tail of FCFS at a 6x lower median TTFT. result 1.00 0.87 0.14 asserted 0.99

What kind of paper the classifier reports this is: method or tool 1.00 · evidence from observation or experiment 0.86

What was examined, and what was not

Sources read

  • arXiv listing abstract v1

Not examined

  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers

Levels run

  • P abstract

Not run

  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

How the labels were made

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-11-03: 1 request, 8,265 input tokens.

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON

Figures (8)
Figure 1 of the paper
Figure 1. Median vs. p99 TTFT during a 60 s load spike on a finance RAG trace (SEC QA; log–log). Shaded: within 10% of LPM’s median and of FCFS’s p99. of requests with similar cache ratios (Srivatsa et al., 2025), though one turn may cost tens of tokens or thousands; other works count seconds, raising a request’s priority with its absolute wait (Du et al., 2025), though the same wait time weighs differently on requests of different lengths
Figure 2 of the paper
Figure 2. Uncached prompt tokens per request when each trace is served under FCFS (log scale). GPU: the ratio between the 90th and the 10th percentile is 70–250× across our four workloads. Every SEC QA prompt holds the five chunks retrieved for its question, about 1.5k tokens, yet about half of the requests are full hits that compute only their question, tens of tokens, while the 30– 35% that are partial hits carry 54–64% of the prefill work. The spread comes from the cache, not from prompt length. Production traffic shows the same graded reuse. In Moon￾cake’s traces from Kimi’s serving…
Figure 4 of the paper
Figure 4. TTFT percentiles for SEC long-doc QA, under KV reuse￾first scheduling with an absolute wait and under FAIRWAY. 3.3 Absolute Wait Time Ignores Request Size A common fix for the tail of §3.2 is to add the absolute wait time to the KV reuse ratio (Jin et al., 2025), and on both dynamic traces it keeps the KV reuse-first median in calm traffic and FCFS-like tails in the burst and the spike. Its weakness appears when prompt lengths differ. The same wait costs requests of different sizes differently. Take two requests with the same KV reuse ratio, of 1k and 10k tokens, whose prefill takes…
Figure 6 of the paper
Figure 6. One FAIRWAY step with w = 4: the oldest request M (miss) must compute 6,000 tokens; six later hits H1–H6 300 tokens each. (1) Waiting queue (2) Two lanes and their merge by work charges (3) Step admits from the top of the order within budget B. starts at co. The lane with the smaller charge then places its next request and adds that request’s work to its charge, again counted w times in the Fast lane, so each lane’s charge grows only with the work it places. The lanes take turns this way until the whole queue is ordered, each skipping requests the other has already placed. In
Figure 7 of the paper
Figure 7. Median and p99 TTFT per 60 s window on the two held-out dynamic SEC traces (log scale). 2024; Li et al., 2024). Each prompt holds the chunks re￾trieved for its question (SEC QA, MuSiQue) or the whole document (SEC long-doc QA, public QA). What we model is the request process, which questions arrive and when, as in prior works (Jin et al., 2025; Srivatsa et al., 2025; Xie et al., 2026): question popularity follows a Zipf distribution with α = 0.9, as in web and RAG traffic (Breslau et al., 1999; Wang et al., 2025), and arrivals are Poisson (Kwon et al., 2023; Zhong et al., 2024;…
Figure 8 of the paper
Figure 8. p99 TTFT of each baseline relative to FAIRWAY’s (line at 1) in all 11 scenarios; above 1 is worse than FAIRWAY. Hatched bars starve requests (worst TTFT > 3× p99). Bars above 3× continue dashed, with their value on top. median, and FCFS, which lets no request overtake another, has the shortest tail at busy load. We therefore set two tar￾gets for each phase (calm, burst and spike): LPM’s median and FCFS’s p99, each within 10%, so six targets per trace. FAIRWAY meets all six on both traces, in every run. No baseline meets more than four. In the spike, the baselines miss in two ways.…

Showing 6 of the paper's 8 figures. Figures are the authors', reproduced from the paper.

References (38)
  1. [1] Agrawal, A., Kedia, N., Panwar, A., Mohan, J., Kwatra, N., Gulavani, B. S., Tumanov, A., and Ramjee, R. Taming throughput-latency tradeoff in llm inference with sarathi-serve. Proceedings of 18th USENIX Symposium on Operating Systems Design and Implementation, 2024, Santa Clara, 2024 on Pith
  2. [2] Bai, Y., Lv, X., Zhang, J., Lyu, H., Tang, J., Huang, Z., Du, Z., Liu, X., Zeng, A., Hou, L., Dong, Y., Tang, J., and Li, J. L ong B ench: A bilingual, multitask benchmark for long context understanding. In Ku, L.-W., Martins, A., and Srikumar, V. (eds.), Proceedings of the 62... on Pithdoi:10.18653/v1/2024.acl-long.172
  3. [3] Breslau, L., Cao, P., Fan, L., Phillips, G., and Shenker, S. Web caching and zipf-like distributions: evidence and implications. In IEEE INFOCOM '99. Conference on Computer Communications. Proceedings. Eighteenth Annual Joint Conference of the IEEE Computer and Communications ... on Pithdoi:10.1109/infcom.1999.749260
  4. [4] Cao, S., Wang, Y., Mao, Z., Hsu, P.-L., Yin, L., Xia, T., Li, D., Liu, S., Zhang, Y., Zhou, Y., Sheng, Y., Gonzalez, J., and Stoica, I. Locality-aware fair scheduling in llm serving, 2025. URL https://arxiv.org/abs/2501.14312 on PithPith's reviewarXiv
  5. [5] Dexter, G., Tang, S., Fatahi, A., Song, Q., Dharamsi, T., and Gupta, A. Llm query scheduling with prefix reuse and latency constraints. In Belgrave, D., Zhang, C., Lin, H., Pascanu, R., Koniusz, P., Ghassemi, M., and Chen, N. (eds.), Advances in Neural Information Processing S... on Pithdoi:10.52202/085713-3156
  6. [6] Docugami . KG-RAG datasets: Knowledge graph retrieval augmented generation evaluation datasets. https://github.com/docugami/KG-RAG-datasets, 2023. SEC 10-Q dataset, v1 on Pith
  7. [7] Du, K., Wang, B., Zhang, C., Cheng, Y., Lan, Q., Sang, H., Cheng, Y., Yao, J., Liu, X., Qiao, Y., Stoica, I., and Jiang, J. Prefillonly: An inference engine for prefill-only workloads in large language model applications. In Proceedings of the ACM SIGOPS 31st Symposium on Oper... on Pithdoi:10.1145/3731569.3764834
  8. [8] Gao, Y. Retrieval-augmented generation for large language models: A survey. arXiv preprint arXiv:2312.10997, 2023 on PithPith's reviewarXiv
  9. [9] Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Vaughan, A., et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024 on PithPith's reviewarXiv
  10. [10] Hansen, P. B. Short-term scheduling in multiprogramming systems. In Proceedings of the Third ACM Symposium on Operating Systems Principles, SOSP '71, pp.\ 101–105, New York, NY, USA, 1971. Association for Computing Machinery. ISBN 9781450378604. doi:10.1145/800212.806506 on Pithdoi:10.1145/800212.806506
  11. [11] Jiang, Y., Huang, Y., Cheng, L., Deng, C., Sun, X., and Mai, L. Contextpilot: Fast long-context inference via context reuse. In Chowdhery, A. and Jia, Z. (eds.), Proceedings of Machine Learning and Systems, volume 8, pp.\ 1639--1655. MLSys, 2026 on Pith
  12. [12] Jin, C., Zhang, Z., Jiang, X., Liu, F., Liu, S., Liu, X., and Jin, X. Ragcache: Efficient knowledge caching for retrieval-augmented generation. ACM Trans. Comput. Syst., 44 0 (1), November 2025. ISSN 0734-2071. doi:10.1145/3768628 on Pithdoi:10.1145/3768628
  13. [13] Kim, S., Moon, S., Tabrizi, R., Lee, N., Mahoney, M. W., Keutzer, K., and Gholami, A. An LLM compiler for parallel function calling. In Salakhutdinov, R., Kolter, Z., Heller, K., Weller, A., Oliver, N., Scarlett, J., and Berkenkamp, F. (eds.), Proceedings of the 41st Internati... on Pith
  14. [14] Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J., Zhang, H., and Stoica, I. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th Symposium on Operating Systems Principles, SOSP '23, pp.\ 611–626... on Pithdoi:10.1145/3600006.3613165
  15. [15] Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., K\" u ttler, H., Lewis, M., Yih, W.-t., Rockt\" a schel, T., Riedel, S., and Kiela, D. Retrieval-augmented generation for knowledge-intensive nlp tasks. In Larochelle, H., Ranzato, M., Hadsell, R., Balcan... on Pith
  16. [16] Li, J., Wang, M., Zheng, Z., and Zhang, M. L oo GLE : Can long-context language models understand long contexts? In Ku, L.-W., Martins, A., and Srikumar, V. (eds.), Proceedings of the 62nd Annual Meeting of the A ssociation for C omputational L inguistics (Volume 1: Long Paper... on Pithdoi:10.18653/v1/2024.acl-long.859
  17. [17] Luo, M., Shi, X., Cai, C., Zhang, T., Wong, J., Wang, Y., Wang, C., Huang, Y., Chen, Z., Gonzalez, J. E., and Stoica, I. Autellix: An efficient serving engine for llm agents as general programs, 2025 on Pith
  18. [18] Ni, H., Tian, H., Zhang, C., Li, G., and Tan, H. Topas: Workflow-aware prefix-state scheduling for multi-agent llm serving. arXiv preprint arXiv:2608.25523, 2026 on PithPith's reviewarXiv
  19. [19] Pan, Z., PATEL, A. D., Shen, Y., Hu, Z., Guan, Y., Li, W.-L., Qin, L., Wang, Y., and Ding, Y. Kvflow: Efficient prefix caching for accelerating llm-based multi-agent workflows. In Belgrave, D., Zhang, C., Lin, H., Pascanu, R., Koniusz, P., Ghassemi, M., and Chen, N. (eds.), Ad... on Pithdoi:10.52202/085713-4208
  20. [20] Patel, P., Choukse, E., Zhang, C., Shah, A., Goiri, \'I ., Maleki, S., and Bianchini, R. Splitwise: Efficient generative llm inference using phase splitting. In 2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA), pp.\ 118--132, 2024. doi:10.1109/... on Pithdoi:10.1109/isca59077.2024.00019
show 18 more
  1. [21] Qin, R., Li, Z., He, W., Cui, J., Ren, F., Zhang, M., Wu, Y., Zheng, W., and Xu, X. Mooncake: Trading more storage for less computation a KVCache-centric architecture for serving LLM chatbot. In 23rd USENIX Conference on File and Storage Technologies (FAST 25), pp.\ 155--170, ... on Pith
  2. [22] Qu, X., Lin, T., Li, Y., Chen, Z., and Wang, S. Prism: Fast online llm serving via scheduling-memory co-design. arXiv preprint arXiv:2605.08581, 2026 on PithPith's reviewarXiv
  3. [23] Schrage, L. A proof of the optimality of the shortest remaining processing time discipline. Operations Research, 16 0 (3): 0 687--690, 1968 on Pith
  4. [24] Sheng, Y., Cao, S., Li, D., Zhu, B., Li, Z., Zhuo, D., Gonzalez, J. E., and Stoica, I. Fairness in serving large language models. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), pp.\ 965--988, Santa Clara, CA, July 2024. USENIX Association. I... on Pith
  5. [25] Srivatsa, V., He, Z., Abhyankar, R., Li, D., and Zhang, Y. Preble: Efficient distributed prompt scheduling for llm serving. In Yue, Y., Garg, A., Peng, N., Sha, F., and Yu, R. (eds.), International Conference on Learning Representations, volume 2025, pp.\ 37057--37082, 2025 on Pith
  6. [26] Sun, B., Huang, Z., Zhao, H., Xiao, W., Zhang, X., Li, Y., and Lin, W. Llumnix: Dynamic scheduling for large language model serving. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), pp.\ 173--191, Santa Clara, CA, July 2024. USENIX Association... on Pith
  7. [27] Tiwari, S., Chugh, T., Rickert, N., Peter, S., Mahajan, R., and Shen, H. Cachewise: Understanding workloads and optimizing kvcache management for efficiently serving llm coding agents. arXiv preprint arXiv:2606.16824, 2026 on PitharXiv
  8. [28] Trivedi, H., Balasubramanian, N., Khot, T., and Sabharwal, A. M u S i Q ue: Multihop questions via single-hop question composition. Transactions of the Association for Computational Linguistics, 10: 0 539--554, 2022. doi:10.1162/tacl_a_00475. URL https://aclanthology.org/2022.... on Pithdoi:10.1162/tacl_a_00475
  9. [29] Waldspurger, C. A. and Weihl, W. E. Stride scheduling: Deterministic proportional- share resource management, June 1995 on Pith
  10. [30] Wang, Z., Hu, Y., Ye, J., Chang, Z., Yu, J., Deng, Y., and Li, K. Ragpulse: An open-source rag workload trace to optimize rag serving systems. arXiv preprint arXiv:2511.12979, 2025 on PitharXiv
  11. [31] Wu, B., Zhong, Y., Zhang, Z., Liu, S., Liu, F., Sun, Y., Huang, G., Liu, X., and Jin, X. Fast distributed inference serving for large language models. arXiv preprint arXiv:2305.05920, 2023 on PithPith's reviewarXiv
  12. [32] Xie, B., Wang, Z., Tanaka, M., and Zheng, Z. Peek: Predictive queue-informed kv cache management for llm serving. arXiv preprint arXiv:2607.02525, 2026 on PithPith's reviewarXiv
  13. [33] Yao, J., Li, H., Liu, Y., Ray, S., Cheng, Y., Zhang, Q., Du, K., Lu, S., and Jiang, J. Cacheblend: Fast large language model serving for rag with cached knowledge fusion. In Proceedings of the Twentieth European Conference on Computer Systems, EuroSys '25, pp.\ 94–109, New Yor... on Pithdoi:10.1145/3689031.3696098
  14. [34] Yu, G.-I., Jeong, J. S., Kim, G.-W., Kim, S., and Chun, B.-G. Orca: A distributed serving system for Transformer-Based generative models. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22), pp.\ 521--538, Carlsbad, CA, July 2022. USENIX Associati... on Pith
  15. [35] Zhao, Y., Yang, S., Zhu, K., Zheng, L., Kasikci, B., Zhou, Y., Xing, J., and Stoica, I. Blendserve: Optimizing offline inference for auto-regressive large models with resource-aware batching. arXiv preprint arXiv:2411.16102, 2024 on PithPith's reviewarXiv
  16. [36] Zheng, L., Yin, L., Xie, Z., Sun, C., Huang, J., Yu, C. H., Cao, S., Kozyrakis, C., Stoica, I., Gonzalez, J. E., Barrett, C., and Sheng, Y. Sglang: Efficient execution of structured language model programs. In Globerson, A., Mackey, L., Belgrave, D., Fan, A., Paquet, U., Tomcz... on Pithdoi:10.52202/079017-2000
  17. [37] Zheng, Z., Ji, X., Fang, T., Zhou, F., Liu, C., and Peng, G. Batchllm: Optimizing large batched llm inference with global prefix sharing and throughput-oriented token batching. In Chowdhery, A. and Jia, Z. (eds.), Proceedings of Machine Learning and Systems, volume 8, pp.\ 174... on Pith
  18. [38] Zhong, Y., Liu, S., Chen, J., Hu, J., Zhu, Y., Liu, X., Jin, X., and Zhang, H. DistServe : Disaggregating prefill and decoding for goodput-optimized large language model serving. In 18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24), pp.\ 193--210, ... on Pith

Challenges and discussion

Disagree with the review, or know something it missed? Leave a comment, or challenge this review formally: a challenge becomes a permanent entry in this paper's record, and its decision is published here.

No comments yet.

Sign in to comment