Skip to content

Reduce datanode work for LMCache blob deletion - #3440

Open
matrixarkai wants to merge 1 commit into
codex/lmcache-batched-blob-writesfrom
codex/lmcache-local-blob-delete
Open

matrixarkai wants to merge 1 commit into
codex/lmcache-batched-blob-writesfrom
codex/lmcache-local-blob-delete

Conversation

@matrixarkai

Copy link
Copy Markdown
Owner

Changes

  • Delete local blobs on the HTTP request's existing thread. Retain ordered results and treat missing files as successfully removed.
  • Use only canonical blob paths in capacity-recovery namespaces. Legacy namespaces continue to check their previous paths.

Local WSL validation

  • All 28 Python tests passed. The release datanode built and the focused Rust deletion test passed.
  • In a 98,304-block test with 24 clients and three datanodes, delete p95 fell from 114.6 ms to 93.6 ms and delete wall time fell from 9.90 s to 7.71 s. Combined datanode CPU during deletion fell from 35.93 to 13.55 CPU-seconds.
  • The same 3,072 delete batches resolved 98,304 physical paths instead of 196,608. Verified every payload and that all payload files were removed.
  • With 12,288 legacy entries, datanode CPU during deletion fell from 3.44 to 1.23 CPU-seconds.

Builds on #3439.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants