How the simulation is done

Constant simulation parameters

Same constant simulation parameters, but message sizes and latency:

Variable parameters:

Simulation workflow:

Notes:

IDONTWANT was introduced on nim-libp2p 1.2. We can see the effect of IDONTWANT control messages in the 50KB and 500KB plots, where the bandwidth from 1.2 to onwards gets decreased with respect to 1.1.

At first the initial thought was that in 100B the difference in bandwidth was due to the small payload + randomness of control messages. Now that we can see v1.2 are a bit different, this simulation will be repeated.

nim-libp2p bandwidth plots:

Size: 100 Bytes, Mesh: 1000 nodes

Size: 100 Bytes, Mesh: 1000 nodes

Size: 1KB, Mesh: 1000 nodes

Size: 1KB, Mesh: 1000 nodes