Bitcoin Forum
May 12, 2024, 12:46:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core rescanning use only 1 CPU Core  (Read 161 times)
Kulahin (OP)
Newbie
*
Offline Offline

Activity: 68
Merit: 0


View Profile
September 30, 2020, 05:48:33 PM
 #1

When i run bitcoin-qt.exe with -zapwallettxes parameter, it rescan my wallet, but using only 1 of 20 core ~6.6% of maximum, and only 60-90 MB/sec reading on M2SSD drive. How can i add more cores for running QT ?

https://i.imgur.com/zNQMgJ3.png
bitcoin.conf = dbcache = 20000 par = 15 txindex = 1 addresstype = legacy proxy=127.0.0.1:9050 listen=1 bind=127.0.0.1 onlynet=onion datadir=E:\Roaming\Bitcoin blocksdir=E:\Roaming\Bitcoin
1715518007
Hero Member
*
Offline Offline

Posts: 1715518007

View Profile Personal Message (Offline)

Ignore
1715518007
Reply with quote  #2

1715518007
Report to moderator
1715518007
Hero Member
*
Offline Offline

Posts: 1715518007

View Profile Personal Message (Offline)

Ignore
1715518007
Reply with quote  #2

1715518007
Report to moderator
1715518007
Hero Member
*
Offline Offline

Posts: 1715518007

View Profile Personal Message (Offline)

Ignore
1715518007
Reply with quote  #2

1715518007
Report to moderator
Even in the event that an attacker gains more than 50% of the network's computational power, only transactions sent by the attacker could be reversed or double-spent. The network would not be destroyed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715518007
Hero Member
*
Offline Offline

Posts: 1715518007

View Profile Personal Message (Offline)

Ignore
1715518007
Reply with quote  #2

1715518007
Report to moderator
1715518007
Hero Member
*
Offline Offline

Posts: 1715518007

View Profile Personal Message (Offline)

Ignore
1715518007
Reply with quote  #2

1715518007
Report to moderator
DaveF
Legendary
*
Offline Offline

Activity: 3472
Merit: 6271


Crypto Swap Exchange


View Profile WWW
September 30, 2020, 07:43:26 PM
Merited by nc50lc (1)
 #2

As far as I know and have seen it's locked to one core. Some people have hacked together ways around it but you would have to dig. I had a similar issue a year or so ago and in the end just said screw it and let it run for hours till it finished.

Others might be able to give you better advice, but I would just let it run. If you stop it and start again with other parameters and they don't work you just lost all the time it was running now.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
khaled0111
Legendary
*
Offline Offline

Activity: 2520
Merit: 2871


Top Crypto Casino


View Profile WWW
October 03, 2020, 07:19:55 PM
 #3

...
If he finds a way to make bitcoin-qt uses more cores, will this really speed up the rescanning process? I doubt it will!
Setting the dbcache value properly and using an ssd would be enough.
From the configuration shared in OP, the dbcache is set to 20000 which is way too much, in my opinion.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5599


Self-proclaimed Genius


View Profile
October 04, 2020, 07:56:25 AM
Merited by ABCbits (1)
 #4

From the configuration shared in OP, the dbcache is set to 20000 which is way too much, in my opinion.
If he has 32GB of RAM and more, there's no harm on using a high cache size.
The problem in the config is par=15 which limits his system on using 15cores while the default "0" will use all available cores if needed.

For the issue, OP might had just started the -reindex when he posted this thread.
At which point that there're no signature validation required for earlier blocks thus wont require a lot of CPU usage.
If not, there must be a bottleneck somewhere.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Kulahin (OP)
Newbie
*
Offline Offline

Activity: 68
Merit: 0


View Profile
October 04, 2020, 09:01:43 AM
 #5

PC has 128gb ram
i try to change -par and -dbcache parameters, nothing changes, bitcoin-qt always use 1 of 20 core.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!