Standing quality table of main 0dc2f731, re-measured on one base
Browse files at this commit7e4ee872b68d496dd02ebacab491b97d142ccc4fParent: 323c803- docs
- standing quality table of main 0dc2f731, re-measured on one base
1 changed file +167 -0
- lanes/table-20260909.md +167 -0
lanes/table-20260909.mdadded+167 -0
| @@ -0,0 +1,167 @@ | ||
| 1 | +# Standing quality table of main 0dc2f731 (measured 2026-09-09, lane-table2) | |
| 2 | + | |
| 3 | +One re-measurement of every native BD row on ONE base, so the six lanes merged | |
| 4 | +since the 2026-09-08 table (`b128r` compound 128 root, `arftf` ARF filter | |
| 5 | +strength 2, `rlclamp` rate loop, `edge128` CDEF owner map, `b128hv` HORZ/VERT | |
| 6 | +128 root, `lookahead` one mini-GOP of lookahead + ±3 ARF window) are read off | |
| 7 | +ONE binary instead of six different lane bases. MEASUREMENT ONLY -- no encoder | |
| 8 | +change is in this lane. | |
| 9 | + | |
| 10 | +Binary: `cargo test -p ec-av1 --release --lib` at 0dc2f731, one tile, one | |
| 11 | +thread. Anchors: libaom `cpu-used 6` (crf 5/20/35/45), rav1e `speed=6` | |
| 12 | +(quantizer 50/100/150/200). **Sign convention: BD-rate, LOWER IS BETTER** (a | |
| 13 | +negative number means we spend fewer bits than the anchor at equal quality); | |
| 14 | +every BD number below is read off the log's own table line. `fps` = coded | |
| 15 | +frames / our ladder wall (48 = 4 points x 12 frames on the 12-frame arm, | |
| 16 | +192 = 4 x 48 on the long-GOP arm), single thread. | |
| 17 | + | |
| 18 | +Every gate ran alone, in `systemd-run --user -p MemoryMax=14G`, after a wait | |
| 19 | +for 1-minute load < 4; each log carries its own `LOADAVG_BEFORE` / | |
| 20 | +`LOADAVG_AFTER` line and ends `RC=0`. Logs: `~/.cache/table2/*.log`. | |
| 21 | + | |
| 22 | +## 12-frame arm (`encode::tests::bd_rate_screen_native`, gop=12) | |
| 23 | + | |
| 24 | +| clip | vs libaom | vs rav1e | wall ours:libaom:rav1e | ours:rav1e | fps | load before | log | | |
| 25 | +|---|---|---|---|---|---|---|---| | |
| 26 | +| bars 1080p | -3.2% | -18.8% | 164.9s:6.7s:17.1s | 9.6x | 0.29 | 3.68 | ~/.cache/table2/f12a.log | | |
| 27 | +| film A (1080p) | +17.9% | -6.3% | 147.8s:9.8s:14.2s | 10.4x | 0.32 | 3.68 | ~/.cache/table2/f12a.log | | |
| 28 | +| bars 2160p | +8.4% | -13.9% | 140.4s:5.9s:16.7s | 8.4x | 0.34 | 3.50 | ~/.cache/table2/f12b.log | | |
| 29 | +| film B (2160p HDR) | +22.4% | -3.9% | 127.0s:19.7s:16.0s | 7.9x | 0.38 | 3.50 | ~/.cache/table2/f12b.log | | |
| 30 | +| screen capture | +14.4% | -33.2% | 117.1s:11.7s:17.0s | 6.9x | 0.41 | 3.81 | ~/.cache/table2/s12.log | | |
| 31 | + | |
| 32 | +WALL CAVEAT, one row: the screen gate started at load 3.81 but finished at | |
| 33 | +14.40 (a sibling lane woke up inside it), so its 117.1s -- and every ratio | |
| 34 | +derived from it -- is load-contaminated and NOT comparable with the 107.8s of | |
| 35 | +2026-09-08. Its BD columns are byte-derived and unaffected (they reproduce | |
| 36 | ++14.4 / -33.2 to the digit). | |
| 37 | + | |
| 38 | +The bars rows are NOT film: `EC_AV1_NATIVE_FILM=1` selects both 1080p rows | |
| 39 | +(bars + film A) and `EC_AV1_NATIVE_FILM4K=1` both 2160p rows, so the bars rows | |
| 40 | +come inside the film arms -- there is no separate bars arm to run. | |
| 41 | + | |
| 42 | +## 12-frame arm at `EC_AV1_SPEED=6` (the software fast preset) | |
| 43 | + | |
| 44 | +| clip | vs libaom | vs rav1e | wall ours:libaom:rav1e | ours:rav1e | fps | vs preset 0 wall | log | | |
| 45 | +|---|---|---|---|---|---|---|---| | |
| 46 | +| bars 1080p | +61.8% | +35.7% | 109.0s:6.8s:17.2s | 6.3x | 0.44 | 1.51x faster | ~/.cache/table2/s6a.log | | |
| 47 | +| film A (1080p) | +20.3% | -4.8% | 75.3s:14.0s:17.4s | 4.3x | 0.64 | 1.96x faster | ~/.cache/table2/s6a.log | | |
| 48 | +| bars 2160p | +61.0% | +27.1% | 86.7s:6.1s:16.2s | 5.4x | 0.55 | 1.62x faster | ~/.cache/table2/s6b.log | | |
| 49 | +| film B (2160p HDR) | +25.9% | -1.1% | 64.0s:19.1s:15.5s | 4.1x | 0.75 | 1.98x faster | ~/.cache/table2/s6b.log | | |
| 50 | +| screen capture | +22.7% | -28.7% | 47.9s:8.4s:11.7s | 4.1x | 1.00 | (2.44x, see caveat) | ~/.cache/table2/s6s.log | | |
| 51 | + | |
| 52 | +Preset 6 buys ~2.0x of wall on the two film rows for +2.4 (film A) and +3.5 | |
| 53 | +(film B) BD points against libaom, and the screen row is 2.4x for +8.3 points | |
| 54 | +(that ratio is against the contaminated preset-0 screen wall, so read it as | |
| 55 | +"about 2.2-2.4x"). The two bars rows still lose ~65 and ~53 points each: | |
| 56 | +colour bars are exactly the content the pruned partition/tx search cannot | |
| 57 | +serve, and no decision is taken on them. | |
| 58 | + | |
| 59 | +## Long-GOP arm (`encode::tests::bd_rate_film_long_gop`, 48 pictures, gop=48) | |
| 60 | + | |
| 61 | +Preset 0 (default): | |
| 62 | + | |
| 63 | +| clip | vs libaom | vs rav1e | wall ours:libaom:rav1e | ours:rav1e | fps | log | | |
| 64 | +|---|---|---|---|---|---|---| | |
| 65 | +| film A (1080p) | +21.3% | -8.8% | 555.3s:32.6s:52.6s | 10.6x | 0.35 | ~/.cache/table2/lgop.log | | |
| 66 | +| film B (2160p HDR) | +72.1% | -1.2% | 430.1s:69.5:50.4s | 8.5x | 0.45 | ~/.cache/table2/lgop.log | | |
| 67 | + | |
| 68 | +`EC_AV1_SPEED=6` -- NEW ROWS, never measured before (the 2026-09-08 table has | |
| 69 | +no preset-6 long-GOP arm): | |
| 70 | + | |
| 71 | +| clip | vs libaom | vs rav1e | wall ours:libaom:rav1e | ours:rav1e | fps | vs preset 0 wall | log | | |
| 72 | +|---|---|---|---|---|---|---|---| | |
| 73 | +| film A (1080p) | +24.4% | -7.6% | 312.2s:32.2s:51.9s | 6.0x | 0.61 | 1.78x faster | ~/.cache/table2/lgop6.log | | |
| 74 | +| film B (2160p HDR) | +75.5% | +0.8% | 271.9s:71.4s:50.0s | 5.4x | 0.71 | 1.58x faster | ~/.cache/table2/lgop6.log | | |
| 75 | + | |
| 76 | +Reading of the new rows: at 48 pictures preset 6 costs +3.1 (film A) and +3.4 | |
| 77 | +(film B) BD points against libaom for 1.6-1.8x of wall -- the SAME price the | |
| 78 | +12-frame arm pays (+2.4 / +3.5), so the long GOP does not make the pruned | |
| 79 | +search any more expensive in quality. It does buy less wall than at 12 frames | |
| 80 | +(1.6-1.8x vs ~2.0x): the long GOP's cost centre is the ARF/reference chain the | |
| 81 | +preset does not prune. Against rav1e speed 6, preset 6 keeps film A ahead | |
| 82 | +(-7.6%) but gives up film B's crossing -- film B goes -1.2% -> +0.8%, i.e. the | |
| 83 | +"film B beats rav1e speed 6" claim is a PRESET-0 claim only. | |
| 84 | + | |
| 85 | +Pyramid effective on all four film rows: `mini_gop 8, arf -32, leaf +12, | |
| 86 | +mid -8, key -48` (the capture is gated flat, effective `None`). | |
| 87 | + | |
| 88 | +## Rows against the merged lanes' own expectations | |
| 89 | + | |
| 90 | +Expected = the last value each row was given by a merged lane, on that lane's | |
| 91 | +own base: `lookahead`'s shipped column for the five 12-frame rows and its ±3 | |
| 92 | +long-GOP arm (which is what merged), i.e. 12f bars 1080p -3.4/-19.0, film A | |
| 93 | ++17.9/-6.3, bars 2160p +8.6/-13.7, film B +22.8/-3.6, screen +14.4/-33.2; | |
| 94 | +long-GOP film A +21.2/-8.8, film B +72.1/-1.2. | |
| 95 | + | |
| 96 | +| row | expected | measured | delta | note | | |
| 97 | +|---|---|---|---|---| | |
| 98 | +| 12f bars 1080p | -3.4/-19.0 | -3.2/-18.8 | +0.2/+0.2 | within noise (worse direction, 0.2) | | |
| 99 | +| 12f film A | +17.9/-6.3 | +17.9/-6.3 | 0.0/0.0 | exact | | |
| 100 | +| 12f bars 2160p | +8.6/-13.7 | +8.4/-13.9 | -0.2/-0.2 | MOVED (better) but predicted: this is `b128hv`'s own bars-2160p reading (+8.4/-14.0), which `lookahead` quoted from ITS control instead. The HORZ/VERT 128 root is a 4K/quiet-content lever and bars 2160p is where it fires | | |
| 101 | +| 12f film B | +22.8/-3.6 | +22.4/-3.9 | -0.4/-0.3 | MOVED (better), under the 0.5 bar on both columns; the 4K film is where the 128-root arms (`b128r` compound + `b128hv` rect) and the ±3 ARF window stack, and stacked they read 0.3-0.4 better than the last lane measured them alone | | |
| 102 | +| 12f screen | +14.4/-33.2 | +14.4/-33.2 | 0.0/0.0 | exact; the capture takes no pyramid (gated flat) and no 128 root, so no merged lever touches it | | |
| 103 | +| long-GOP film A | +21.2/-8.8 | +21.3/-8.8 | +0.1/0.0 | within noise | | |
| 104 | +| long-GOP film B | +72.1/-1.2 | +72.1/-1.2 | 0.0/0.0 | exact | | |
| 105 | + | |
| 106 | +No row moved in the LOSING direction by more than 0.2: the six lanes compose, | |
| 107 | +and the two rows that moved at all moved BETTER. | |
| 108 | + | |
| 109 | +## Invariants at this base | |
| 110 | + | |
| 111 | +- `encode::tests::the_encoders_own_streams_are_byte_identical_to_their_pins` | |
| 112 | + -- ok at default (`~/.cache/table2/pins.log`, 4.95s) and under | |
| 113 | + `EC_AV1_SPEED=6` (`~/.cache/table2/pins6.log`, 4.87s). The test encodes at | |
| 114 | + speed 0 whatever the env says (process-global write guard), so the two runs | |
| 115 | + are the same assertion and it holding under the env proves the guard. | |
| 116 | +- `encoder::tests::every_speed_preset_decodes_sample_exact_through_both_decoders` | |
| 117 | + -- ok (11 presets, sample-exact through ffmpeg and our decoder), | |
| 118 | + `~/.cache/table2/presets.log`, 17.19s. | |
| 119 | +- `encoder::tests::bitrate_target_lands_within_5_percent_over_48_frames` -- ok, | |
| 120 | + `~/.cache/table2/bitrate.log`, 266.64s. All 8 arms inside ±5%, worst -2.8%: | |
| 121 | + | |
| 122 | + | target | flat | pyramid | | |
| 123 | + |---|---|---| | |
| 124 | + | 384 kbit/s | 376524 bps (-1.9%) | 390916 bps (+1.8%) | | |
| 125 | + | 768 kbit/s | 748036 bps (-2.6%) | 767752 bps (-0.0%) | | |
| 126 | + | 1536 kbit/s | 1493112 bps (-2.8%) | 1536404 bps (+0.0%) | | |
| 127 | + | 2 Mbit/s | 1965288 bps (-1.7%) | 1999844 bps (-0.0%) | | |
| 128 | + | |
| 129 | + The 2 Mbit/s pyramid arm that was the loop's worst case before `rlclamp` | |
| 130 | + (-4.8%, then -4.4% when the tolerance was cut) lands at -0.0% here. | |
| 131 | + | |
| 132 | +## Since 152996c8 (2026-09-08 table -> this one) | |
| 133 | + | |
| 134 | +| row | 2026-09-08 | 2026-09-09 | delta (libaom / rav1e) | | |
| 135 | +|---|---|---|---| | |
| 136 | +| 12f bars 1080p | -3.4 / -19.0 | -3.2 / -18.8 | +0.2 / +0.2 | | |
| 137 | +| 12f film A | +18.1 / -6.2 | +17.9 / -6.3 | -0.2 / -0.1 | | |
| 138 | +| 12f bars 2160p | +8.6 / -13.8 | +8.4 / -13.9 | -0.2 / -0.1 | | |
| 139 | +| **12f film B** | +23.8 / -2.8 | **+22.4 / -3.9** | **-1.4 / -1.1** | | |
| 140 | +| 12f screen | +14.4 / -33.2 | +14.4 / -33.2 | 0.0 / 0.0 | | |
| 141 | +| s6 bars 1080p | +61.9 / +35.6 | +61.8 / +35.7 | -0.1 / +0.1 | | |
| 142 | +| s6 film A | +20.5 / -4.7 | +20.3 / -4.8 | -0.2 / -0.1 | | |
| 143 | +| **s6 bars 2160p** | +61.7 / +27.8 | **+61.0 / +27.1** | **-0.7 / -0.7** | | |
| 144 | +| **s6 film B** | +27.0 / -0.2 | **+25.9 / -1.1** | **-1.1 / -0.9** | | |
| 145 | +| s6 screen | +22.7 / -28.7 | +22.7 / -28.7 | 0.0 / 0.0 | | |
| 146 | +| **long-GOP film A** | +22.6 / -8.1 | **+21.3 / -8.8** | **-1.3 / -0.7** | | |
| 147 | +| **long-GOP film B** | +78.4 / +2.4 | **+72.1 / -1.2** | **-6.3 / -3.6** | | |
| 148 | +| long-GOP film A @ s6 | (not measured) | +24.4 / -7.6 | new row | | |
| 149 | +| long-GOP film B @ s6 | (not measured) | +75.5 / +0.8 | new row | | |
| 150 | + | |
| 151 | +Every row is equal or better; the day's biggest movement is long-GOP film B | |
| 152 | +(-6.3 against libaom, -3.6 against rav1e), which crosses rav1e speed 6 at | |
| 153 | +preset 0 for the first time (+2.4% -> -1.2%). The 12-frame arm moved much less | |
| 154 | +than the long-GOP one because the biggest merged lever, `lookahead`, is | |
| 155 | +INVISIBLE at 12 pictures (`group_target` absorbs the tail into one group, so | |
| 156 | +no next group is ever buffered) -- what moves the 12-frame film B row is the | |
| 157 | +128-root pair and the wider ARF window. | |
| 158 | + | |
| 159 | +Deviations from this lane's charter, named: | |
| 160 | +- The charter's gate command omits `--ignored`; both BD tests carry | |
| 161 | + `#[ignore]`, so `--ignored --exact` was used (without it the test filters out | |
| 162 | + and the gate reads "0 passed" -- a silent no-measurement). | |
| 163 | +- One `systemd-run` unit (`table2-driver`) runs the twelve gates SERIALLY, each | |
| 164 | + after its own load wait and each into its own `~/.cache/table2/<n>.log` | |
| 165 | + ending `RC=`, instead of twelve separate units. Same isolation, same | |
| 166 | + MemoryMax=14G, same one-gate-at-a-time property; it removes the operator poll | |
| 167 | + between gates. The driver script is `~/.cache/table2/driver.sh`. |