Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: buffett on July 17, 2014, 07:45:32 PM



Title: How to make Bitcoind to run with more than 1 CPU
Post by: buffett on July 17, 2014, 07:45:32 PM
I have 8 core server, this server is dedicated for hosting bitcoind. So I want to utilize all CPUs for bitcoind to make it faster and more responsive. We host ~20000 addresses and bitcoind is getting slower and slower everyday. For now it takes 2-5 seconds for each transaction. From log I got 2 transactions executed for more than 60s.

Thank you.


Title: Re: How to make Bitcoind to run with more than 1 CPU
Post by: grue on July 17, 2014, 07:57:03 PM
It's not a easy task to make a program multi-threaded. The only computationally intensive thing that is multi-threaded right now is script verification for blocks.


Title: Re: How to make Bitcoind to run with more than 1 CPU
Post by: buffett on July 18, 2014, 01:17:18 AM
Do you have any solution for handling large wallet with bitcoind? The only solution I can think is by separating addresses into few bitcoind server. let say 10k addresses per server. But this solution is not elegant and requires a lot of work.

Thank you.


Title: Re: How to make Bitcoind to run with more than 1 CPU
Post by: grue on July 18, 2014, 05:23:17 PM
is there a reason why you need to keep all those addresses? why can't you prune (or at least move to another wallet) addresses that haven't been used for 60 days?


Title: Re: How to make Bitcoind to run with more than 1 CPU
Post by: buffett on July 18, 2014, 06:22:56 PM
I have an exchange pretty much like btc-e. each member has their own btc address to make deposit.