From 2890ce6d5359814577392b06ea4f840547e92c79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 7 Sep 2026 22:15:41 +0300 Subject: [PATCH] test(av1): lane-tplwin arm driver + report skeleton for the per-preset tpl window --- lanes/tplwin.report.md | 30 ++++++++++++++++++++++++++++++ lanes/tw-arm.sh | 7 +++++++ lanes/tw-p3d1.log | 6 ++++++ lanes/tw-p3d8.log | 6 ++++++ 4 files changed, 49 insertions(+) create mode 100644 lanes/tplwin.report.md create mode 100755 lanes/tw-arm.sh create mode 100644 lanes/tw-p3d1.log create mode 100644 lanes/tw-p3d8.log diff --git a/lanes/tplwin.report.md b/lanes/tplwin.report.md new file mode 100644 index 00000000..1f275f11 --- /dev/null +++ b/lanes/tplwin.report.md @@ -0,0 +1,30 @@ +# lane-tplwin — the tpl lookahead window per speed preset + +Base `45a6f786`. Scope: `speed::TPL_DEPTH` (the per-preset lookahead window). + +## Why the lane exists + +`speed.rs:438` shipped `TPL_DEPTH = [8, 1, 1, ..., 1]`: the temporal lambda map +is inert at every preset above 0, and lane-deltaq's per-SB `delta_q` (which +rides that map) is inert with it. Since RDOQ landed the fast presets are what +a user without hardware runs, so the map's price at those presets is the +question. + +## Method + +`bd_rate_screen_native --ignored`, 12 frames, four quantizers, all five rows, +one arm per (preset, depth) through `EC_AV1_SPEED` / `EC_AV1_TPL_D` +(`lanes/tw-arm.sh`, logs `lanes/tw-.log`). Two arms at a time on a box +also running another lane (load average 13-15 throughout), so WALL IS READ AS +THE RATIO ours:rav1e INSIDE ONE ARM, never across arms (class: wall tables are +only comparable inside one interleaved batch). Best-of-2 was not affordable at +this load and is not claimed. + +Note: the gate's film rows code through `encoder::Av1Encoder::drain_pending`, +whose window is the mini-GOP's display successors, so depth is capped by the +group at 8 anyway; the screen row is content-gated flat and takes +`encode_sequence_with_ctx`'s plain successor window. + +## Results + +(pending) diff --git a/lanes/tw-arm.sh b/lanes/tw-arm.sh new file mode 100755 index 00000000..843b46b0 --- /dev/null +++ b/lanes/tw-arm.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# lane-tplwin: one native-gate arm at a named speed/tpl-depth. +# usage: tw-arm.sh +name=$1; shift +B=$HOME/.cache/cargo-target-tplwin/release/deps/ec_av1-8fef0196ab10338d +systemd-run --user --unit tw-$name -p MemoryMax=8G --collect --working-directory=$PWD \ + 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" diff --git a/lanes/tw-p3d1.log b/lanes/tw-p3d1.log new file mode 100644 index 00000000..5d647e9f --- /dev/null +++ b/lanes/tw-p3d1.log @@ -0,0 +1,6 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---| diff --git a/lanes/tw-p3d8.log b/lanes/tw-p3d8.log new file mode 100644 index 00000000..5d647e9f --- /dev/null +++ b/lanes/tw-p3d8.log @@ -0,0 +1,6 @@ + +running 1 test +test encode::tests::bd_rate_screen_native ... +native crop, 12 frames, gop=12; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | +|---|---|---|---|---|