Title: -reindex-chainstate frequent extended pauses Post by: callmejoe on May 18, 2019, 03:45:19 AM i've been running a -reindex-chainstate the last several days on my raspberry pi. i've noticed it stops updating for 40 minutes at a time frequently. from looking at the debug.log i see socket timeouts at 2300-2400s which is about 40 minutes. and the timestamp from 2 consecutive block updates are 40 minutes apart.
am i reading this right? and any way to shorten the timeout period? Code: 2019-05-18T02:52:29Z UpdateTip: new best=0000000000000000012c181fce4f2ec065c3eb773cccc5d72251c2595a038fe9 height=479717 version=0x20000012 log2_work=86.904758 tx=244935503 date='2017-08-08T20:58:30Z' progress=0.624972 cache=726.0MiB(6524861txo) Title: Re: -reindex-chainstate frequent extended pauses Post by: DaveF on May 18, 2019, 01:34:47 PM Short version. No.
Remember, it's a RPi, it's slow with not a lot of ram and horrible I/O speeds. If this is the same machine from your last post you have everything running on an SD card, which is going to make it even slower. -Dave Title: Re: -reindex-chainstate frequent extended pauses Post by: callmejoe on May 18, 2019, 04:23:48 PM Short version. No. Remember, it's a RPi, it's slow with not a lot of ram and horrible I/O speeds. If this is the same machine from your last post you have everything running on an SD card, which is going to make it even slower. -Dave yes same machine. i am going to try to be patient with this. i just was hoping i can stop these 40 minute "work stoppages" at a time. Title: Re: -reindex-chainstate frequent extended pauses Post by: ABCbits on May 18, 2019, 06:46:47 PM Just be patient, RPi is barebone PC and there's nothing much you could do.
But if you're not patient, there are few options : 1. Tweak dbcache, maxsigcachesize & rpcthreads value on start-up parameter or bitcoin.conf file. Not recommended because you could encounter "Out of memory" problem 2. Overclock CPU & RAM. Also not recommended for obvious reason. 3. Store whole Bitcoin folder on SSD. But, AFAIK there's major bottleneck from CPU/RAM and IMO you won't see any significant performance difference. Title: Re: -reindex-chainstate frequent extended pauses Post by: callmejoe on May 21, 2019, 05:23:42 PM ok im at block 536,258...in the home stretch....
the whole time this has been reindexing the process used 1-2 cores of 4 and maybe got up to 25% of CPU. now it seems suddenly all 4 cores are being used at 95%+ and has really sped up going through the blocks. any reason it didnt utilize all the processing power available from the beginning? |