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

[perf]: performance tuning #1384

Closed
popcnt1 opened this issue Feb 20, 2024 · 1 comment
Closed

[perf]: performance tuning #1384

popcnt1 opened this issue Feb 20, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@popcnt1
Copy link
Collaborator

popcnt1 commented Feb 20, 2024

Objective:

  1. current goal: analyze basic execution flow and fix known issues
  2. Next stage: run the rooch process independently and simulate performance data by means of external calls. Rich parameter support will be provided

The following steps address the current goal:

Analyze bottlenecks in the basic execution flow:

  1. optimize bench related code to help narrow the problem domain for pprof to locate the problem [perf] switch to enable pure memory/disk file system for bench testing #1395
  2. use pprof-rs to get bottleneck (enough to get rough bottleneck information)

Known issues:

  1. DA and executor share tx buffer, resulting in blocking when DA submits batch executor append tx: DA server by DA control concurrency, tx buffer use read/write cache to reduce blocking
  2. bitcoin block as a parameter causes the transaction output json is too large: when converting RoochTransaction to MoveTransaction, fetcher is used to get the content of the block, and pass it to the VM. Move provides a native method to get the block of bitcoin through hash.
@popcnt1 popcnt1 self-assigned this Feb 20, 2024
@jolestar jolestar added this to the Rooch v0.7 milestone Jun 17, 2024
@jolestar jolestar modified the milestones: Rooch v0.7, Rooch v0.8 Aug 19, 2024
@jolestar jolestar modified the milestones: Rooch v0.8, Rooch v0.9 Nov 18, 2024
@popcnt1 popcnt1 changed the title [perf] Performance Tuning Steps [perf]: performance tuning Dec 9, 2024
@popcnt1
Copy link
Collaborator Author

popcnt1 commented Dec 9, 2024

too old data, move to #3031

@popcnt1 popcnt1 closed this as completed Dec 9, 2024
@github-project-automation github-project-automation bot moved this to Done in Rooch Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants