One core in CPU usage rate remains at 100% for a long time, causing serious delays in new blocks and forks #27623

issue huzhenyuan opened this issue on May 11, 2023
  1. huzhenyuan commented at 7:49 AM on May 11, 2023: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    We are the technical team from AntPool. We found that when the Bitcoin wallet node processes the process message recently, the single-threaded CPU 100% causes block parsing delays, resulting in serious technical failures. Our version number is the latest version 24.0.1。 Not only antpool, we also asked other mining pools and found this problem. This will lead to increasingly serious orphan blocks and forks.

    Expected behaviour

    Run ProcessMessage with multiple threads to reduce the performance problem of CPU single-thread ProcessMessage. Or are there other configurations that can alleviate this problem?

    Steps to reproduce

    Run the wallet, synchronize to the latest height, and then observe the CPU usage. You can see that there is a single-core CPU usage that remains at 100% for a long time

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Pre-built binaries

    What version of Bitcoin Core are you using?

    v24.0.1

    Operating system and version

    Ubuntu 22.04 LTC

    Machine specifications

    No response

  2. willcl-ark commented at 8:38 AM on May 11, 2023: member

    Hello @huzhenyuan, thank you for the report.

    v24.1, with mitigations for the issues you are seeing, should be available shortly.

  3. FelixWeis commented at 9:24 AM on May 11, 2023: contributor

    thanks @willcl-ark, can you edit you comment and point to the relevant mitigation PR/issues.

  4. bitcoin deleted a comment on May 11, 2023
  5. fanquake commented at 5:39 PM on May 11, 2023: member

    @huzhenyuan Thanks for reporting. As mentioned, Bitcoin Core version 24.1 will be available shortly, and contains some mitigations for the issues you are seeing. I'm going to close this issue for now, as similar/related-to #27586.

  6. fanquake closed this on May 11, 2023

  7. maflcko cross-referenced this on May 11, 2023 from issue CPU DoS on mainnet in debug mode by ajtowns
  8. TheBlueMatt commented at 8:53 PM on May 11, 2023: contributor

    Are you not running any code to submit blocks across multiple bitcoin daemons around the globe quickly such as redundant nodes using the old FIBRE patchset?

  9. benthecarman cross-referenced this on May 12, 2023 from issue May topics by justinmoon
  10. fanquake commented at 3:44 PM on May 18, 2023: member
  11. bitcoin locked this on May 17, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:53 UTC