bitcoind – Raspiblitz sluggish sync efficiency
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 flawed with bitcoind as there are some bizarre signs occurring. The pi is working raspiblitz 1.7RC2 (64bit). I’ve 400mbps web and it is related to a brand new 1TB sandisk ssd.
First I seemed 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 at least one block each few seconds.
Attempting to speak with bitcoind additionally turns into sluggish,
bitcoin-cli getnetworkinfo | grep connections at the beginning is prompt however after awhile this command can take 30 seconds to execute.
Lastly utilizing nmon the system utilization could 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 decreasing the dbcache by 500mb pondering there wasn’t sufficient free reminiscence however it didn’t assist.
# bitcoind configuration # mainnet/testnet testnet=0 # Bitcoind choices server=1 daemon=1 txindex=0 disablewallet=1 peerbloomfilters=1 # Connection settings rpcuser=raspibolt rpcpassword=c4w0Mh2q 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