bitcoind – Raspiblitz gradual sync efficiency

0
55


I am syncing my raspberry pi 4 mannequin B, 4GB and after 4 days I am lower than 50% synced. It appears as if there’s something unsuitable with bitcoind as there are some bizarre signs occurring. The pi is operating raspiblitz 1.7RC2 (64bit). I’ve 400mbps web and it is related to a brand new 1TB sandisk ssd.

First I appeared on the debug.log file (sudo tail -f /mnt/hdd/bitcoin/debug.log) When bitoind is first began up I see blocks being added at a fee of a number of per second. After letting it run for awhile it slows down to 1 block each few seconds. I additionally get ping timouts and my peer connections are continually slicing off and do not exceed ~10.

Making an attempt to speak with bitcoind additionally turns into gradual, bitcoin-cli getnetworkinfo | grep connections firstly is prompt however after awhile this command can take 30 seconds to execute.

Lastly utilizing nmon the system utilization may be very low besides bitcoind is studying from the ssd at a fee of ~250 mbps however not doing a lot writing. The cpu utilization is blocked by ready io. The one factor I’ve tried was reducing the dbcache by 500mb considering there wasn’t sufficient free reminiscence but it surely didn’t assist.

bitcoin.conf:

# bitcoind configuration
# mainnet/testnet
testnet=0
# Bitcoind choices
server=1
daemon=1
txindex=0
disablewallet=1
peerbloomfilters=1
# Connection settings
rpcuser=raspibolt
rpcpassword=****
rpcport=8332
rpcallowip=127.0.0.1
rpcbind=127.0.0.1:8332
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333
# Raspberry Pi optimizations
dbcache=2560
maxorphantx=10
maxmempool=300
maxconnections=40
maxuploadtarget=5000
datadir=/mnt/hdd/bitcoin

nmon

Edit
After a number of restarts the sync appears to be going sooner than earlier than, even after ready. The disk reads are a lot decrease with some writes as nicely. Undecided why decrease learn speeds ends in sooner syncing…

Eidt 2

I seen after “leaving block file” it is working at about 1/2 velocity for awhile now. Have a look at the time stamps within the connected screenshot. Issues decelerate fairly a bit after that.enter image description here

LEAVE A REPLY

Please enter your comment!
Please enter your name here