Repository navigation
bench/shuffle: the flow, the hand-written shuffle and Ray across machines on Hetzner Cloud - #181
Merged
Merged
Conversation
…ines on Hetzner Cloud The shuffle benchmark on separate servers in one Hetzner location and private network: three ccx23 worker machines and a head machine, in four configurations (3 or 4 workers on one machine, one worker on each machine, four on each), PARTS 16 and 64, two repeats of 3 passes. Every answer is exact and the flow's is bit-identical to the hand-written shuffle's everywhere. Across machines the flow is 1.43 to 1.48 times the hand-written time with one worker per machine and 1.31 to 1.34 with four (1.19 to 1.36 on one machine), and 0.51 to 0.97 of Ray's. Reducers' cross-machine fetches cost the flow no more than the hand-written shuffle; its partition tasks' waits for their items do. bench/shuffle/cluster.py and cluster.sh start the head, the workers over ssh and the driver and record one row per run; waits.py summarises the timelines' waits; summarize.py prints the cluster tables. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017TycsyUqdnuDeZrYc3z6wV
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.
The measurement the keyed-partition work was missing: the shuffle benchmark across machines, where a reducer fetches pieces made on other hosts. Nothing under
src/changes.Setup. Hetzner Cloud hel1, one private network. Three ccx23 worker machines (4 dedicated vCPUs, 16 GB) and a cpx32 head machine for the head and the driver. The project's 12-dedicated-core limit allowed three worker machines, not four. Configurations: A3 (3 workers on one machine), A4 (4 on one machine), B (one on each machine), C (four on each machine). Each ran flow, hand-written and Ray at PARTS 16 and 64, 3 passes, and the whole set ran twice.
Results (median ms, first / second repeat):
bench/shuffle/cluster.pyandcluster.shmake the run reproducible from the repository: the head on the head machine, workers over ssh on the private network, the driver, and one row per run.waits.pysummarises the timelines, andsummarize.pyprints the cluster tables. No CHANGELOG line, following the earlier bench write-up PRs (#173, #174).🤖 Generated with Claude Code
https://claude.ai/code/session_017TycsyUqdnuDeZrYc3z6wV