node icon indicating copy to clipboard operation
node copied to clipboard

op-reth Base Mainnet sync very slowly

Open 0xStrawberlin opened this issue 9 months ago • 3 comments

I try to run a full base mainnet node with op-reth and op-node. But it syncs very slowly. It took about 15 hours to run and only reached 400,000 blocks. Can anyone provide the full node snapshot ? or Can I sync from latest block instead of genius block (Block 0). Thank!

Here are my executed scripts:

./bin/op-node \
    --network="base-mainnet" \
    --l1=wss://eth.merkle.io \
    --l2=http://localhost:9551 \
    --l2.jwt-secret=/Volumes/Tiplus/reth_data/base_reth_jwt/jwt.hex \
    --rpc.addr=0.0.0.0 \
    --rpc.port=7000 \
    --l1.beacon=https://ethereum-beacon-api.publicnode.com
    --l1.trustrpc
    --syncmode=execution-layer
    --l2.enginekind=reth
    --override.holocene 2736445601


op-reth node \
    --full \
    --chain base \
    --rollup.sequencer-http https://mainnet-sequencer.base.org \
    --http \
    --ws \
    --authrpc.port 9551 \
    --authrpc.jwtsecret /Volumes/Tiplus/reth_data/base_reth_jwt/jwt.hex \
    --datadir  /Volumes/Tiplus/reth_data/base_reth_data

0xStrawberlin avatar Feb 15 '25 09:02 0xStrawberlin

Hi @0xStrawberlin the snapshots are available here https://docs.base.org/chain/run-a-base-node#snapshots

mohsinriaz17 avatar Feb 26 '25 22:02 mohsinriaz17

i am using a geth node, and i have added the full node snapshot but after that, i was about 20k blocks behind so i waited couple of hours. but i realised it is still syncing very slow.

Average sync speed: 1.7750 blocks per second

Starting block sync speed check...
----------------------------------
Fetching block number... Attempt 1 of 5
System Time: 22:43:10 | Block Number: 22404205
Waiting 10 seconds for the next fetch...
Fetching block number... Attempt 2 of 5
System Time: 22:43:20 | Block Number: 22404219
Waiting 10 seconds for the next fetch...
Fetching block number... Attempt 3 of 5
System Time: 22:43:30 | Block Number: 22404227
Waiting 10 seconds for the next fetch...
Fetching block number... Attempt 4 of 5
System Time: 22:43:40 | Block Number: 22404250
Waiting 10 seconds for the next fetch...
Fetching block number... Attempt 5 of 5
System Time: 22:43:50 | Block Number: 22404276
----------------------------------
Blocks synced in fetch 1: 14 (Time elapsed: 10 sec)
Blocks synced in fetch 2: 8 (Time elapsed: 10 sec)
Blocks synced in fetch 3: 23 (Time elapsed: 10 sec)
Blocks synced in fetch 4: 26 (Time elapsed: 10 sec)
----------------------------------
Latest fetched block: 22404276
Current latest block: 22419790
Blocks behind: 15514
Total blocks synced in tests: 71
Average sync speed: 1.7750 blocks per second
Estimated time to sync to 22419790: 8740.28 seconds
New blocks added during sync: 4370
Final estimated time including new blocks: 11202.25 seconds

what can i do to debug the speed?

i am on ubuntu 24.04, 16 core xeon 6th gen CPU with 64 GB ram and 2TB nvme disk the download speed during snapshot was on average 40MB/s so i do not think my network connection is a problem

i am using chainstack as my L1 becon node which have a throughput of 25 api calls per sec i am trying to sync sepolia testnet

Thanks

mohsinriaz17 avatar Feb 26 '25 22:02 mohsinriaz17

We have exact same issue. we followed the tutorial, the syncing is super slow, but geth dir size increase, extremely slowly. We also have 64Go and 8TB nvme disk.

1 line = 5 sec, our block sync is so slow that we go backwards, there is no way to get in sync.

Image

1 line = 1 sec, our disk size still increase, veryyyyy slowly

Image

Ours logs look like this

Image

Could you tell us what to do?

kopax avatar Apr 26 '25 00:04 kopax

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Nov 16 '25 00:11 github-actions[bot]

This issue was closed because it has been inactive for 5 days since being marked as stale.

github-actions[bot] avatar Nov 25 '25 00:11 github-actions[bot]