Closed as not planned
Description
Proposal to improve performance
We've recently rewritten the block management subsystem for better testability. We need to profile it under real load to make sure it is performant enough to replace the block manager V1, and fix any issues.
We should do this once the block manager v2 is feature complete (still missing a few items).
Known issue:
- Prefix caching
num_total_tokens
is O(N^2) instead of O(N) (see [Core] Enable prefix caching with block manager v2 enabled #4142 (comment))