-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Replay slow down around block number 32M running against Mainnet data #6909
Comments
@nksanthosh @dconry Please specify the configuration and hardware used to derive this graph so that future readers of this issue can properly understand. My assumption is that this graph looks very different with |
@wanderingbort @nksanthosh Here are some hardware/runtime details for tests above, numbered left to right in graph: Test 1 (aws m4.4xlarge: 8x2.5GHz CPU/64GB RAM): --replay --wasm-runtime wavm on nodeos 1.6.0rc2 Also, tests 1 & 2 were allowed to process slowly for several days before a nodeos restart unstalled them. Test 3 was restarted promptly (prior to stall) in attempt to avoid stall period. This (plus faster CPU freq) contributed to the faster completion seen in graph for Test 3. Please let me know if further details would be useful... |
Might be related to #6533? |
looks like it is a bug. Do you have the memory usage log for the instances? |
@taokayan We do have memory statistics for each system over these intervals. I'll look into extracting the raw data from the monitoring system's API & representing it here. |
Same problem here and also here: https://eosio.stackexchange.com/questions/4149/node-cant-sync-with-the-mainnet |
mostly fixed by #7047 |
Nodeos replay with Mainnet data slows down as shown in the attached graph
Safely restarting nodeos while replay is between 32 & 33 million blocks seems to optimize total replay time, across all 3 tests. Later than this means the replay stalls significantly, earlier and a second restart is needed or replay may stall prior to completion.
Post-replay sync performance (catch up with blocks generated after replay start) begins around 500-1000 blocks per minute. A 2nd restart during this sync increases performance by a factor of about 5 (again, consistent across all 3 tests), and decreases total sync time from ~24 hours to ~4-5 hours.
The text was updated successfully, but these errors were encountered: