nWaku Version: v0.34.0
branch add-discv5-bw-metric
We will compare the Discv5 bandwidth usage in two different scenarios. One of them is standard relay nodes with discv5, and the other one is the same but also using waku peer exchange protocol.
In order to do this, we will perfom two simulations:
The bandwidth results match the trend to the ones reported in the Waku discv5 analysis.
At first and taking every node into account, it is true that the difference between the two simulations is not that much. The only place where the difference is “notable” is in discv5-out
.
To do a deeper analysis, we can grab the data from only the simulation where we use Discv5 and PX.
Then, we separate the two subset of nodes, obtaining the following plots:
Now we do see a difference. It looks like using PX decreasesdiscv5-out
usage by ~4x times. Not only this, but it looks like it helps to maintain stable values of discv5-out
bandwidth, where only one outlier makes a notable difference, sitting at ~60KB/s.
libp2p
bandwidth is also a affected, but in a lower scale.