and a unix load of 6.41 even though I only have a Quad Core CPU. It renders my machine fully unusable. I set it's nice value to 10 for now.
-
Mellnik commented at 8:31 PM on June 30, 2015: none
-
laanwj commented at 6:19 AM on July 1, 2015: member
Which version? What arguments / bitcoin.conf settings? You're sure you don't have
-gen=1enabled?You an try e.g.
-par=1to reduce the number of script verification threads. By default it uses as many threads as there are cores available minus one, but it may be mis-estimating this.Can you find a message like this in your debug.log:
2015-06-29 09:35:16 Using 5 threads for script verification - laanwj added the label Validation on Jul 1, 2015
-
Mellnik commented at 12:07 PM on July 1, 2015: none
0.10.2 x64
Config:
disablewallet=1 maxconnections=1000 timeout=10000 allowreceivebyip=1 bind=213.163.74.163:8333 bind=[2a00:1630:2:1901::b7c]:8333 rpcuser=bitcoinrpc rpcpassword=xyz addnode=node.bitcoin.xxx addnode=x.jine.se addnode=bitcoin.coinprism.com addnode=btcnode1.evolyn.net addnode=faucet.bitcoin.st addnode=messier.bzfx.netscreen ./bitcoind -server
By now I rsynced the blockchain from my older node. CPU usage now at 1.8% after all blocks are present.
2015-06-30 21:05:40 Using 8 threads for script verificationProbably 8 because of HT.
-
laanwj commented at 3:34 PM on July 1, 2015: member
So it looks like
boost::thread::hardware_concurrency(), which is used to determine the default concurrency, also counts 'fake' HT cores. It is a bit disappointing but I'm not sure what underlying APIs for querying this that operating systems expose in any case.There is also boost::thread::physical_concurrency() maybe it works better, as it claims not to count 'virtual cores'.
- laanwj referenced this in commit 401ee9a978 on Jul 1, 2015
- laanwj referenced this in commit 47162673c7 on Jul 1, 2015
- luke-jr referenced this in commit fabfc4d39e on Jul 2, 2015
- sipa closed this on Jul 9, 2015
- luke-jr referenced this in commit 5c166950eb on Jan 10, 2016
- eklitzke referenced this in commit 6c071326df on Mar 6, 2018
- eklitzke referenced this in commit cb89fcaa83 on Mar 6, 2018
- eklitzke referenced this in commit a2ed276b52 on Mar 19, 2018
- eklitzke referenced this in commit ce91d3814f on Mar 26, 2018
- eklitzke referenced this in commit 0d5541efc1 on Mar 26, 2018
- eklitzke referenced this in commit 8fe7e956a7 on Mar 26, 2018
- eklitzke referenced this in commit d54874d795 on Mar 26, 2018
- laanwj referenced this in commit becd8dd2ec on Apr 7, 2018
- stamhe referenced this in commit bccc2c52fe on Jun 27, 2018
- HashUnlimited referenced this in commit f461627fc7 on Aug 15, 2018
- lionello referenced this in commit c4575ba159 on Nov 7, 2018
- joemphilips referenced this in commit 14f77e5ff2 on Nov 9, 2018
- lateminer referenced this in commit 22c5026abd on Jan 22, 2019
- random-zebra referenced this in commit d704fd9fb6 on May 27, 2020
- random-zebra referenced this in commit 417cff617b on May 27, 2020
- random-zebra referenced this in commit d4476131bd on May 28, 2020
- PastaPastaPasta referenced this in commit 1f46de1973 on Dec 16, 2020
- PastaPastaPasta referenced this in commit 02edd7066e on Dec 18, 2020
- furszy referenced this in commit ed9c67a2d2 on Feb 17, 2021
- furszy referenced this in commit 743804e3fd on Feb 24, 2021
- MarcoFalke locked this on Sep 8, 2021