Improve loadtxoutset performance #36603

Open
ajtowns wants to merge 12 commits from 202610-loadtxoutset-speedy into master AGit
ajtowns commented 2026-10-22 10:25:07 +00:00 (Migrated from github.com)

Significantly improves loadtxoutset performance via a number of changes:

  • parallel threads for decoding, hashing, serializing and writing to leveldb
  • no fsync() gating writes
  • no redundant loading into CoinsView

Also adds a subcommand to bitcoin-util for getting a snapshot's hash_serialized_3, muhash, coin count and total amount values without importing to leveldb first.

On my systems, performance ends up bottlenecked by leveldb CPU usage.

Significantly improves loadtxoutset performance via a number of changes: * parallel threads for decoding, hashing, serializing and writing to leveldb * no fsync() gating writes * no redundant loading into CoinsView Also adds a subcommand to bitcoin-util for getting a snapshot's hash_serialized_3, muhash, coin count and total amount values without importing to leveldb first. On my systems, performance ends up bottlenecked by leveldb CPU usage.
DrahtBot commented 2026-10-22 10:25:16 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
Concept ACK fjahr

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #37094 (validation: validate assumeutxo snapshots with a single chainstate by fjahr)
  • #37038 (coins: store spent dbcache entries compactly by LarryRuane)
  • #36990 (test: replace hard-coded RPC error codes by l0rinc)
  • #36946 (scripted-diff: [test] Add util/check.h includes for assertions by maflcko)
  • #36858 (refactor: break the blockstorage/validation circular dependency by pzafonte)
  • #36778 (AssumeUTXO: replace loadtxoutset RPC with a startup arg by l0rinc)
  • #36629 (Add output script index and corresponding script history RPC by andrewtoth)
  • #36326 (kernel: Use typed errors for fatal and flush error notifications by arejula27)
  • #36167 (build: Enable -Wunused by fanquake)
  • #36000 (validation: prefetch blocks while connecting by l0rinc)
  • #35788 (bitcoin-util: Add evalscript subcommand by ajtowns)
  • #34864 (coins: tighten cache entry state invariants by l0rinc)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

LLM Linter (✨ experimental)

Possible places where named args for integral literals may be used (e.g. func(x, /*named_arg=*/0) in C++, and func(x, named_arg=0) in Python):

  • src/test/validation_chainstatemanager_tests.cpp: Coin coin{CTxOut{1, CScript{} << OP_TRUE}, 1, false}
  • src/test/validation_chainstatemanager_tests.cpp: cache.AddCoin(item.outpoint, Coin{item.coin}, false)
  • src/test/validation_chainstatemanager_tests.cpp: Coin large_coin{CTxOut{1, large_script}, 1, false}

2026-11-27 08:45:40

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36603 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36603.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36603#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | Concept ACK | [fjahr](https://github.com/bitcoin/bitcoin/pull/36603#issuecomment-6963481384) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#37094](https://github.com/bitcoin/bitcoin/pull/37094) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/37094.svg"></sub> (validation: validate assumeutxo snapshots with a single chainstate by fjahr) * [#37038](https://github.com/bitcoin/bitcoin/pull/37038) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/37038.svg"></sub> (coins: store spent dbcache entries compactly by LarryRuane) * [#36990](https://github.com/bitcoin/bitcoin/pull/36990) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36990.svg"></sub> (test: replace hard-coded RPC error codes by l0rinc) * [#36946](https://github.com/bitcoin/bitcoin/pull/36946) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36946.svg"></sub> (scripted-diff: [test] Add util/check.h includes for assertions by maflcko) * [#36858](https://github.com/bitcoin/bitcoin/pull/36858) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36858.svg"></sub> (refactor: break the blockstorage/validation circular dependency by pzafonte) * [#36778](https://github.com/bitcoin/bitcoin/pull/36778) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36778.svg"></sub> (AssumeUTXO: replace `loadtxoutset` RPC with a startup arg by l0rinc) * [#36629](https://github.com/bitcoin/bitcoin/pull/36629) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36629.svg"></sub> (Add output script index and corresponding script history RPC by andrewtoth) * [#36326](https://github.com/bitcoin/bitcoin/pull/36326) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36326.svg"></sub> (kernel: Use typed errors for fatal and flush error notifications by arejula27) * [#36167](https://github.com/bitcoin/bitcoin/pull/36167) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36167.svg"></sub> (build: Enable `-Wunused` by fanquake) * [#36000](https://github.com/bitcoin/bitcoin/pull/36000) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36000.svg"></sub> (validation: prefetch blocks while connecting by l0rinc) * [#35788](https://github.com/bitcoin/bitcoin/pull/35788) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35788.svg"></sub> (bitcoin-util: Add evalscript subcommand by ajtowns) * [#34864](https://github.com/bitcoin/bitcoin/pull/34864) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/34864.svg"></sub> (coins: tighten cache entry state invariants by l0rinc) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3--> ### LLM Linter (✨ experimental) Possible places where named args for integral literals may be used (e.g. `func(x, /*named_arg=*/0)` in C++, and `func(x, named_arg=0)` in Python): - `src/test/validation_chainstatemanager_tests.cpp`: `Coin coin{CTxOut{1, CScript{} << OP_TRUE}, 1, false}` - `src/test/validation_chainstatemanager_tests.cpp`: `cache.AddCoin(item.outpoint, Coin{item.coin}, false)` - `src/test/validation_chainstatemanager_tests.cpp`: `Coin large_coin{CTxOut{1, large_script}, 1, false}` <sup>2026-11-27 08:45:40</sup>
ajtowns commented 2026-10-22 10:30:33 +00:00 (Migrated from github.com)

The performance change I see on a Ryzen 9 3900X system with RAID HDD storage is ~11minutes with master to ~1m35s with this pr for a load, consisting of ~1m15s of CPU time followed by ~20s of disk flushing; with SSD and a slightly faster CPU, total time is reduced from ~5m30s to ~50s (no significant flush delay after the CPU work is completed here). These numbers are with the block 965000 utxo set.

The performance change I see on a Ryzen 9 3900X system with RAID HDD storage is ~11minutes with master to ~1m35s with this pr for a load, consisting of ~1m15s of CPU time followed by ~20s of disk flushing; with SSD and a slightly faster CPU, total time is reduced from ~5m30s to ~50s (no significant flush delay after the CPU work is completed here). These numbers are with the block 965000 utxo set.
First-time contributor

9 additional verified findings in the Review report.

Earlier concerns neither republished nor resolved: 2 major findings · 1 minor finding · 3 suggestions. See the Run archive linked from the Review report for their assessments.

🔴 Major · A database write error can hang loadtxoutset indefinitely

During a large import, a local LevelDB write failure can leave the reader blocked in serialize_queue.Push(), preventing loadtxoutset from returning even after an interrupt.

Location: src/node/utxo_snapshot.cpp:162 (head).

🔴 Major · Non-seekable snapshot input terminates the process

Piped txoutsetsummary input aborts; loadtxoutset would also terminate bitcoind for a FIFO, although no current caller supplying one was found.

Location: src/utxo_snapshot.h:228 (head).

🟠 Minor · Partial snapshot-worker startup can terminate bitcoind

If thread-resource exhaustion lets one worker start but prevents a later one from starting, loadtxoutset terminates bitcoind rather than reporting an RPC error.

Location: src/node/utxo_snapshot.cpp:252 (head).

🟠 Minor · txoutsetsummary leaves Windows stdin in text mode

With the Windows CRT's default text-mode stdin, redirected binary snapshots can be translated or truncated; this platform-specific failure is inferred from source, not an observed Windows run.

Location: src/bitcoin-util.cpp:255 (head).

🟠 Minor · Structured fuzz snapshots fail the new txid-order requirement

The structured branch still writes coinbases in height order, so it no longer provides the txid-sorted input needed to cover successful activation and the intended late invalid-record rejection.

Location: src/utxo_snapshot.h:150 (head).

🟠 Minor · The existing-directory refusal deletes the directory it refuses

Retrying after an interrupted load deletes the leftover chainstate_snapshot directory, yet returns instructions to delete it manually and requires another RPC attempt.

Location: src/node/utxo_snapshot.cpp:300 (head).

Review coverage was incomplete.


Reviewed: 1b1f929c77b1 · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:806938d40e279b6d701b2e78128bb1a09b55193a0b697245a1dce6241d3081c1:3607c760b63c01fb7f1f349adfc3fd0614b148a7df02e42f2f0edc2d448925a1 --> <!-- ralph-base:dd96035e031edf56fcf66a09d443f257a346af1f --> <!-- ralph-head:1b1f929c77b1cfd62e14f9efa730bd4b727cb659 --> <!-- ralph-case:c78cf5181e96c5e96033d9123fb846ce34025bdbd5b0922fd5326d7fde368198 --> [9 additional verified findings in the Review report](<https://review.fish.foo/report/36603-1b1f929c77b1cfd62e14f9efa730bd4b727cb659-3238-13.html>). Earlier concerns neither republished nor resolved: 2 major findings · 1 minor finding · 3 suggestions. See the Run archive linked from the Review report for their assessments. **🔴 Major · A database write error can hang `loadtxoutset` indefinitely** During a large import, a local LevelDB write failure can leave the reader blocked in `serialize_queue.Push()`, preventing `loadtxoutset` from returning even after an interrupt. Location: [`src/node/utxo_snapshot.cpp:162`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/1b1f929c77b1cfd62e14f9efa730bd4b727cb659/src/node/utxo_snapshot.cpp#L162>) (head). **🔴 Major · Non-seekable snapshot input terminates the process** Piped `txoutsetsummary` input aborts; `loadtxoutset` would also terminate `bitcoind` for a FIFO, although no current caller supplying one was found. Location: [`src/utxo_snapshot.h:228`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/1b1f929c77b1cfd62e14f9efa730bd4b727cb659/src/utxo_snapshot.h#L228>) (head). **🟠 Minor · Partial snapshot-worker startup can terminate `bitcoind`** If thread-resource exhaustion lets one worker start but prevents a later one from starting, `loadtxoutset` terminates `bitcoind` rather than reporting an RPC error. Location: [`src/node/utxo_snapshot.cpp:252`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/1b1f929c77b1cfd62e14f9efa730bd4b727cb659/src/node/utxo_snapshot.cpp#L252>) (head). **🟠 Minor · `txoutsetsummary` leaves Windows `stdin` in text mode** With the Windows CRT's default text-mode `stdin`, redirected binary snapshots can be translated or truncated; this platform-specific failure is inferred from source, not an observed Windows run. Location: [`src/bitcoin-util.cpp:255`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/1b1f929c77b1cfd62e14f9efa730bd4b727cb659/src/bitcoin-util.cpp#L255>) (head). **🟠 Minor · Structured fuzz snapshots fail the new txid-order requirement** The structured branch still writes coinbases in height order, so it no longer provides the txid-sorted input needed to cover successful activation and the intended late invalid-record rejection. Location: [`src/utxo_snapshot.h:150`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/1b1f929c77b1cfd62e14f9efa730bd4b727cb659/src/utxo_snapshot.h#L150>) (head). **🟠 Minor · The existing-directory refusal deletes the directory it refuses** Retrying after an interrupted load deletes the leftover `chainstate_snapshot` directory, yet returns instructions to delete it manually and requires another RPC attempt. Location: [`src/node/utxo_snapshot.cpp:300`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/1b1f929c77b1cfd62e14f9efa730bd4b727cb659/src/node/utxo_snapshot.cpp#L300>) (head). Review coverage was incomplete. <!-- Review tier: sensitive --> --- Reviewed: [`1b1f929c77b1`](<https://git.fish.foo/bitcoin/bitcoin/commit/1b1f929c77b1cfd62e14f9efa730bd4b727cb659>) · [Review report](<https://review.fish.foo/report/36603-1b1f929c77b1cfd62e14f9efa730bd4b727cb659-3238-13.html>) · [Previous reports](<https://review.fish.foo/traces/36603/>) [permalink](<https://review.fish.foo/report/36603-1b1f929c77b1cfd62e14f9efa730bd4b727cb659-3238-13.html>)
DrahtBot commented 2026-10-22 11:37:13 +00:00 (Migrated from github.com)

🚧 At least one of the CI tasks failed.
Task tidy: https://github.com/bitcoin/bitcoin/actions/runs/39762952091/job/119771350806
LLM reason (✨ experimental): CI failed because clang-tidy flagged a mismatched argument comment (moveout instead of moveto) in test/coinsviewoverlay_tests.cpp; warnings are treated as errors.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

<!--85328a0da195eb286784d51f73fa0af9--> 🚧 At least one of the CI tasks failed. <sub>Task `tidy`: https://github.com/bitcoin/bitcoin/actions/runs/39762952091/job/119771350806</sub> <sub>LLM reason (✨ experimental): CI failed because clang-tidy flagged a mismatched argument comment (`moveout` instead of `moveto`) in `test/coinsviewoverlay_tests.cpp`; warnings are treated as errors.</sub> <details><summary>Hints</summary> Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example: * Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch. * A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test. * An intermittent issue. Leave a comment here, if you need help tracking down a confusing failure. </details>
l0rinc commented 2026-10-23 07:03:28 +00:00 (Migrated from github.com)

Can you please give us more context? Why do you consider an 11-minute load too slow? Is there a reason to think this is what's preventing people from using it - enough to justify yet more complexity in the most "load-bearing" parts of the code? Or is this just a demo to explore the possibilities?

Over the past years we've discussed how relying on someone else's UTXO set makes us uncomfortable (see https://github.com/bitcoin/bitcoin/issues/32377 and https://github.com/bitcoin/bitcoin/pull/36598).
This change adds even more AssumeUTXO-specific complexity, which is exactly why we're considering removing it completely. I wouldn't object to adding it back later through IPC and the Kernel if there's still demand and doesn't add complexity - but there's no indication of that, especially since https://github.com/bitcoin/bitcoin/issues/36476 (possibly combined with SwiftSync) would already speed up actual UTXO set construction by an order of magnitude on resource-constrained nodes. Quickly loading someone else's UTXO set could still be a useful academic pursuit, but many of us are not comfortable polluting the code with multiple chainstates, which make consensus-critical paths harder to reason about.

Can you please give us more context? Why do you consider an 11-minute load too slow? Is there a reason to think this is what's preventing people from using it - enough to justify yet more complexity in the most "load-bearing" parts of the code? Or is this just a demo to explore the possibilities? Over the past years we've discussed how relying on someone else's UTXO set makes us uncomfortable (see https://github.com/bitcoin/bitcoin/issues/32377 and https://github.com/bitcoin/bitcoin/pull/36598). This change adds *even* more AssumeUTXO-specific complexity, which is exactly why we're considering removing it completely. I wouldn't object to adding it back later through IPC and the Kernel if there's still demand and doesn't add complexity - but there's no indication of that, especially since https://github.com/bitcoin/bitcoin/issues/36476 (possibly combined with SwiftSync) would already speed up actual UTXO set construction by an order of magnitude on resource-constrained nodes. Quickly loading someone else's UTXO set could still be a useful academic pursuit, but many of us are not comfortable polluting the code with multiple chainstates, which make consensus-critical paths harder to reason about.
ajtowns commented 2026-10-23 11:35:03 +00:00 (Migrated from github.com)

Can you please give us more context?

In bips#2137 Sjors suggested splitting up the snapshot by coin to improve performance, which didn't seem sensible to me.

Why do you consider an 11-minute load too slow?

I don't consider it too slow; though it's possible it could be on slower systems than the ones I test on. But the reason it is that slow is because the database gets compacted multiple times, and it also seems to use excessive amounts of memory while loading, and there isn't really a good reason to do that. The difference between checking whether better performance is possible and actually making it available to users isn't that large.

This change adds even more AssumeUTXO-specific complexity, which is exactly why we're considering removing it completely.

As I've said on the list, I think the assumeutxo approach is a much better approach to resolving the "fast startup of a new node" challenge than trying to get a few extra percent out of IBD performance (which introduces its own large sets of complexities). If it's been decided that that's not one of this project's goals, that's fine I guess, but I haven't seen a project statement along those lines.

Making assumeutxo a reasonable default, rather than something for experts, does require significantly more complexity (ie, the various stuff for the BIP above, cf #35054). Likewise if we want to do FEC encoding so pruned nodes can help share utxo snapshots or support IBD.

> Can you please give us more context? In [bips#2137](https://github.com/bitcoin/bips/pull/2137#issuecomment-6230472208) Sjors suggested splitting up the snapshot by coin to improve performance, which didn't seem sensible to me. > Why do you consider an 11-minute load too slow? I don't consider it too slow; though it's possible it could be on slower systems than the ones I test on. But the reason it is that slow is because the database gets compacted multiple times, and it also seems to use excessive amounts of memory while loading, and there isn't really a good reason to do that. The difference between checking whether better performance is possible and actually making it available to users isn't that large. > This change adds even more AssumeUTXO-specific complexity, which is exactly why we're considering removing it completely. As [I've said on the list](https://gnusha.org/pi/bitcoindev/[email protected]/T/#md0417be9181751fbb2c600c0337c2917c43018dd), I think the assumeutxo approach is a much better approach to resolving the "fast startup of a new node" challenge than trying to get a few extra percent out of IBD performance (which introduces its own large sets of complexities). If it's been decided that that's not one of this project's goals, that's fine I guess, but I haven't seen a project statement along those lines. Making assumeutxo a reasonable default, rather than something for experts, does require significantly more complexity (ie, the various stuff for the BIP above, cf #35054). Likewise if we want to do FEC encoding so pruned nodes can help share utxo snapshots or support IBD.
DrahtBot commented 2026-10-25 05:08:09 +00:00 (Migrated from github.com)

🚧 At least one of the CI tasks failed.
Task iwyu: https://github.com/bitcoin/bitcoin/actions/runs/40163823354/job/121080686219
LLM reason (✨ experimental): CI failed because the IWYU check modified includes in src/node/utxo_snapshot.cpp, leaving a diff that caused the check to exit with code 1.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

<!--85328a0da195eb286784d51f73fa0af9--> 🚧 At least one of the CI tasks failed. <sub>Task `iwyu`: https://github.com/bitcoin/bitcoin/actions/runs/40163823354/job/121080686219</sub> <sub>LLM reason (✨ experimental): CI failed because the IWYU check modified includes in `src/node/utxo_snapshot.cpp`, leaving a diff that caused the check to exit with code 1.</sub> <details><summary>Hints</summary> Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example: * Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch. * A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test. * An intermittent issue. Leave a comment here, if you need help tracking down a confusing failure. </details>
DrahtBot commented 2026-10-26 18:37:40 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
DrahtBot commented 2026-11-04 20:32:02 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
fjahr commented 2026-11-17 22:59:22 +00:00 (Migrated from github.com)

Concept ACK

It would be great to get some testing from the people that have reported these extremely long load times. ~10 minutes is about the worst I have seen locally so I will try to ping the people I remember who reported it.

Concept ACK It would be great to get some testing from the people that have reported these extremely long load times. ~10 minutes is about the worst I have seen locally so I will try to ping the people I remember who reported it.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36603
No description provided.