Implemented tweak passes for chunk mode. Here's some results from different albums, all subset, there's some more in the pipe. Not as good a spread as perhaps there should be but my internet is slow so it's just what's available.
- Chunk with a single blocksize does a fixed blocksize, so chunk:8p:8p:0:4096 and chunk:8p:8p:0:4608 are ./flac's -8p and -8pb4608
- peakset:8p:8p:10:512,1024,1536,2048,2560,3072,3584,4096,4608 would be slower than realtime on a single core. It puts the 4 sliders tested (blocksize choice, analysis settings, mode choice, tweak passes) in the upper range, not fully off the deep end but a lot of effort (~90, varies give or take 10 by tweak effort)
- There's no change in placement except for 4096 vs 4608, it's not a massive corpus but the results seem relatively stable so far
- Input is fully read to the processes RAM before timing to minimise SSD as a factor, output is still written so ./flac -t can validate
Size CPUTimeEst Album Settings(mode:analysis_comp:output_comp:tweak_passes:blocksizes)
317603594 5158.64833 ChemicalBrothers-NoGeography peakset:8p:8p:10:512,1024,1536,2048,2560,3072,3584,4096,4608
317685039 3434.47596 ChemicalBrothers-NoGeography peakset:8p:8p:4:576,1152,1728,2304,2880,3456,4032,4608
317705060 1412.46291 ChemicalBrothers-NoGeography peakset:8:8p:4:576,1152,1728,2304,2880,3456,4032,4608
317739305 1138.52770 ChemicalBrothers-NoGeography peakset:8:8p:4:768,1536,2304,3072,3840,4608
317980994 390.43533 ChemicalBrothers-NoGeography peakset:8:8p:1:1152,2304,3456,4608
318038269 271.71686 ChemicalBrothers-NoGeography peakset:5:8p:1:1152,2304,3456,4608
318256373 239.11328 ChemicalBrothers-NoGeography chunk:8:8p:1:576,1152,2304,4608
319200096 69.77557 ChemicalBrothers-NoGeography chunk:8p:8p:0:4096
319300930 68.78749 ChemicalBrothers-NoGeography chunk:8p:8p:0:4608
523589456 8715.10619 DaftPunk-MusiqueVol1 peakset:8p:8p:10:512,1024,1536,2048,2560,3072,3584,4096,4608
523835812 5692.51132 DaftPunk-MusiqueVol1 peakset:8p:8p:4:576,1152,1728,2304,2880,3456,4032,4608
523870247 2466.42877 DaftPunk-MusiqueVol1 peakset:8:8p:4:576,1152,1728,2304,2880,3456,4032,4608
523993599 2058.40626 DaftPunk-MusiqueVol1 peakset:8:8p:4:768,1536,2304,3072,3840,4608
524629652 685.96927 DaftPunk-MusiqueVol1 peakset:8:8p:1:1152,2304,3456,4608
524731195 495.35884 DaftPunk-MusiqueVol1 peakset:5:8p:1:1152,2304,3456,4608
525063374 449.26300 DaftPunk-MusiqueVol1 chunk:8:8p:1:576,1152,2304,4608
528212165 112.73555 DaftPunk-MusiqueVol1 chunk:8p:8p:0:4096
528655833 111.28555 DaftPunk-MusiqueVol1 chunk:8p:8p:0:4608
257706353 4486.87945 Eels-DaisiesOfTheGalaxy peakset:8p:8p:10:512,1024,1536,2048,2560,3072,3584,4096,4608
257762825 3000.10531 Eels-DaisiesOfTheGalaxy peakset:8p:8p:4:576,1152,1728,2304,2880,3456,4032,4608
257778499 1211.72235 Eels-DaisiesOfTheGalaxy peakset:8:8p:4:576,1152,1728,2304,2880,3456,4032,4608
257818027 964.54024 Eels-DaisiesOfTheGalaxy peakset:8:8p:4:768,1536,2304,3072,3840,4608
257990037 339.80432 Eels-DaisiesOfTheGalaxy peakset:8:8p:1:1152,2304,3456,4608
258020585 233.79144 Eels-DaisiesOfTheGalaxy peakset:5:8p:1:1152,2304,3456,4608
258224956 208.56897 Eels-DaisiesOfTheGalaxy chunk:8:8p:1:576,1152,2304,4608
259022020 63.11173 Eels-DaisiesOfTheGalaxy chunk:8p:8p:0:4096
259110152 62.28333 Eels-DaisiesOfTheGalaxy chunk:8p:8p:0:4608
477271623 7616.88662 GunsNRoses-ChineseDemocracy peakset:8p:8p:10:512,1024,1536,2048,2560,3072,3584,4096,4608
477348516 5138.17785 GunsNRoses-ChineseDemocracy peakset:8p:8p:4:576,1152,1728,2304,2880,3456,4032,4608
477369279 1957.24402 GunsNRoses-ChineseDemocracy peakset:8:8p:4:576,1152,1728,2304,2880,3456,4032,4608
477424204 1502.32550 GunsNRoses-ChineseDemocracy peakset:8:8p:4:768,1536,2304,3072,3840,4608
477658393 533.66029 GunsNRoses-ChineseDemocracy peakset:8:8p:1:1152,2304,3456,4608
477703519 356.51980 GunsNRoses-ChineseDemocracy peakset:5:8p:1:1152,2304,3456,4608
478051214 330.46694 GunsNRoses-ChineseDemocracy chunk:8:8p:1:576,1152,2304,4608
479170287 110.70671 GunsNRoses-ChineseDemocracy chunk:8p:8p:0:4096
479278372 108.72984 GunsNRoses-ChineseDemocracy chunk:8p:8p:0:4608
122521118 2479.95507 MikeOldfield-TubularBellsPartOne peakset:8p:8p:10:512,1024,1536,2048,2560,3072,3584,4096,4608
122548191 1683.96844 MikeOldfield-TubularBellsPartOne peakset:8p:8p:4:576,1152,1728,2304,2880,3456,4032,4608
122560169 643.47294 MikeOldfield-TubularBellsPartOne peakset:8:8p:4:576,1152,1728,2304,2880,3456,4032,4608
122578013 484.59866 MikeOldfield-TubularBellsPartOne peakset:8:8p:4:768,1536,2304,3072,3840,4608
122648202 173.11262 MikeOldfield-TubularBellsPartOne peakset:8:8p:1:1152,2304,3456,4608
122670414 112.27985 MikeOldfield-TubularBellsPartOne peakset:5:8p:1:1152,2304,3456,4608
122774533 107.24483 MikeOldfield-TubularBellsPartOne chunk:8:8p:1:576,1152,2304,4608
123012084 36.47129 MikeOldfield-TubularBellsPartOne chunk:8p:8p:0:4608
123016735 37.33374 MikeOldfield-TubularBellsPartOne chunk:8p:8p:0:4096
250230777 4426.60597 NineInchNails-TheSlip peakset:8p:8p:10:512,1024,1536,2048,2560,3072,3584,4096,4608
250300683 3001.93029 NineInchNails-TheSlip peakset:8p:8p:4:576,1152,1728,2304,2880,3456,4032,4608
250327830 1176.29593 NineInchNails-TheSlip peakset:8:8p:4:576,1152,1728,2304,2880,3456,4032,4608
250363924 925.24971 NineInchNails-TheSlip peakset:8:8p:4:768,1536,2304,3072,3840,4608
250553480 327.97218 NineInchNails-TheSlip peakset:8:8p:1:1152,2304,3456,4608
250607320 215.46922 NineInchNails-TheSlip peakset:5:8p:1:1152,2304,3456,4608
250756438 206.58991 NineInchNails-TheSlip chunk:8:8p:1:576,1152,2304,4608
251739815 63.01859 NineInchNails-TheSlip chunk:8p:8p:0:4096
251832015 62.26452 NineInchNails-TheSlip chunk:8p:8p:0:4608
423291336 6309.92615 prodigy-FatOfTheLand peakset:8p:8p:10:512,1024,1536,2048,2560,3072,3584,4096,4608
423387560 4166.49125 prodigy-FatOfTheLand peakset:8p:8p:4:576,1152,1728,2304,2880,3456,4032,4608
423407230 1727.42195 prodigy-FatOfTheLand peakset:8:8p:4:576,1152,1728,2304,2880,3456,4032,4608
423470736 1394.59504 prodigy-FatOfTheLand peakset:8:8p:4:768,1536,2304,3072,3840,4608
423746793 475.69761 prodigy-FatOfTheLand peakset:8:8p:1:1152,2304,3456,4608
423804552 329.79729 prodigy-FatOfTheLand peakset:5:8p:1:1152,2304,3456,4608
424132847 287.47611 prodigy-FatOfTheLand chunk:8:8p:1:576,1152,2304,4608
425201004 84.63871 prodigy-FatOfTheLand chunk:8p:8p:0:4096
425296934 83.59144 prodigy-FatOfTheLand chunk:8p:8p:0:4608
There's probably a lot of efficiency left on the table sticking to subset. The histogram of best blocksizes is likely a bell curve with 4096/4608 near the peak, meaning subset likely cuts off too soon to have good coverage of the curve. Finding ways to extend into --lax without blowing out encode time with peakset TODO.
edit: Tests done on a different PC with 8 cores so timings not comparable with previous posts.