Repository navigation
[TransferEngine] Add multi-node tebench launcher - #4649
Merged
alogfans merged 3 commits intoOct 28, 2026
Merged
Conversation
ToLiveAndLove
requested review from
ShangmingCai,
UNIDY2002,
alogfans,
chestnut-Q,
doujiang24,
staryxchen,
stmatengss and
ykwd
as code owners
October 14, 2026 07:04
Collaborator
|
I think it would be better to aggregate results in a single json file together. |
Contributor
Author
|
Thanks for the suggestion! Added |
Orchestrate fanout, incast, m2n and all_to_all runs over tebench's existing multi-target interface, with start barriers, optional write_seed/read_verify phases, per-initiator ranges and log/JSONL collection.
ToLiveAndLove
force-pushed
the
feat/3371-tebench-multinode
branch
from
October 20, 2026 12:05
57a16e3 to
f7364b8
Compare
13 of 19 tasks
11 of 36 tasks
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.
Description
Part of #3371.
Multi-node
tebenchruns currently require starting each process, copying segment names, and collecting results manually. Add an SSH launcher forfanout,incast,m2n, andall_to_all.The launcher discovers targets, waits for initiators at a start barrier, collects logs and JSONL results, combines them into
results.json, and stops its processes on exit. It supports separate address ranges per initiator and optionalwrite_seedfollowed byread_verify. All-to-all runs a target and an initiator on each node, excluding self-transfers.Executable paths must be absolute. Existing run directories are rejected, and cleanup only removes directories created by the current run. This uses the existing multi-target interface without changing the
tebenchbinary.results.jsoncontains run metadata and one result entry per initiator and phase. Each entry keeps the complete original records, including per-target metrics. Original logs and JSONL are retained; Python 3 is required only on the launcher host.Module
mooncake-transfer-engine)Type of Change
How Has This Been Tested?
From the repository root, with Bash 4.3+, Python 3, and standard Linux tools including
setsid:The test creates its own mock executable and temporary files; no build, SSH connection, RDMA hardware, or real
tebenchis required.Also passed in an empty environment and through CTest (
tebench_multinode_script_test).Two-host TENT RDMA runs used 1 GiB buffers, 64 KiB blocks, batch size 8, 5 seconds per phase, and separate ranges per initiator. M2N used two targets and two initiators with two threads each; all-to-all used four threads per initiator.
All eight initiator processes exited with 0, with no error logs or data mismatches. JSONL contained the expected targets and nonzero operation counts. Each topology produced a single
results.jsoncontaining all four phase/process results, verified against the original JSONL. No processes or run directories from these tests remained.Checklist
AI Assistance Disclosure