Skip to content
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

optimization: enlarge p2p buffer size and add some metrics for performance monitor #171

Merged

Conversation

andyzhang2023
Copy link
Contributor

Description

The improvement includes:

  1. enlarge p2p buffer size to 90k.
  2. change the latency metric of txpool.Add() to "latency of adding a tx on average", to find out how many transactions we can add at most via txpool.Add().
  3. add gc metrics for golang GC monitor.
  4. other logs optimization.

@andyzhang2023 andyzhang2023 changed the base branch from main to develop September 11, 2024 02:49
core/blockchain.go Outdated Show resolved Hide resolved
core/blockchain.go Outdated Show resolved Hide resolved
internal/debug/flags.go Outdated Show resolved Hide resolved
@owen-reorg owen-reorg changed the title enlarge p2p buffer size and add some metrics for performance monitor optimization: enlarge p2p buffer size and add some metrics for performance monitor Oct 10, 2024
@owen-reorg owen-reorg merged commit b4b9750 into bnb-chain:develop Oct 10, 2024
1 check passed
owen-reorg added a commit that referenced this pull request Oct 14, 2024
…mance monitor (#171)

Co-authored-by: Owen <[email protected]>
Co-authored-by: andyzhang2023 <[email protected]>
This was referenced Oct 14, 2024
welkin22 added a commit to welkin22/op-geth that referenced this pull request Oct 28, 2024
bnoieh pushed a commit to bnoieh/op-geth that referenced this pull request Nov 29, 2024
* Enable Canyon via the superchain registry

* Rename PostCanyon to Canyon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants