-
Notifications
You must be signed in to change notification settings - Fork 20
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
High Latency when doing batch calls #442
Comments
What is the command that you use to run |
@minh-bq you can use this
|
@minh-bq can you share the output of
You can see in the above output that it prints the total time taken |
Okay, I understand the problem now. I see very high CPU usage (> 80%) on the node that I connect when running the above command. This is a thing we can look into for improvement but I think it is not unusual. With the above command, ethereumetl will run 5 workers and batch 100 rpc requests per HTTP request. The command calls I think you try to increase the number of CPUs on the node, use |
@minh-bq we also see the increase in CPU but not so much so that it would cause the reqs to slow down. Can you share the total time it took to process all the blocks |
I get the same amount of time. I've just tried on a more CPUs machine and seems like CPU is underutilized. |
Can you try this patch to see if there is improvement (it is not well tested though, so please cross check the data if you want to use it)? In my opinion, |
I am currently using ethereum-etl tool to do some backfilling but I have observed some high latency when doing so. Mainly all the requests are batch requests.
There is no visible bottleneck on the Disk, CPU or RAM but still the response time from the node is significantly high
Here is my startup command
config.toml
Can you please suggest what is causing this and what can I improve
The text was updated successfully, but these errors were encountered: