Repository navigation
V2: NIC RDMA transport (feature-gated) + shard directory + G4 cold path - #5
Merged
Merged
Conversation
TCP stays the correctness path. The rdma-nixl feature does not link libnixl. A shard-local directory, a simulated registration pool, and the cold sink/refill contract are covered by CPU tests. Co-authored-by: RustFS <hello@rustfs.com>
loverustfs
marked this pull request as ready for review
October 15, 2026 07:54
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.
Summary
First V2 slice. V1 A/B/C stay green. TCP is still the correctness path. Live RDMA, live RustFS, GPU export, GDS, and BlueField are
NOT_RUN_HARDWARE. No erasure coding and no durability replicas.KvTransportwithTcpTransportas the default.submitis one bounded host copy (dma_posted=false). Featurerdma-nixlcompiles and adds no crate.NixlTransport::openreturnsrdma not linkedwith or without the feature. NIXL was chosen over Mooncake after a binding/license audit (nixl-sys1.3.1, Apache-2.0, not pinned).stub-apiaborts on call, and this workspace forbidsunsafe, so libnixl is not linked. ADR 0004.Vec<u8>slots with batch checkout, registration reuse, backpressure, quarantine on unknown completion, and no free on lease expiry. Region ids are not recycled. This is notibv_reg_mr.docs/V2_DATA_PATHS.mdlists P/D handoff, G3.5 reuse, and G4 refill hop by hop (GPU / NIC / host / NVMe). No full zero-copy claim.GPUCACHE_RUSTFS_*.cargo test --workspace --all-targetsandcargo test -p gpucache-transport --all-targets --features rdma-nixldo not need a GPU, DPU, or Soft-RoCE.shard-demoandcold-demoprint theNOT_RUN_HARDWARElabels.paired-baselinestill prints no timings.Test plan
cargo fmt --all -- --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspace --all-targetscargo test -p gpucache-transport --all-targets --features rdma-nixlcargo run -p gpucache-transport --bin shard-democargo run -p gpucache-cold --bin cold-demo(rustfs_live=NOT_RUN_HARDWARE,gds=NOT_RUN_HARDWARE)cargo run -p gpucache-bench --bin paired-baselineNOT_RUN_HARDWARENOT_RUN_HARDWARE(noGPUCACHE_RUSTFS_*)NOT_RUN_HARDWARE