Choose the route
Same file. Different forwarding rules.One shared source budget
The interval concerns this model. It is not a production performance guarantee.
The separate mathematical reference for the main experiment
This centrally coordinated reference omits the protocol sandbox's local inventories, picker decisions, upload permissions and connection events. It is not a prediction for any of the selectable swarm policies.
Walk through discovery, inventories and requests
The link budget
Frames account for preamble, interframe gap, Ethernet header and FCS. The nominal Ethernet rate already specifies the MAC data rate; no per-byte UART start/stop bits are subtracted. No slow-start or congestion-control trajectory is simulated.
Broadcast once. Repair what is missing.
Expected-load estimate: independent initial block failures, followed by one lossless repair phase. Real fleet completion also depends on the slowest receiver and retry behavior.
Complementary trees
Why this happens
Source injectionInspect every timing component
- Rate-limited transfer
- Chunk / packet pipeline tail
- Path propagation and relay delay
- Connection preparation and handshakes
- Repair feedback
These components sum to the displayed model time. Rate limits already include the active capacity, pacing and window constraints.
Where does the time go?
Click a strategy to inspect it. Bars include the current bandwidth, chunk and delay settings. Receiver repairs use the loss and cache settings in that scenario.
Loss-free delivery schedules
These seven concrete schedules exclude failed blocks and repair traffic. Multicast uses switch replication; the peer strategies use host upload budgets. The P2P scheduling benchmark is shown separately below.
Centralized dissemination bound
Receiver-requested repairs
These two estimates use the same initial failure rate and lossless repair assumption. They include work excluded from the loss-free chart above.
Sensitivity
All other parameters stay fixed. Logarithmic axes keep very different scales visible.
The work still has to happen
This is total endpoint delivery. A physical backplane needs a topology, routes and replication locations before its load can be calculated.
A model you can inspect.
Analytical transfer estimates, with an illustrative network replay. No performance measurements are implied.
What a link rate means here
100 Gbps ÷ 8 = 12.5 GB/s; 50 Gbps ÷ 8 = 6.25 GB/s. These are decimal units before framing or other limits. In the original goodput mode, effective payload rate = line rate × the chosen efficiency ÷ 8. The baseline 50 Gbps at 80% gives 5 GB/s. That 80% is a planning assumption.
Ethernet mode replaces that blanket factor with Ethernet wire overhead, IPv4 or IPv6 headers, TCP or UDP headers, optional timestamps, VLAN and TLS records. A separate utilization control represents chosen operational headroom. TCP ACK traffic shares the host budgets with data, and the usable flight window can impose an additional rate limit.
Peer upload is the total across all outgoing connections. Upload and download have separate full-duplex budgets. In the manual baseline, a two-child relay sending two 2.5 GB/s streams uses 5 GB/s of upload. In Ethernet mode, headers and incoming-data ACKs consume some of that outgoing wire budget too.
Why two trees beat one host-forwarded tree
At the baseline, a full branching peer in a single binary tree must upload two complete 100 GB copies through its 5 GB/s budget. That requires at least 40 seconds. With complementary trees, each forwarding peer instead forwards one 50 GB portion to at most two children: at most 100 GB of upload. It receives both 50 GB portions and reconstructs the full file.
The source also stays within its budget: 2.5 GB/s into each of the two tree roots. Short paths add a small chunk pipeline tail. This construction assigns forwarding work to peers that would be leaves in a single tree.
In the zero-delay baseline, ideal multicast reaches the same injection floor with a smaller forwarding tail. With sufficient switch bandwidth, it injects the original file once and switches perform replication. Its packet-sized units collect sooner than the default 1 MB peer chunks.
Positive-delay comparisons also depend on the paths: the abstract multicast model includes a source-to-first-switch link, while host trees count receiving peers as branches. A lower modeled hop count can change the ranking. Comparing real multicast with an overlay needs a shared physical topology and consistent path delays.
Choose the forwarding barrier
A relay collects a complete chunk before forwarding it. Verification itself is assumed fast enough to keep up. Larger chunks increase pipeline fill time.
A fluid approximation: a relay begins forwarding as bytes arrive, removing the chunk collection barrier. Hop delay and bandwidth limits still apply. This does not guarantee integrity before forwarding.
A deliberately different scenario: each peer waits for the complete file. Its file barrier remains even when cut-through is enabled elsewhere.
Current scenario: Complementary trees
Bounds, estimates and schematic motion
The P2P card opens a separate, bounded protocol sandbox with selectable local piece pickers, upload slots and connection events. Its explicit workload is not the main 100 GB / 10,000-node analytical experiment. Its observed completion is a result of the chosen piece-level model, not a forecast for a production BitTorrent client. The ideal centralized bound is a separate folded reference.
The ideal upper bound describes a feasible algorithm in the unrestricted dissemination design space. It is not an upper bound on a fixed BitTorrent implementation. The request-credit calculator is a single-receiver steady-state thought experiment, not a 10,000-node scheduler simulation.
The topology view draws a small representative network. Its packet markers, node fill and replay explain the forwarding pattern. The displayed analytical calculation uses the full receiver count; the drawn links are not a discrete-event simulation.
Multicast assumes replication in switches or routers, whose forwarding capacity is separate from the host upload budgets. Its depth is a simplified configurable-fan-out abstraction. Reliable loss repair is a separate scenario.
The optional aggregate receive ceiling is a uniform per-receiver pacing constraint. It helps explore total delivery capacity, but cannot stand in for rack oversubscription or a network min-cut.
Multicast delivery, anycast repair discovery
Anycast routes a request to one member of a server group. It does not replicate the initial file to all receivers. The repair scenario uses multicast for initial delivery, and optionally an anycast address to reach a cache that can return a requested block over unicast.
Receivers detect missing or corrupt blocks by their block identifiers and expected checksums. Caches subscribe to the initial multicast and are assumed to receive it successfully. With unicast repair, the model assumes perfect load balance across caches; anycast routing does not itself guarantee that balance.
Group repair suppresses duplicate negative acknowledgments and multicasts each requested block once. With independent per-receiver failure probability p, the chance that at least one of N receivers needs a particular block is 1 − (1 − p)ᴺ. At large N, even a low individual loss rate can make almost every block need a group repair.
Both repair modes use a deliberately simple two-phase model: finish the broadcast, collect feedback, then repair. Repairs are assumed lossless. The estimate uses expected traffic and does not model the stochastic slowest receiver, repeated failures, timer dynamics, request overhead or a reliable-multicast protocol implementation.
Reading the symbols
F is file size in GB; N is receiver count; S is total source upload, U is each peer's total upload, and D is each receiver's total download in GB/s. Each host shares its budget across its connections. c is the verified chunk size in GB; L is one-way hop delay in seconds; A is aggregate receiver ingress in GB/s; H is the longest logical path; b is branching fan-out; M is the number of chunks. An unlimited A contributes no constraint.
Transport and repair references
RFC 6349 · TCP throughput testingEthernet wire budgets, bandwidth-delay product and practical throughputRFC 7323 · TCP extensions for high performanceWindow scaling and timestamp optionsRFC 5681 · TCP congestion controlCongestion windows, slow start and acknowledgmentsRFC 8446 · TLS 1.3Handshake structure and encrypted record framingRFC 8085 · UDP usage guidelinesApplication segmentation, path MTU and fragmentation avoidanceRFC 4786 · Operation of anycast servicesRouting to one service instance and limits of load balancingRFC 5740 · NACK-oriented reliable multicastReceiver feedback, suppression, repair and optional FECConnectivity, windows and model limits
Ethernet mode can start with warm connections, open all links in parallel, or open each link when data arrives. A cold TCP connection adds one RTT; a full TLS 1.3 handshake adds another. The configurable preparation delay can represent application coordination. The model sets RTT to twice the one-way logical-hop delay and caps each edge by flows × usable window ÷ RTT.
The usable window is assumed available once setup completes. Slow start, congestion-control evolution, queueing, CPU scheduling, disk bandwidth and checksum throughput are not simulated. Full-size frame efficiency is a steady-state approximation; the packetization inspector separately counts the final partial frame for an isolated chunk. A large application block becomes many TCP segments or explicitly sized UDP datagrams, rather than requiring IP fragmentation.
Except for the receiver-repair scenario, delivery is lossless. The repair estimate assumes one initial failure phase followed by lossless repairs; it is not the expected maximum completion time across a random fleet. Repeated failures and reconnections need limits on retry count and recovery delay before a finite worst-case upper bound exists. With no such limits, the unconditional upper bound is unbounded.