0.14.0 is using up 100% Disk I/O #9968

issue unk1911 opened this issue on March 10, 2017
  1. unk1911 commented at 1:57 AM on March 10, 2017: none

    <!--- Remove sections that do not apply -->

    This issue tracker is only for technical issues related to bitcoin-core.

    General bitcoin questions and/or support requests and are best directed to the Bitcoin StackExchange.

    For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/.

    Describe the issue

    Bitcoin Core is using up 100% of Disk I/O

    Machine specs:

    • OS: Windows 8
    • CPU: Intel Core i7-3770 CPU @ 3.40Ghz
    • RAM: 16GB
    • Disk size: 1TB
    • Disk Type (HDSDD): HD
  2. paveljanik commented at 6:22 AM on March 10, 2017: contributor

    It can't go over 100%, believe us. Since there are no details, please close this issue.

    On the first run, Bitcoin Core has to sync to the network (initial block download, IBD). This phase is both CPU and disk IO intensive.

  3. laanwj commented at 6:32 AM on March 10, 2017: member

    Yes, this is supposed to be the case during initial sync. Normally it's set up to go as fast as possible so also will ask as much from your system as possible.

    There are a few options to tweak this. For example with -par you can lower the parallelism of validation, if you set that to 1 (thread), it will sync slower but put less load on the system.

    Also in your OS you can lower the I/O and CPU priority of the process.

    After the client catches up it should back down, though, except momentarily when a block comes in.

  4. laanwj commented at 6:39 AM on March 10, 2017: member

    Closing as "expected behavior".

  5. laanwj closed this on Mar 10, 2017

  6. unk1911 commented at 12:47 PM on March 10, 2017: none

    this is not upon initial sync! this is after a full sync after it's been running for a while

  7. unk1911 commented at 12:49 PM on March 10, 2017: none

    ok i can try tweaking those values and see what happens but may just downgrade to 0.13.2, which did not exhibit this behavior

  8. TheBlueMatt commented at 3:29 PM on March 10, 2017: contributor

    Can you share your debug.log for the time period during which this happened? Its possible this is just because some other peer connected to you and is doing IBD from you, or, if its an SPV wallet doing it, you might try setting -peerbloomfilters=false.

  9. laanwj reopened this on Mar 13, 2017

  10. laanwj commented at 9:13 AM on March 13, 2017: member

    Reopening as it's not during initial sync.

    you might try setting -peerbloomfilters=false.
    

    Yes, forgot that that is another cause of dense I/O after the initial sync: SPV wallets requesting a bloom filter scan over the block chain.

  11. unk1911 commented at 11:07 PM on March 14, 2017: none

    i haven't seen this issue for a while now. not sure why. one thing is: i'm not running a full node any more at the time (i have port 8333 blocked by the router firewall for the moment)

  12. unsystemizer commented at 5:18 AM on March 25, 2017: contributor

    100% doesn't mean anything. If you have a disk that maxes out at 1 IO per second, merely using it will make it "100% busy". Possibly identical "issue": https://github.com/bitcoin/bitcoin/issues/9051

  13. laanwj commented at 8:17 AM on March 25, 2017: member

    100% doesn't mean anything. If you have a disk that maxes out at 1 IO per second, merely using it will make it "100% busy".

    Good point. For some laptop harddisks, especially on Windows, that's pretty much reality :)

    The problem will usually be not that it uses 100%, but that it starves other processes of using I/O. In that cast an approach as implemented in #9245 (could use testing, but I think is Linux-only at the moment) would be useful.

  14. laanwj commented at 8:26 AM on March 25, 2017: member

    Closing in favor of #9051 - having one issue open for high I/O during use (despite the OS) seems to be enough.

    i haven't seen this issue for a while now. not sure why. one thing is: i'm not running a full node any more at the time (i have port 8333 blocked by the router firewall for the moment)

    As long as you run Bitcoin Core you're running a full node. Full nodes are those that keep a UTXO set and validate blocks. Blocking port 8333 doesn't have any effect on that, it will just make you unlikely to reach by bootstrapping nodes and SPV nodes won't ever connect to you so it'll indeed reduce I/O.

  15. laanwj closed this on Mar 25, 2017

  16. bitcoin locked this on Sep 8, 2021

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:55 UTC