You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Optimization: utilize 100% resources of a computer in long operations like rescan/initial block download #27939
Please describe the feature you'd like to see added.
As a user, I want Bitcoin Core to utilize maximum resources (CPU, network bandwith, memory) so that intensive operations are perfomed faster (take shorter time), e.g. rescan after importing a key to a wallet opened in a pruned node.
Is your feature related to a problem, if so please describe it.
There is the problem that intensive operations take long while computer resources are not utilized in full:
CPU utilization never exceeds 30%,
bandwith utilization rarely exceed a few MB (approx. 10-20% of capacity, wired),
RAM < 50%,
disk (SSD) rarely exceeds a few %.
The computer specification:
[CPU]
11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz
Base speed: 2.69 GHz
Sockets: 1
Cores: 6
Logical processors: 12
Virtualization: Enabled
L1 cache: 480 KB
L2 cache: 7.5 MB
L3 cache: 12.0 MB
[RAM]
16.0 GB
Speed: 3200 MHz
Slots used: 2 of 2
Form factor: SODIMM
Hardware reserved: 280 MB
[SSD]
NVMe Micron 2300 NVMe 512GB
Capacity: 477 GB
Formatted: 477 GB
System disk: Yes
Page file: Yes
Type: SSD
[Connectivity]
1Gb Ethernet, 600 Mbit Internet bandwith.
[Software]
Windows 11, offical build of Bitcoin Core 25.0 (altough the same concerns the older versions), default configuration (e.g. block storage pruned to 2GB).
Describe the solution you'd like
No response
Describe any alternatives you've considered
No response
Please leave any additional context
There is 100% CPU utilization when Prime95 stress test is run on the machine.
No, I don't think that this request is a duplicate. Let's analyse it separately from the other changes which seem not to increase computer resources utilization. They would decrease demand for (if implement faster algorithms) while not increase/maximize utilization of the computer resources (as far as I understand from the descriptions).
They would decrease demand for resources while not increasing/maximizng utilization of them if I understand correctly.
It seems a bit premature to claim they don't improve resource utilization and open an issue for this. If they don't you can leave a review comment or open a specific issue when the work is done.
No, I don't think that this request is a duplicate. Let's analyse it separately from the other changes which seem not to increase computer resources utilization. They would decrease demand for (if implement faster algorithms) while not increase/maximize utilization of the computer resources (as far as I understand from the descriptions).
I'm actually doing both for the #21267 working path. Check #26966 for a resource optimization work.
And I agree with Marko on opening specific issues for each process. This way, we can address each specific case, have focused discussions, and provide updates on it independently from other improvements.
Closing for now, per discussion. Feel free to open a new specific issue about a specific shortcoming where a specific improvement can be made, making sure to first check existing open issues.
Activity
maflcko commentedon Jun 23, 2023
Seems to be a duplicate of #23727, #11756, and #21267, etc, no?
GregTonoski commentedon Jun 23, 2023
No, I don't think that this request is a duplicate. Let's analyse it separately from the other changes which seem not to increase computer resources utilization. They would decrease demand for (if implement faster algorithms) while not increase/maximize utilization of the computer resources (as far as I understand from the descriptions).
maflcko commentedon Jun 23, 2023
It seems a bit premature to claim they don't improve resource utilization and open an issue for this. If they don't you can leave a review comment or open a specific issue when the work is done.
furszy commentedon Jun 23, 2023
I'm actually doing both for the #21267 working path. Check #26966 for a resource optimization work.
And I agree with Marko on opening specific issues for each process. This way, we can address each specific case, have focused discussions, and provide updates on it independently from other improvements.
maflcko commentedon Jun 23, 2023
Closing for now, per discussion. Feel free to open a new specific issue about a specific shortcoming where a specific improvement can be made, making sure to first check existing open issues.