How to speed up stagesync: IntermediateHashes? #8075
-
Hello, I think I need a little help! I have a fully synced node and I found that the block execution step takes 1-2 seconds. See the logs where the difference between processing a new payload and notifying the rpc daemon is 1.5 seconds.
I turned on debug mode and found that the intermediate hashing step takes the most time. Especially the Merkle tree calculation which is in My instance is AWS Cloud EC2: 8 CPUs, 64 RAM, and a 3.5TB gp3 SSD 10500 IOPS. Can anyone explain a bit about this step? Is this stage connected to a database to make calculation or is it just an in-memory? Note: I also see the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
gp3 is high-latency disk - disk-latency (not throughput) is your bottleneck. more ram may help a bit. |
Beta Was this translation helpful? Give feedback.
-
@shchitlyak47 Can you elaborate what ec2 instance you used, if you moved to gp3 or to a storage-optimized ec2 ? |
Beta Was this translation helpful? Give feedback.
gp3 is high-latency disk - disk-latency (not throughput) is your bottleneck. more ram may help a bit.
most of things in erigon are related to database.
trie_async
will not help in your case.