docs: scaling results up to 800 nodes with the connection limit as shipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
+9
-8
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user