Scratch chunks: the spare cap under limited memory tunable (VICTORY_SPARE_MOST_MB) #373
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound!373
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-373"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@yagizakkaya01 on GitHub · 2026-12-01 19:36 UTC · original
yagizakkaya01:pr/spare→main· +12 −1 · 2 files · 72 commits · closed without mergingRequested by yağız akkaya · project thread
For #361.
When host memory counts as limited, spare scratch chunks are capped at 128 MiB, and past that the list threads make new write-back chunks again. In a WPR profile on machine 1 (as in PR 1) that creation (
take_chunk→writeback_upload_buffer) was ~4% of the list threads' CPU.VICTORY_SPARE_MOST_MB=<n>(16 to 4096) sets the cap. Not given: 128, as before. I run 512 on 32 GB.I only have the profile share for this one, no separate before/after. I'll add a run.
🤖 Generated with Claude Code
@readmet3xt-lab on GitHub · 2026-12-01 21:09 UTC · original
Thank you. Taken behind its switch (
VICTORY_SPARE_MOST_MB, off unless set) and being measured, including memory use on machines near their RAM limit.Pull request closed