<p>Updates to the UTXO are write cached, you will see pauses when this is flushed to disk periodically.</p>

CC BY-SA 4.0
2021-08-28T22:54:55.697Z
Thanks, but in most cases, reindexing is slow and only occasionally accelerates to good speeds and lasts for hours. This is not pauses.
javierMarquez
CC BY-SA 4.0
2021-08-29T17:46:30.363Z
Due to the design of the UTXO cache in Bitcoin Core, you generally get significantly reduced performance just after flushing, as it involves wiping the cache. Depending on the size of your dbcache and the speed of your disk, this effect can be pretty extreme.
Pieter Wuille
CC BY-SA 4.0
2021-08-28T22:06:27.593Z
2021-08-28T22:06:27.593Z
Claris
<p>What determines the speed of the reindexing-chainstate in the different times?  I spend a few days (2 week) for reindexing locally on my new HDD, and I noticed one thing: the speed of reindexing is not constant and sometimes it takes 1 second to execute 10 blocks, blocks flyes through your screen, your CPU is 100% loaded , but sometimes it takes 30 seconds for one block and your CPU take 10-20%. It can happen the same way in earlier or later blocks, it doesn't matter. I know reindexing to exeсute locally and this is not the fault of a weak Internet connection. The blocks are in most cases the same size. Why the reindexing speed is not constant?</p>

<blockchain><bitcoind><cpu><reindex>
Why is the rate of reindexing chainstate not constant?
javierMarquez
# Why is the rate of reindexing chainstate not constant?

(Asked by: username_0 on 2021-08-28)

What determines the speed of the reindexing-chainstate in the different times? I spend a few days (2 week) for reindexing locally on my new HDD, and I noticed one thing: the speed of reindexing is not constant and sometimes it takes 1 second to execute 10 blocks, blocks flyes through your screen, your CPU is 100% loaded , but sometimes it takes 30 seconds for one block and your CPU take 10-20%. It can happen the same way in earlier or later blocks, it doesn't matter. I know reindexing to exeсute locally and this is not the fault of a weak Internet connection. The blocks are in most cases the same size. Why the reindexing speed is not constant?

**Tags:** blockchain, bitcoind, cpu, reindex


---

## 1 answers

### Answer by username_1 on 2021-08-28. Score: 1 | Accepted answer

Updates to the UTXO are write cached, you will see pauses when this is flushed to disk periodically.

> **Comments:**
> **username_0**: Thanks, but in most cases, reindexing is slow and only occasionally accelerates to good speeds and lasts for hours. This is not pauses.  
> **username_2**: Due to the design of the UTXO cache in Bitcoin Core, you generally get significantly reduced performance just after flushing, as it involves wiping the cache. Depending on the size of your dbcache and the speed of your disk, this effect can be pretty extreme.  

---

