Stage Sync Problem #3216
-
Hi, How can I force stage sync to download all the blocks first, then move to execution stages etc? My current erigon do stages by small pieces, e.g. 10-20k block download, then execution etc. After all the stages, it moves back to download other 10-20k blocks, then execution etc. This is much slower than download everything first and proceed to execution stages etc. I am running erigon locally on my macbook air, the network is slower than aws, but disk performance is much better. Since it takes a lot of computation in the stage sync, this is much fast with the same cost. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Show some logs |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
First, let me put the log when erigon starts, it includes version info etc.
Some of the problematic log are following, it repeated between stage 1 and 3, downloaded 20k plus blocks, and proceed to stage 4+
|
Beta Was this translation helpful? Give feedback.
-
This is another example, from start to stage 5 pretty quickly.
|
Beta Was this translation helpful? Give feedback.
-
I am checking network status, found that sometimes body download is very ineffeicient. In the following log period, nettop shows that erigon already downloaded 650MB data, but proceed only 609 blocks
|
Beta Was this translation helpful? Give feedback.
-
yes, I also saw this on slow vpn |
Beta Was this translation helpful? Give feedback.
yes, I also saw this on slow vpn
DONE in=2m30.002751958s
- this is some hard-coded timeout - i will increase it.2m30s = noProgressCount * cfg.BodyDownloadTimeoutSeconds = 5 * 30