Repository navigation
fix(striper): start each object on its own drive - #3
Merged
Merged
Conversation
neo-th
force-pushed
the
fix/stripe-start-drive
branch
from
November 4, 2026 07:32
8815ea0 to
4389254
Compare
Chunk 0 of every object went to the first drive. Objects that don't fill a whole stripe therefore left the last drives underused, and objects under one chunk all landed on the first drive, however many drives were in the pool. The start drive now comes from a hash of the object's URI. It's stable across restarts, so an append continues the object's pattern. Each chunk records its own drive, so data that's already stored stays readable. Measured through LMCache's L2 benchmark on 4 Micron 7450 Gen4 drives, 32 workers, median of 3 runs: - 2 MiB objects: load 6321 to 24609 MB/s, store 4962 to 15390 MB/s - 14 MiB objects: load 20740 to 24884 MB/s, store 16129 to 18549 MB/s Tested from main's daemon through the Python client: objects stored before the upgrade read back byte for byte after it, and objects from both versions read back after a rollback, with a clean stop and with kill -9.
neo-th
force-pushed
the
fix/stripe-start-drive
branch
from
November 4, 2026 09:24
4389254 to
1b145ab
Compare
neo-th
marked this pull request as ready for review
November 4, 2026 09:25
This was referenced Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Chunk 0 of every object went to the first drive (
block_devices[chunk_idx % num_devices]). That has two effects:Change
The start drive now comes from a hash of the object's URI.
test_server_stage_write_and_commit_flowrequired chunk 0 on drive 0. It now checks that the object's two chunks use both drives.Results
These are from 4 Micron 7450 Gen4 drives through LMCache's L2 benchmark, with 64 objects in flight and 32 workers. Each figure is the median of 3 runs in shuffled order, old and fixed in the same session.
At 14 MiB on 2 drives, load goes from 10526 to 12071 MB/s. fio measured 27.6 GB/s read on the same 4 drives at 4 MiB QD32.
Testing
All on this code or the same fix on the connector branch, on 4 Micron 7450 drives: