This should be less controversial than commit 151a2b189c3561dda2bb7de809306c1cfeb40e23. The overall size of the qa-assets repo is reduced further from 1.9GB to 1.6GB. Also, the runtime to iterate on the resulting folder is reduced further from ~1699s to ~1149s (N=1).
fuzz: Merge with -set_cover_merge=1 #28650
pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2310-fuzz-set-merge- changing 1 files +5 −1-
maflcko commented at 4:11 PM on October 13, 2023: member
-
fuzz: Merge with -set_cover_merge=1 fa858d63a0
-
DrahtBot commented at 4:11 PM on October 13, 2023: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
Code Coverage
For detailed information about the code coverage, see the test coverage report.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process.
Type Reviewers ACK dergoegge Concept ACK murchandamus If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
- DrahtBot added the label Tests on Oct 13, 2023
- maflcko force-pushed on Oct 13, 2023
- maflcko requested review from murchandamus on Oct 13, 2023
- maflcko requested review from dergoegge on Oct 13, 2023
- dergoegge approved
-
dergoegge commented at 4:16 PM on October 13, 2023: member
ACK fa858d63a0a5d794aab38c26f60c593513fe08de
-
maflcko commented at 4:19 PM on October 13, 2023: member
-
maflcko commented at 4:24 PM on October 13, 2023: member
Would be nice if one (1) person (or more) could re-check the runtime estimate on their machine. The steps to reproduce were:
- Clone the current qa-assets repo
- Call the python script from this pull (and from master) via
./test/fuzz/test_runner.py -j $( nproc ) -l DEBUG --m_dir ../qa-assets/fuzz_seed_corpus/ temp_new_folder_number_00 - Get the runtime (twice) via
/usr/bin/time -f '%M KB, %S + %U' ./test/fuzz/test_runner.py -l DEBUG --par $( nproc ) ./temp_folder...
-
murchandamus commented at 7:09 PM on October 13, 2023: contributor
crACK fa858d63a0a5d794aab38c26f60c593513fe08de
I’m attempting to run the requested verification, but
utxo_total_supplyis absurdly slow on the merge. Will report back when it finally gets done. Definitely reduced the set on a prior merge I did, though. - DrahtBot removed review request from murchandamus on Oct 13, 2023
- murchandamus approved
-
murchandamus commented at 11:00 PM on October 13, 2023: contributor
So much ACK
Running
mainunmerged:- 622632 KB, 161.30 + 6192.01
Merging
mainto a fresh directory with the code changes in #28650 (IIRC:src/test/fuzz/fuzz -set_cover_merge=1 -shuffle=0 -prefer_small=1 -use_value_profile=0):- 460324 KB, 47.46 + 1466.82
- 459752 KB, 48.92 + 1469.17
BTW, on the second run here,
utxo_total_supplytook 734 s for 422 seeds, on themainbranch it took 2464 s for 2985 runs. -
maflcko commented at 8:02 AM on October 14, 2023: member
I think you forgot to
-merge=1on themasterbranch commit, for a fair comparison? - fanquake merged this on Oct 15, 2023
- fanquake closed this on Oct 15, 2023
- maflcko deleted the branch on Oct 16, 2023
-
murchandamus commented at 1:32 PM on October 16, 2023: contributor
Sorry, I misinterpreted your instructions, now running the merge per the old style to get the execution time on that
-
murchandamus commented at 5:03 PM on October 16, 2023: contributor
After merging
mainto a fresh directory withsrc/test/fuzz/fuzz -merge=1 -shuffle=0 -prefer_small=1 -use_value_profile=1running all seeds took: 592620 KB, 126.62 + 4689.42After merging
mainto a fresh directory withsrc/test/fuzz/fuzz -merge=1 -shuffle=0 -prefer_small=1 -use_value_profile=0it took: 560756 KB, 73.80 + 2374.22 -
maflcko commented at 9:25 AM on October 17, 2023: member
I think you compared
-use_value_profile=, but this pull request is about-set_cover_merge=. -
murchandamus commented at 12:15 PM on October 17, 2023: contributor
I did four different things:
Run the seeds on qa-assets/main:
622632 KB, 161.30 + 6192.01
Merge main to a fresh directory with
-set_cover_merge=1 -use_value_profile=0, then run the seeds in the fresh directory:460324 KB, 47.46 + 1466.82 459752 KB, 48.92 + 1469.17
Merge main to a fresh directory with
-merge=1 -use_value_profile=1, then run the resulting seeds:592620 KB, 126.62 + 4689.42
Merge main to a fresh directory with
-merge=1 -use_value_profile=0, then run those seeds:560756 KB, 73.80 + 2374.22
So if you’re interested in the comparison of
-set_cover_mergeand-merge, please refer to 2 and 4, if you are interested in the overall speed-up of both changes (-merge=1 -use_value_profile=1 ↦ -set_cover_merge=1 -use_value_profile=0), please refer to 2 and 3. If you’re interested in how much we could reduce the runtime for theqa-assets/mainbranch, please refer to 1 and 2. I figured running the main branch qa-assets may also provide a baseline for how fast/slow this system is. - Frank-GER referenced this in commit 967d677a01 on Oct 21, 2023
- bitcoin locked this on Oct 16, 2024