Skip to content

[Performance]: LRU hit share dropped 27-38% to 15% on Windows/sm_120 between 68ac9ff and 4aca059 (0.95 to 0.82 tok/s) - confounded observation, bisect offered #490

Description

What happened

While running the CACHE_ROUTE ladder on my usual box (RTX 5080 sm_120 / 128 GB DDR5 / Windows 11, g64 grouped-int4, CUDA_DENSE=1 + 4 GB tier, PIPE=1 DIRECT=1, full K=8, greedy, 64-tok decode — same protocol as #467), the stock-routing baseline dropped from my long-standing ~0.95 tok/s to 0.82, and the composition of the expert hit rate changed shape:

binary decode tok/s hit pin share LRU share
dev @ 68ac9ff (many runs, #467) 0.89-0.95 84-86% 47-59% 27-38%
dev @ 4aca059 (2 runs) 0.82 74.5% 59.4% 15.0%

The pin share is stable; it's specifically the LRU contribution that collapsed (27-38% → 15%). Prefill unchanged; coherent output; no fallbacks.

Why I'm asking rather than asserting

Two changes landed between my binaries in the LRU/prefetch area — #474 (LFRU-aware pilot eviction guard) is the obvious candidate since it changes eviction decisions on exactly this path — but my observation is confounded: my .coli_usage grew ~500k selections between sessions (pin set drifted), and page-cache state differed. So this is a "does this reproduce for anyone else / does it look plausible from the diff" question, not a regression claim.

Offer

I can run a controlled bisect on this box: rebuild 68ac9ff, 1b8f307 (pre-#474) and 4aca059 (post-#474) against a frozen copy of .coli_usage, 2 runs each, same session. ~1 hour of machine time — say the word and I'll attach the table. If it's real, the interesting part is that the guard may be over-protecting demand experts into staleness on hosts where PILOT_REAL issues a lot of cross-layer loads (6-7k per 64 tokens here, per the footer).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions