From 60a2df3f22638f3fc77c568c57b0b8d774e6c8ca Mon Sep 17 00:00:00 2001 From: Nils Stinnesbeck Date: Wed, 18 Nov 2026 22:55:22 +0100 Subject: [PATCH] docs: scaling results up to 800 nodes with the connection limit as shipped Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw --- docs/PROTOCOL.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/PROTOCOL.md b/docs/PROTOCOL.md index ce0c09e..2bc1c90 100644 --- a/docs/PROTOCOL.md +++ b/docs/PROTOCOL.md @@ -633,15 +633,16 @@ into the tables behind the graphs. Result on a 16 GB, 8-core machine: | 300 | 9.4 s, 100% (p95 79 ms) | 112 nodes without a peer, 43% delivered | | 400 | 14 s, 100% (p95 99 ms) | 212 nodes without a peer, 16% delivered | | 600 | 24.5 s, 100% (p95 117 ms) | not run | +| 800 | 35.6 s, 100% (p95 128 ms) | not run | -As shipped, delivery stayed at 100% and agreement held up to 600 nodes; time -to form the mesh grows roughly with the square of the network size (3.4 s at -100, 24.5 s at 600), and so does the simulator's cost (2.5 GB heap, 230k -goroutines, 250 CPU-seconds at 600). That cost is the sum of all the nodes -sharing one machine, so it measures the limit of the simulation as much as of -the protocol; 800 nodes was left out to avoid exhausting memory. With libp2p's -default the network stopped working where the seeds ran out of inbound -connections (three seeds held about 187 each). +As shipped, delivery stayed at 100% and agreement held up to 800 nodes, the +largest run; time to form the mesh grows with the network size (3.4 s at 100, +24.5 s at 600, 35.6 s at 800), and so does the simulator's cost (3.3 GB heap, +320k goroutines, 350 CPU-seconds at 800). That cost is the sum of all the +nodes sharing one machine, so it measures the limit of the simulation as much +as of the protocol; larger runs were not tried to keep this machine's memory +free. With libp2p's default the network stopped working where the seeds ran +out of inbound connections (three seeds held about 187 each). Findings (see "What is left" in SPECS.md for the open ones):