Skip to content

Instantly share code, notes, and snippets.

@gibz104
Last active June 19, 2023 22:43
Show Gist options
  • Save gibz104/9495faa516255336fdac208703d1fb0c to your computer and use it in GitHub Desktop.
Save gibz104/9495faa516255336fdac208703d1fb0c to your computer and use it in GitHub Desktop.

Specs

CPU

  • AMD Ryzen 9 5950X AM4, 4.9 GHz, 16-Core

RAM

  • Crucial Ballistix 4 x 16GB 3600 MHz (DDR4)

Nvme

  • WD Black SN850X 4 TB M.2 2280

Build Command

cargo install --locked --path bin/reth --bin reth

Run Command

RUST_LOG=info reth node\
  --chain=mainnet\
  --metrics=127.0.0.1:9001\
  --datadir="/mnt/Node_Data/Reth/datadir"\
  --authrpc.jwtsecret="/mnt/Node_Data/jwt.hex"\
  --http

Times for syncing:

Stage Time
1. Headers 10mins
2. TotalDifficulty 0mins
3. Bodies 1hr 30mins
4. SenderRecovery 1hr 57mins
5. Execution 41hr 30mins
6. MerkleUnwind 0mins
7. AccountHashing 28mins
8. StorageHashing 1hr 4mins
9. MerkleExecute 39mins
10. TransactionLookup 27hr 11mins
11. IndexStorageHistory 10hr 22mins
12. IndexAccountHistory 6hr 5mins
13. Finish 50mins
Total 91hr 46mins

Log startup

2023-06-10T21:43:32.285362Z  INFO reth::cli: reth 0.1.0 (86a130b6) starting
2023-06-10T21:43:32.285548Z  INFO reth::cli: Configuration loaded path="/mnt/Node_Data/Reth/datadir/reth.toml"
2023-06-10T21:43:32.285556Z  INFO reth::cli: Opening database path="/mnt/Node_Data/Reth/datadir/db"
2023-06-10T21:43:32.286720Z  INFO reth::cli: Database opened
2023-06-10T21:43:32.286725Z  INFO reth::cli: Starting metrics endpoint addr=127.0.0.1:9001
2023-06-10T21:43:32.287409Z  INFO reth::cli: Transaction pool initialized
2023-06-10T21:43:32.287418Z  INFO reth::cli: Connecting to P2P network
2023-06-10T21:43:32.288170Z  INFO reth::cli: Connected to P2P network peer_id=0xa6eb…f989 local_addr=0.0.0.0:30303
2023-06-10T21:43:32.288344Z  INFO reth::cli: Consensus engine initialized
2023-06-10T21:43:32.288356Z  INFO reth::cli: Engine API handler initialized
2023-06-10T21:43:32.288428Z  INFO reth::cli: Status connected_peers=0 latest_block=0
2023-06-10T21:43:32.288535Z  INFO reth::cli: RPC auth server started
2023-06-10T21:43:32.288639Z  INFO reth::cli: RPC IPC server started url=/tmp/reth.ipc
2023-06-10T21:43:32.288643Z  INFO reth::cli: RPC HTTP server started url=0.0.0.0:8545
2023-06-10T21:43:32.288647Z  INFO reth::cli: Starting consensus engine

Syncing start and end logs

1. Headers
2023-06-10T21:44:40.327177Z  INFO execute{stage=Headers}: sync::pipeline: Stage committed progress stage=Headers progress=0 checkpoint=0.1% done=false
2023-06-10T21:54:01.812228Z  INFO execute{stage=Headers}: sync::pipeline: Stage committed progress stage=Headers progress=17452410 checkpoint=100.0% done=true
2. TotalDifficulty
2023-06-10T21:54:01.826504Z  INFO reth::cli: Executing stage pipeline_stages=2/13 stage=TotalDifficulty from=0 checkpoint=0
2023-06-10T21:54:15.813880Z  INFO execute{stage=TotalDifficulty}: sync::pipeline: Stage committed progress stage=TotalDifficulty progress=17452410 checkpoint=100.0% done=true
3. Bodies
2023-06-10T21:54:15.815812Z  INFO reth::cli: Executing stage pipeline_stages=3/13 stage=Bodies from=0 checkpoint=0
2023-06-10T23:23:48.834828Z  INFO execute{stage=Bodies}: sync::pipeline: Stage committed progress stage=Bodies progress=17450000 checkpoint=100.0% done=false
4. SenderRecovery
2023-06-10T23:23:50.582983Z  INFO reth::cli: Executing stage pipeline_stages=4/13 stage=SenderRecovery from=0 checkpoint=0
2023-06-11T01:20:28.943980Z  INFO reth::cli: Stage finished executing pipeline_stages=4/13 stage=SenderRecovery progress=17452410 checkpoint=100.0%
5. Execution
2023-06-11T01:20:28.949701Z  INFO reth::cli: Executing stage pipeline_stages=5/13 stage=Execution from=0 checkpoint=0
2023-06-12T18:50:26.422962Z  INFO execute{stage=Execution}: sync::pipeline: Stage committed progress stage=Execution progress=17452410 checkpoint=100.0% done=true
6. MerkleUnwind
2023-06-12T18:50:27.340471Z  INFO reth::cli: Executing stage pipeline_stages=6/13 stage=MerkleUnwind from=0 checkpoint=0
2023-06-12T18:50:27.340690Z  INFO reth::cli: Stage finished executing pipeline_stages=6/13 stage=MerkleUnwind progress=17452410 checkpoint=17452410
7. AccountHashing
2023-06-12T18:50:27.342176Z  INFO reth::cli: Executing stage pipeline_stages=7/13 stage=AccountHashing from=0 checkpoint=0
2023-06-12T19:18:23.798915Z  INFO execute{stage=AccountHashing}: sync::pipeline: Stage committed progress stage=AccountHashing progress=17452410 checkpoint=100.0% done=true
8. StorageHashing
2023-06-12T19:18:23.998080Z  INFO reth::cli: Executing stage pipeline_stages=8/13 stage=StorageHashing from=0 checkpoint=0
2023-06-12T20:22:08.035257Z  INFO execute{stage=StorageHashing}: sync::pipeline: Stage committed progress stage=StorageHashing progress=17452410 checkpoint=100.0% done=true
9. MerkleExecute
2023-06-12T20:22:08.053862Z  INFO reth::cli: Executing stage pipeline_stages=9/13 stage=MerkleExecute from=0 checkpoint=0
2023-06-12T21:01:56.095492Z  INFO execute{stage=MerkleExecute}: sync::pipeline: Stage committed progress stage=MerkleExecute progress=17452410 checkpoint=100.0% done=true
10. TransactionLookup
2023-06-12T21:01:56.098321Z  INFO reth::cli: Executing stage pipeline_stages=10/13 stage=TransactionLookup from=0 checkpoint=0
2023-06-14T00:12:24.098430Z  INFO execute{stage=TransactionLookup}: sync::pipeline: Stage committed progress stage=TransactionLookup progress=17452410 checkpoint=100.0% done=true
11. IndexStorageHistory
2023-06-14T00:12:24.842448Z  INFO reth::cli: Executing stage pipeline_stages=11/13 stage=IndexStorageHistory from=0 checkpoint=0
2023-06-14T10:34:54.209257Z  INFO execute{stage=IndexStorageHistory}: sync::pipeline: Stage committed progress stage=IndexStorageHistory progress=17452410 checkpoint=100.0% done=true
12.IndexAccountHistory
2023-06-14T10:34:54.398577Z  INFO reth::cli: Executing stage pipeline_stages=12/13 stage=IndexAccountHistory from=0 checkpoint=0
2023-06-14T16:40:11.001778Z  INFO execute{stage=IndexAccountHistory}: sync::pipeline: Stage committed progress stage=IndexAccountHistory progress=17452410 checkpoint=100.0% done=true
13. Finish
2023-06-14T16:40:11.606342Z  INFO reth::cli: Executing stage pipeline_stages=13/13 stage=Finish from=0 checkpoint=0
2023-06-14T17:29:34.316996Z  INFO execute{stage=Finish}: sync::pipeline: Stage committed progress stage=Finish progress=17479421 checkpoint=17479421 done=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment