[BUG] Full node needs a large amount of IO for what it does
See original GitHub issueDescribe the bug A clear and concise description of what the bug is.
Running a full node puts a relatively high random IO load on the disk with the .chia directory (on the order of hundreds of KiB/s) which is on an SSD in my case.
Having it on the HDD I’m plotting on actually causes the blockchain to fail syncing because it’s stuck waiting for IO.
My reasonably well informed guess is that it’s caused by blockchain db synchronisation.
To Reproduce Steps to reproduce the behavior:
- Run a full Node
- Run
iostat 1
- Observe burst of IO to main disk every few seconds
Expected behavior A clear and concise description of what you expected to happen.
A full node should have to sync to disk at most every few minutes; a loss of even a few minutes of blockchain state is negligible.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Linux
- OS Version/Flavor: NixOS 21.05
- CPU: Intel Celeron J4105
Additional context Add any other context about the problem here.
Running inside a Docker container with the chia dir in a Docker volume backed by ZFS.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
you get a block every 19 seconds and those have to be written out to both the blockchain db and the wallet db so that might now be “right.” That said, we’d love to squeeze some more performance out of here.
This does seem like a lot, considering the DB is less than 100MB. There might be a bug somewhere