You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just start from a snapshot from a few days ago. Watch the amount of CPU use by firehose and how slow the blockchain syncs forward (3 minutes for every 10 seconds in blocks). Without firehose there, the chain runs like 10x faster (30 minutes in 10 seconds). Any optimizations to be made?
Note: this is reader+merger running together.
The text was updated successfully, but these errors were encountered:
Some quick testing on the new code. CPU profiling for a 30s interval reports:
around 14s of CPU time used on GOGC=100 (default)
around 3.5s of CPU time used on GOGC=500
around 3s of CPU time used on GOGC=1000
in comparison it's around 7-8s of CPU time on the old code without GOGC tweaking.
So obviously need to do some testing when replaying blocks instead of getting this data in live mode, but we should definitely try this. Will increase memory usage, but this shouldn't be a big issue here I assume.
Just start from a snapshot from a few days ago. Watch the amount of CPU use by firehose and how slow the blockchain syncs forward (3 minutes for every 10 seconds in
blocks
). Without firehose there, the chain runs like 10x faster (30 minutes in 10 seconds). Any optimizations to be made?Note: this is reader+merger running together.
The text was updated successfully, but these errors were encountered: