-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
Bump to new gossipsub #3858
Bump to new gossipsub #3858
Conversation
Performance Report✔️ no performance regression detected Full benchmark results
|
Codecov Report
@@ Coverage Diff @@
## master #3858 +/- ##
==========================================
+ Coverage 36.23% 36.26% +0.02%
==========================================
Files 327 326 -1
Lines 9095 9074 -21
Branches 1430 1415 -15
==========================================
- Hits 3296 3291 -5
+ Misses 5656 5640 -16
Partials 143 143 |
* Refactor PeerRpcScoreStore: add PeerScore class * Aggregate lodestarScore, gossipsubScore to compute final score * updateGossipsubScores util and unit test * Populate PeerScore on updateGossipsubScore * Fix peerManager e2e test * Fix test/sim/multiNodeSingleThread.test.ts
The test in hetzner-test0 has been good:
Some down side monitored on contabo nodes: the better gossip scores we have, the more mesh peers we have and the more gossip messages we receive and it causes performance issue (since messages have to get thru a lot of middle libraries before it reaches lodestar). So contabo can run stably only if:
|
Can you post a CPU profile and detail where are the bottlenecks exactly? |
@@ -113,6 +113,7 @@ export class Eth2Gossipsub extends Gossipsub { | |||
dataTransform: new DataTransformSnappy(gossipTopicCache), | |||
metricsRegister: modules.metrics ? ((modules.metrics.register as unknown) as MetricsRegister) : null, | |||
metricsTopicStrToLabel: modules.metrics ? getMetricsTopicStrToLabel(modules.config) : undefined, | |||
asyncValidation: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh lol
with latest update, our contabo node can handle default gossipsub params (D params of 6, 8, 12) and 50 validators |
Motivation
Adds ChainSafe/js-libp2p-gossipsub#206 to Lodestar
Description
TBD