-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Increased p2p Traffic on Relay Chain #12797
Comments
Any thoughts on this? We have a workaround, but consider it very much temporary as it isolates our nodes into an island. |
I am looking into this and #12799 and I can confirm that there is an increase in the bandwidth usage between versions Is it possible that the lower right graph is incorrectly displaying only reserved peers? If you graph |
I've been analyzing the network traffic this morning and I can't find anything concerning in the network usage. During startup more bandwidth is used which seems to be associated with the number of connections the node has open as it switches between 20 and 50 connected peers but after the startup, the node count stabilizes and the average bandwidth between the two versions is basically the same. This instability during startup is something that warrants further research to see if we can somehow fix it and reduce the bandwidth consumption. I'll close this in favor of paritytech/polkadot-sdk#528 and try to get working on that issue soon Can you describe the workaround you have in place? |
@altonen Thanks for looking at this issue. The bottom right graph is displaying For the workaround. We have a set of full nodes running as Config before 12:25:
Config after 12:25:
|
Does reducing the number of inbound light peers using |
@altonen after setting Case 1Before change
After change
Here we can see the impact of the 100 light peers that is allowed by default Case 2In this case we have 0 in peers, 0 out peers, 4 reserved nodes and the --reserved only flag set.
After change
Here the change is almost not noticeable, as the light peers are already disable due to --reserved-only flag. |
This issue can be closed? |
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
After a recent client upgrade on Moonbeam, we are seeing a drastic increase in p2p traffic on the relay side. The traffic is associated with numerous peer connections which never seem to be reflected as connected peers. A workaround is to use
--reserved-only
, likely because it disables automatic peer discovery.You can see here the effect of running a node without
--reserved-only
(on the left of each graph) and restarting it with--reserved-only
(on the right):Note particularly that the number of connections is volatile after the restart for a brief time before dropping to its expected steady-state.
This problem isn't mitigated by restricting
--in-peers
and--out-peers
.Perhaps related: #12799
Steps to reproduce
--reserved-only
and observe network stats<= v0.9.26
vs>= v0.9.27
<= v0.26.1
vs>= v0.27.0
(observed only on Relay client, not parachain)The text was updated successfully, but these errors were encountered: