I start Parity software like so: parity -j
It takes a really long time to sync.
Is there any way to make it sync faster?
parity
I start Parity software like so: parity -j
It takes a really long time to sync.
Is there any way to make it sync faster?
Best Answer
First of all, you can increase the cache size to speed up block processing, for example to 1GB with
--cache-size 1024
. Increase it even further if you have more memory available. I'm using4096
.If you either have a hard drive, or a solid state disk, optimize the database compaction for each type with
--db-compaction hdd
or--db-compaction ssd
respectively.Make sure transaction tracing is off with
--tracing off
, however, this should be already the default behavior.Use the fast pruning mode with
--pruning fast
which reduces the state size kept in the client. Recently, this is also the default for parity.Make sure you sync in active mode with
--mode active
which does never stop actively syncing and importing blocks.Finally, if you need to fresh sync your chain, do it in warp mode with
--warp
. This fetches the latest state and latest 30k blocks from the chain and makes your node usable within only a couple of minutes.In one line: