-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Empty) block time increases to 2s in a 60 validator network #1525
Comments
Some quick measurements. iperf3 between
iperf3 between
iper3 between
|
The way that gossipsub works is that it transmits the message to at least Given that the validators are distributed with To broadcast a Proposal, the network transmission time could take up to Given the size of the network is 60 nodes; to ensure that a Proposal reaches enough nodes to form a quorum requires at least 2 perfect (no overlapping nodes) hops i.e. If we take the most ideal case, i.e. the messages are transmitted concurrently, and it only requires 2 perfect hops, it could still require If we take the average time between the two, still takes > 1s for network communications. Therefore, it is unsurprising that block times can take 2s for empty blocks. |
A positive sign that UDP has a chance to perform well is that it can handle higher bandwidths e.g. from
|
Great summary, thank you Shawn. Are the messages transmitted concurrently or sequentially? If concurrently, would increasing the number of peers from 6 to e.g. 10 help ensure that we end up with only 2 hops in the common case without loosing time waiting for the sequential transmission of 4 additional messages? |
I suspect that if I dig into the code, I will likely find a loop somewhere that iterates thru the peers and transmits the message. It is possible to configure |
The block interval of creating empty blocks increased from 1s average to 2s average in the
perftest
, a network withasia-southeast1
europe-west1
europe-west2
The network was stopped to save costs, but @frankmeds can restart it any time someone is ready to investigate this issue.
The text was updated successfully, but these errors were encountered: