Xingyuan Wu

Results comments of Xingyuan Wu

> @yokinoshitayoki PTAL when you have time. Thanks for your update, this PR looks good to me now.

Thanks a lot for your contribution. But my understanding is that `allocator_bench` and `allocation_strategy_bench` are intentionally different layers and should stay decoupled: - `allocator_bench` should remain a low-level allocator microbenchmark,...

The fixed `kSizeClassPrefillMaxAttempts = 5000` prevents the previous infinite-prefill problem, but it may be too small for the larger matrix cases. For example, with the documented `--segment_capacity=1024 --prefill_pct=70/80` and `segments=100`,...

Thanks for the detailed report. The incomplete reuse is mainly caused by BatchPut allocation failures: the rejected keys are not automatically retried after eviction/offload, so waiting longer cannot recover them....

Thanks a lot for the suggestion. I agree that this API shape is much cleaner,using `std::optional group_ids` in `ReplicateConfig` sounds better than adding a separate grouped batch API. One possible...

@CAICAIIs Thanks for your interest, this plan looks good to me. The staged split is aligned with the intended scope of this RFC. When group_ids is present, I would prefer...

@jacklin78911-collab Thanks for the detailed breakdown. I agree this looks complementary to #2405 / #2508. My understanding is that #2405 and #2508 mainly reduce eviction's interference with latency-critical lookup/get paths...

#3589 addresses a large part of the problems discussed in this RFC. Building on top of it should make the remaining retention semantics much easier to implement.

@YaoleWu Thanks for the concrete example. This matches my understanding of LongestPrefix. For ordinary KV-cache lookups, callers like SGLang can only reuse the contiguous prefix up to the first gap,...

For hybrid attention models like K3, maybe we could use LongestPrefix to lease the contiguous KV prefix, then use LastHitOnly to select and lease the last complete KDA checkpoint within...