smartcontracts / simple-optimism-node

The easiest way to run an Optimism node
MIT License
336 stars 115 forks source link

Node syncing is very slow! #78

Closed luoxiandong closed 3 months ago

luoxiandong commented 1 year ago

Node syncing slow more and more,How to improve sync speed?

image

This is .env config:

image
luoxiandong commented 1 year ago

Does no one reply? Which big guy replies, tks!!!

NickSolante commented 1 year ago

try setting --snapshot=false in https://github.com/smartcontracts/simple-optimism-node/blob/main/scripts/op-geth-start.sh that should speed up the syncing. That sped it up for me when I was syncing it (not through simple-op but through the binary)

luoxiandong commented 1 year ago

try setting --snapshot=false in https://github.com/smartcontracts/simple-optimism-node/blob/main/scripts/op-geth-start.sh that should speed up the syncing. That sped it up for me when I was syncing it (not through simple-op but through the binary)

It is ok,thanks very much!

Rogalek commented 1 year ago

hey, can you tell me guys what kind of L1 keys are you using for your optimism node? are they free key from providers like alchemy or infura or something else? or maybe paid? or your L1 nodes?

Chomtana commented 11 months ago

Node syncing is known to take weeks

For kind of L1 for now reth may have special protocol that boost performance (Don't sure)

You can use free alchemy but if you want faster L1 rpc, you can use paid Quicknode or Alchemy rpc