Author

Topic: bitcoin.conf Optimized to Download the Blockchain (Read 266 times)

legendary
Activity: 3472
Merit: 3217
Playbet.io - Crypto Casino and Sportsbook

I was using this configuration but my PC was freezing the mouse and video by lack of memory, and I had no sensitive increase in sync velocity, so I commented but keep it on file.

Try to decrease it until you find the stable one and keep monitoring your ram.

Try to start at 100 (dbcache=100) and add this "maxmempool=100" then monitor the ram then increase the dbcache if there are still available ram space and put the same value on maxmempool.
member
Activity: 86
Merit: 28
Agree with the above increasing ram memory will improve your syncing blockchain.

And edit dbcache and remove the "#" (to enable it) under your bitcoin.conf to speed up the syncing.
Follow this suggested below.

If you have a lot of RAM (4 or more), you can open the bitcoin.conf file and add the following line:
Code:
dbcache=
where is an amount of memory in MB. If you have 4 GB RAM, I suggest you set it to 1000 so dbcache=1000. If you have 8 GB, I recommend 4000. If you have more RAM, you can set it to be higher, but after around 8000 setting it higher stops being any more helpful.

I was using this configuration but my PC was freezing the mouse and video by lack of memory, and I had no sensitive increase in sync velocity, so I commented but keep it on file.
legendary
Activity: 3472
Merit: 3217
Playbet.io - Crypto Casino and Sportsbook
Agree with the above increasing ram memory will improve your syncing blockchain.

And edit dbcache and remove the "#" (to enable it) under your bitcoin.conf to speed up the syncing.
Follow this suggested below.

If you have a lot of RAM (4 or more), you can open the bitcoin.conf file and add the following line:
Code:
dbcache=
where is an amount of memory in MB. If you have 4 GB RAM, I suggest you set it to 1000 so dbcache=1000. If you have 8 GB, I recommend 4000. If you have more RAM, you can set it to be higher, but after around 8000 setting it higher stops being any more helpful.
hero member
Activity: 1659
Merit: 687
LoyceV on the road. Or couch.
This is really what I want, since I won't upgrade my specs
You may be surprised how cheap a ram upgrade would be. If your PC can handle it, it'll be a large overall improvement, not just for Bitcoin Core. The same if you replace your hdd for a ssd: you'll never want to go back.
member
Activity: 86
Merit: 28
I edited the post changing "fastest" to "faster", sorry the error. This is really what I want, since I won't upgrade my specs now a bit increase in velocity is what i can have.
HCP
legendary
Activity: 2086
Merit: 4363
Most likely it will be "faster"... but bear in mind that is a relative term. If the internal drive is still a HDD and not an SSD, then the gains aren't likely to be very big.

Also, your CPU+RAM is relatively weak... That might be causing RAM Paging, which will be placing further strain on your HDD and memory controllers etc.
legendary
Activity: 1876
Merit: 3139
If I download in my internal HDD with SATA and after copy the entire folder to the external HDD, will work, can be fastest?

It should be a bit faster since USB 2.0 is a huge bottleneck itself. Still, your RAM, CPU and HDD will slow the whole process down. It will take you ages to move the blockchain data to the external drive.
member
Activity: 86
Merit: 28
If I download in my internal HDD with SATA and after copy the entire folder to the external HDD, will work, can be faster?
legendary
Activity: 1876
Merit: 3139
My bandwidth is 25 GB, but I believe that it is not a problem since I can download a 300GB file much more fast (maybe a day) that Bitcoin.

Keep in mind that your node needs to verify each block which is a CPU intensive task. Your disk also has to perform a lot of operations per second. Using an SSD makes a difference. 25 GB of bandwidth doesn't sound right. That's quite low.
hero member
Activity: 1659
Merit: 687
LoyceV on the road. Or couch.
The main problems are USB, HDD and low RAM.

I don't think software configuration matters much as long as your not upgrading.
member
Activity: 86
Merit: 28
I am sync a full node but the download process is painfully slow, in a week I downloaded only ~95GB. I am using a pretty simple configuration:

Code:
txindex=1
#dbcache=2048

datadir=//.bitcoin
wallet=//.bitcoin/wallets/

rpcuser=
rpcpassword=


Is there a optimized configuration of bitcoin.conf focusing in download faster the blockchain?

My PC specs are not high, it is a i3-2375M CPU @ 1.50GHz with 4GB RAM. I also storing the blockchain in a external HDD USB 2.0, not sure if is a bottleneck. My bandwidth is 25 GB, but I believe that it is not a problem since I can download a 300GB file much more fast (maybe a day) that Bitcoin.

I've heard about the parameter -dbcach and tried it increasing to 2048, roughly half of my memory, but seems to have no effect here.
Jump to: