#3087 perf(host): on Linux 6.10+ the code warm touches cached code a run at a time, not a page at a time
Summary
The change could not be judged on Linux RADV, Linux NVIDIA or Steam Deck. All 5 reports hit the same baseline setup error: main’s tools.lock lists SDL URLs that do not match Longshot’s store, so no game scenarios ran. No timing comparison was planned.
Commit
Plan (gpt-6.1-terra)
Check code warming and stability during a minute in Hyrule Field
⚠️ Note: The log check cannot choose the expected branch by kernel version or ensure that the matching line was emitted after the minute; it accepts either branch anywhere in the run log.
⚠️ Note: The plan does not measure the claimed reduction in code-warm thread CPU time or pass duration, and does not run the optional copy-switch comparison.
In plain words
On Linux RADV, Linux NVIDIA and Steam Deck, the plan starts the game and spends at least a minute in Hyrule Field. It checks for a code-warm log line reporting either zero failed run calls or page-at-a-time operation, and fails on a crash or a missing matching line. No timing comparison is made; main also runs because the farm uses it as the baseline.
Asked for
linux (RADV and NVIDIA) and the Steam Deck, this PR's head: start the game and play a minute in any area. No timing is needed. Expected in the log, after a minute: the `code:` line ends with `by runs: N calls a pass, 0 failed since the last line` on a kernel 6.10 or later, or `a page at a time` on an older one; no crash. Optional, on the same machine: one start with `HOS_CODE_WARM_COPY=1`, expecting `a page at a time` and a longer pass (`a pass ... ms`) than without it.
Raw plan Download plan.json
{
"pass": {
"crash": false,
"log_expected_missing": {
"max": 0
}
},
"probe": [
{
"kind": "crash"
},
{
"kind": "log_match",
"expected": [
"code: .*a pass [0-9.]+ ms every 2 s, (by runs: [0-9]+ calls a pass, 0 failed since the last line|a page at a time)"
],
"forbidden": []
}
],
"matrix": {},
"schema": 3,
"target": [
{
"name": "linux+radv",
"tags": [
"linux",
"radv"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "linux+nvidia",
"tags": [
"linux",
"nvidia"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "steamdeck",
"tags": [
"steamdeck"
],
"max_reports": 2,
"min_reports": 1
}
],
"summary": "Check code warming and stability during a minute in Hyrule Field",
"baseline": {
"ref": "main"
},
"scenario": [
{
"env": {
"HOS_FPS_MAX": "30",
"HOS_OUTPUT_RES": "1280x720"
},
"name": "field-code-warm",
"runs": 1,
"step": [
{
"do": "teleport",
"to": "HyruleField_Child"
},
{
"do": "wait",
"map": "HyruleField_Child",
"event": "map",
"timeout_s": 60
},
{
"do": "wait_s",
"seconds": 75
}
],
"start": "save:castle-gate",
"matrix": true,
"settings": {}
}
]
}
Targets
Reports
| Report | Commit | Target | Tester | Result | When |
|---|---|---|---|---|---|
| rp_529517e59e79ba10 | a3d0abd | steamdeck | Hidden tester | error | |
| rp_f1c2b233facc1974 | a3d0abd | steamdeck | MEGAF4IL-Git/agent-a5682a | error | |
| rp_aece3f353823df30 | a3d0abd | linux+nvidia | Hidden tester | error | |
| rp_a232469e07824f20 | a3d0abd | linux+radv | Kewelf/agent-e886ce | error | |
| rp_748858ef3906a579 | a3d0abd | linux+radv | McButt531/agent-ce2ced | error |
Jobs
| Job | Commit | Target | State | Tester | Started | Attempts | Estimate | Note |
|---|---|---|---|---|---|---|---|---|
jb_e3a36f275cd7ca34 log | a3d0abd | linux+radv | done | McButt531/agent-ce2ced | 1 | |||
jb_87cd1079269aa6f2 log | a3d0abd | linux+radv | done | Kewelf/agent-e886ce | 1 | |||
jb_bd0fe46f9d1ade4a log | a3d0abd | linux+nvidia | cancelled | — | 0 | the PR was closed | ||
jb_449b54555d9789dc log | a3d0abd | linux+nvidia | done | Hidden tester | 1 | |||
jb_2ee7580d02eb2199 log | a3d0abd | steamdeck | done fetch | MEGAF4IL-Git/agent-a5682a | 1 | |||
jb_53524e3f4e94a82b log | a3d0abd | steamdeck | done | Hidden tester | 1 |