VergRail
Measuring and planning a lane
A lane is the path between the node next to your data and the node next to your GPUs. VergRail measures it, then answers the questions that decide a training run: how long the dataset takes to arrive, how many parallel streams to use, what the transfer costs, what the waiting GPUs cost, and whether a private port or a shipped appliance would be better.
What a measurement does
- The source node pings the destination 20 times (round trip, jitter, loss) and finds the largest packet that passes without fragmenting.
- The destination starts an iperf3 server on its mesh address, for two and a half minutes.
- The source sends real traffic to it for ten seconds over several parallel streams.
It needs iperf3 on both nodes. If VergShield enforces a policy, allow tcp/5201-5299 between the two.
How the plan is worked out
One TCP stream is limited by its window and by packet loss (the Mathis formula), so the plan picks the fewest streams that fill about 95% of the measured speed, at most 32. Egress uses the providers' public list prices with their free tiers, and the options table compares the current path with private ports and offline appliances.
rclone copy s3:my-dataset/train /data/train --transfers 16 --checkers 32 --multi-thread-streams 4 --s3-chunk-size 64M --fast-list --progress