gpu: run a single representative scene per tool by default

glmark2 (terrain) and vkmark (texture) now each run one ~10s scene instead of
the full multi-scene sweep, cutting the headed part to about a minute. Scene
seconds and the vkmark scene are tunable via GLMARK2_DURATION, VKMARK_DURATION
and VKMARK_BENCH.
This commit is contained in:
smill 2026-09-29 21:14:30 -04:00
commit 8e9fd82e8e
3 changed files with 16 additions and 7 deletions

View file

@ -240,12 +240,12 @@ Headless part (`~25-30 min` per pass):
| 9 | `systemd-analyze` | <1 min | informational |
| + | PTS short core (`RUN_PTS=1`) | +30-45 min | kernel build, c-ray, stream |
Headed part (`~4-5 min` per pass):
Headed part (`~1 min` per pass):
| # | Step | ~Time | Notes |
|---|------|-------|-------|
| 1 | `glmark2` | ~1-2 min | pinned to the dGPU |
| 2 | `vkmark` | ~2-3 min | pinned to the dGPU |
| 1 | `glmark2` (terrain, 10 s) | ~15 s | pinned to the dGPU |
| 2 | `vkmark` (texture, 10 s) | ~15 s | pinned to the dGPU |
Every step writes its own `results/<name>-<tag>.txt/json`.
@ -256,6 +256,7 @@ RUN_APPS=0 ./run-benchmarks.sh before headless # skip the app workloads
CORPUS=/path ./run-benchmarks.sh before headless # app corpus cache location
GOVERNOR=powersave ./run-benchmarks.sh after headless # pin a governor (see §7)
RUN_GPU=0 ./run-benchmarks.sh before # skip GPU tests in 'all' mode
GLMARK2_DURATION=10 VKMARK_BENCH=shading ./run-benchmarks.sh before headed # GPU scenes
TOOLS=/path ./run-benchmarks.sh before headless # custom tools dir
GPU_PCI=0000:03:00.0 ./run-benchmarks.sh before headed # force a GPU
FIOFILE=/data/fio.bin ./run-benchmarks.sh before headless # fio scratch file