marcofleon
commented at 4:56 PM on September 18, 2025:
contributor
The mini_miner, txdownloadman, txdownloadman_impl, and tx_pool_standard fuzz targets are all slow-running targets. Fix this by reducing the iteration count in the LIMITED_WHILE loops.
This should help decrease the run time of the fuzz CI jobs. See #33425.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
#33425 (ci: run native_fuzz_with_msan by fanquake)
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-->
marcofleon
commented at 5:01 PM on September 18, 2025:
contributor
There should be no loss of coverage when running on the inputs in qa-assets.
For tx_pool_standard I saw a speed up from 1068 to 720 seconds with this change. I think the loop in initialize_tx_pool is still slowing it down? I would need to look into it some more, but I left that as is for now.
fuzz: Reduce iterations in slow targets6a33970fef
marcofleon force-pushed on Sep 19, 2025
marcofleon
commented at 2:32 PM on September 19, 2025:
contributor
I ran the MSan fuzz CI script on my machine with these changes and for single run through the qa-assets inputs:
enirox001
commented at 6:00 PM on September 19, 2025:
contributor
Concept ACK6a33970
While working on #32870, I considered reducing iterations to speed up fuzzing, but wasn’t sure it was feasible since that wasn’t the issue’s intended goal. However, I noticed that reducing iterations did speed up the MiniMiner fuzz test.
This seems like a good approach to solving the issue, pending the reimplementation of MiniMiner.
brunoerg approved
brunoerg
commented at 6:34 PM on September 19, 2025:
contributor
ACK6a33970fef1b7b4d634f28277607b882958c95ac
I verified the perfomance gain. e.g. mini_miner target is now 10x faster on my machine.
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-02 21:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me