Skip to content

Optimization: utilize 100% resources of a computer in long operations like rescan/initial block download #27939

@GregTonoski

Description

@GregTonoski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions