You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Peer gossip does an exponential moving average for choosing what channels to gossip on. Its currently set to decrementing the tracker by 20% every 2 seconds.
Consensus on Osmosis in its entirety takes 1 second, and were at block time 3s, soon to be 2.5s. So I think this EMA is very misparameterized. Instead I suggest making the updateStats tracker happen every 500ms. This is done by changing this constant right here: https://github.com/cometbft/cometbft/blob/main/p2p/conn/connection.go#L34
I think we should observe network behavior to determine if we should adjust this further. I imagine this does need to get further fine-grained if we think EMA is the way to do channel selection.
The text was updated successfully, but these errors were encountered:
Feature Request
Summary
Peer gossip does an exponential moving average for choosing what channels to gossip on. Its currently set to decrementing the tracker by 20% every 2 seconds.
Consensus on Osmosis in its entirety takes 1 second, and were at block time 3s, soon to be 2.5s. So I think this EMA is very misparameterized. Instead I suggest making the updateStats tracker happen every 500ms. This is done by changing this constant right here: https://github.com/cometbft/cometbft/blob/main/p2p/conn/connection.go#L34
I think we should observe network behavior to determine if we should adjust this further. I imagine this does need to get further fine-grained if we think EMA is the way to do channel selection.
The text was updated successfully, but these errors were encountered: