Lane-tplwin arm driver + report skeleton for the per-preset tpl window
Browse files at this commit2890ce6d5359814577392b06ea4f840547e92c79Parent: 8ce79c1- test
- lane-tplwin arm driver + report skeleton for the per-preset tpl window
4 changed files +49 -0
- lanes/tplwin.report.md +30 -0
- lanes/tw-arm.sh +7 -0
- lanes/tw-p3d1.log +6 -0
- lanes/tw-p3d8.log +6 -0
lanes/tplwin.report.mdadded+30 -0
| @@ -0,0 +1,30 @@ | |||
| 1 | +# lane-tplwin — the tpl lookahead window per speed preset | ||
| 2 | + | ||
| 3 | +Base `45a6f786`. Scope: `speed::TPL_DEPTH` (the per-preset lookahead window). | ||
| 4 | + | ||
| 5 | +## Why the lane exists | ||
| 6 | + | ||
| 7 | +`speed.rs:438` shipped `TPL_DEPTH = [8, 1, 1, ..., 1]`: the temporal lambda map | ||
| 8 | +is inert at every preset above 0, and lane-deltaq's per-SB `delta_q` (which | ||
| 9 | +rides that map) is inert with it. Since RDOQ landed the fast presets are what | ||
| 10 | +a user without hardware runs, so the map's price at those presets is the | ||
| 11 | +question. | ||
| 12 | + | ||
| 13 | +## Method | ||
| 14 | + | ||
| 15 | +`bd_rate_screen_native --ignored`, 12 frames, four quantizers, all five rows, | ||
| 16 | +one arm per (preset, depth) through `EC_AV1_SPEED` / `EC_AV1_TPL_D` | ||
| 17 | +(`lanes/tw-arm.sh`, logs `lanes/tw-<arm>.log`). Two arms at a time on a box | ||
| 18 | +also running another lane (load average 13-15 throughout), so WALL IS READ AS | ||
| 19 | +THE RATIO ours:rav1e INSIDE ONE ARM, never across arms (class: wall tables are | ||
| 20 | +only comparable inside one interleaved batch). Best-of-2 was not affordable at | ||
| 21 | +this load and is not claimed. | ||
| 22 | + | ||
| 23 | +Note: the gate's film rows code through `encoder::Av1Encoder::drain_pending`, | ||
| 24 | +whose window is the mini-GOP's display successors, so depth is capped by the | ||
| 25 | +group at 8 anyway; the screen row is content-gated flat and takes | ||
| 26 | +`encode_sequence_with_ctx`'s plain successor window. | ||
| 27 | + | ||
| 28 | +## Results | ||
| 29 | + | ||
| 30 | +(pending) | ||
lanes/tw-arm.shadded+7 -0
| @@ -0,0 +1,7 @@ | |||
| 1 | +#!/bin/bash | ||
| 2 | +# lane-tplwin: one native-gate arm at a named speed/tpl-depth. | ||
| 3 | +# usage: tw-arm.sh <name> <ENV=VAL ...> | ||
| 4 | +name=$1; shift | ||
| 5 | +B=$HOME/.cache/cargo-target-tplwin/release/deps/ec_av1-8fef0196ab10338d | ||
| 6 | +systemd-run --user --unit tw-$name -p MemoryMax=8G --collect --working-directory=$PWD \ | ||
| 7 | + bash -c "env TMPDIR=$HOME/.cache/tw-tmp $* $B --ignored --nocapture --test-threads 1 bd_rate_screen_native > lanes/tw-$name.log 2>&1; echo RC=\$? >> lanes/tw-$name.log" | ||
lanes/tw-p3d1.logadded+6 -0
| @@ -0,0 +1,6 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | +test encode::tests::bd_rate_screen_native ... | ||
| 4 | +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||
lanes/tw-p3d8.logadded+6 -0
| @@ -0,0 +1,6 @@ | |||
| 1 | + | ||
| 2 | +running 1 test | ||
| 3 | +test encode::tests::bd_rate_screen_native ... | ||
| 4 | +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | ||
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | ||
| 6 | +|---|---|---|---|---| | ||