#2240 WIP: perf(vk): RX_VK_RT_HOME=1 keeps the render thread on its own core on Windows, with a guard for another program holding it (off by default)
Commit
Plan (gpt-6.1-terra)
Compare guarded render-thread placement with the off setting in Hyrule Field on Windows SMT CPUs
⚠️ Note: Two starts per setting keep the plan within the farm’s time limit, but leave no spare usable start for the frame-time comparison.
⚠️ Note: The placement log is unjudged when absent, including in the 0 cell; the farm cannot suppress the performance comparison when placement is refused, so such results may compare identical placement.
⚠️ Note: The farm cannot inject the competing high-priority workload needed to test guard recovery under a deliberate core hold.
In plain words
On selected Windows SMT CPUs, this compares the PR’s render-thread placement switch with its off setting in Hyrule Field. Two starts per setting measure 30 seconds of uncapped gameplay, taking about 45 minutes per tester. A crash, an FPS loss over 3%, or a p99 frame-time increase over 10% fails the comparison; hitches are reported without a limit. Some requested CPU targets may wait for matching Windows testers. No tester online now matches windows+cpu-3300x_i3-10100_i3-12100_i3-13100_i7-6700_i7-6700k_i7-7700_i7-7700k, windows+cpu-3600_5600_5600x_7600_7600x_i5-10400_i5-11400_i7-8700k, windows+cpu-i5-12400_i5-12600k_i5-13600k_i5-14600k_i7-12700k_i7-13700k: those targets wait for one.
Asked for
the PR's own build only, its switch against itself: baseline ref = pr, [matrix.pr_only] RX_VK_RT_HOME = ["0", "1"], and [[pass.compare]] RX_VK_RT_HOME = "1" against "0" on the pr side (unset is the same as 0: main's placement). It is off by default and does anything only on Windows CPUs with SMT, so every target is Windows. Targets, each with 1-2 reports. Windows with a CPU that has two logical processors a core, by model: - 4 cores / 8 threads: i7-6700K, i7-7700K, i7-6700, i7-7700, i3-10100, i3-12100, i3-13100, Ryzen 3 3300X; - 6 / 12: Ryzen 5 3600, 5600X, 5600, 7600X, Ryzen 5 7600, i5-10400, i5-11400, i7-8700K; - 8 / 16: Ryzen 7 3700X, 5700X, 5800X, 5800X3D, 7700X, 7800X3D, i9-9900K, i7-10700K; - hybrid Intel: i5-12600K, i5-13600K, i5-14600K, i7-12700K, i7-13700K, i5-12400. The 4-core ones matter most (on this PC a 4-core mask gained far more, report-only), but don't let the plan wait on them alone. Settings: frame_rate_cap = 6 (Uncapped), vsync = 2 (Off), frame_generation = 0; headless is fine. Scenario: Hyrule Field (HyruleField_Child), measured 30 s, 3 game starts a cell (2 at least). Compare rules, pr side, RX_VK_RT_HOME=1 vs 0: fps_mean min_delta_pct = 3 (fails on a loss of more than 3 %) and frametime_p99_ms max_delta_pct = 10; crash = false. Hitch counts (run_hitch_count, run_frametime_max_ms) report-only. Log on the =1 cells: "vk: RX_VK_RT_HOME=1: the render thread is kept to logical processors" expected (the thread really went home: on a PC where the placement does not apply it says "free to move, as unset" instead, and that cell compares nothing).
Raw plan Download plan.json
{
"pass": {
"crash": false,
"compare": [
{
"axis": "RX_VK_RT_HOME",
"side": "pr",
"value": "1",
"metric": "fps_mean",
"against": "0",
"min_delta_pct": 3
},
{
"axis": "RX_VK_RT_HOME",
"side": "pr",
"value": "1",
"metric": "frametime_p99_ms",
"against": "0",
"max_delta_pct": 10
}
],
"log_expected_missing": {
"max": 0
}
},
"probe": [
{
"kind": "crash"
},
{
"kind": "frametime"
},
{
"kind": "draws"
},
{
"kind": "log_match",
"missing": "unjudged",
"expected": [
"vk: RX_VK_RT_HOME=1: the render thread is kept to logical processors"
],
"forbidden": []
}
],
"matrix": {
"pr_only": {
"RX_VK_RT_HOME": [
"0",
"1"
]
}
},
"schema": 10,
"target": [
{
"cpu": [
"3300x",
"i3 10100",
"i3 12100",
"i3 13100",
"i7 6700",
"i7 6700k",
"i7 7700",
"i7 7700k"
],
"name": "windows+cpu-3300x_i3-10100_i3-12100_i3-13100_i7-6700_i7-6700k_i7-7700_i7-7700k",
"tags": [
"windows"
],
"max_reports": 2,
"min_reports": 1
},
{
"cpu": [
"3600",
"5600",
"5600x",
"7600",
"7600x",
"i5 10400",
"i5 11400",
"i7 8700k"
],
"name": "windows+cpu-3600_5600_5600x_7600_7600x_i5-10400_i5-11400_i7-8700k",
"tags": [
"windows"
],
"max_reports": 2,
"min_reports": 1
},
{
"cpu": [
"3700x",
"5700x",
"5800x",
"5800x3d",
"7700x",
"7800x3d",
"i7 10700k",
"i9 9900k"
],
"name": "windows+cpu-3700x_5700x_5800x_5800x3d_7700x_7800x3d_i7-10700k_i9-9900k",
"tags": [
"windows"
],
"max_reports": 2,
"min_reports": 1
},
{
"cpu": [
"i5 12400",
"i5 12600k",
"i5 13600k",
"i5 14600k",
"i7 12700k",
"i7 13700k"
],
"name": "windows+cpu-i5-12400_i5-12600k_i5-13600k_i5-14600k_i7-12700k_i7-13700k",
"tags": [
"windows"
],
"max_reports": 2,
"min_reports": 1
}
],
"summary": "Compare guarded render-thread placement with the off setting in Hyrule Field on Windows SMT CPUs",
"baseline": {
"ref": "pr"
},
"scenario": [
{
"env": {},
"name": "hyrule-field",
"runs": 2,
"step": [
{
"do": "teleport",
"to": "HyruleField_Child"
},
{
"do": "wait",
"map": "HyruleField_Child",
"event": "map",
"timeout_s": 60
},
{
"do": "measure",
"name": "field",
"warmup_s": 5,
"duration_s": 30
}
],
"start": "save:castle-gate",
"matrix": true,
"settings": {
"vsync": 2,
"frame_rate_cap": 6,
"frame_generation": 0
}
}
]
}
Targets
| Target | Tier | Reports | Status |
|---|---|---|---|
| windows+cpu-3300x_i3-10100_i3-12100_i3-13100_i7-6700_i7-6700k_i7-7700_i7-7700k CPU "3300x" or "i3 10100" or "i3 12100" or "i3 13100" or "i7 6700" or "i7 6700k" or "i7 7700" or "i7 7700k" | reviewed klimovich008 | none yet | 0/1 pass, 0 running, 2 queued |
| windows+cpu-3600_5600_5600x_7600_7600x_i5-10400_i5-11400_i7-8700k CPU "3600" or "5600" or "5600x" or "7600" or "7600x" or "i5 10400" or "i5 11400" or "i7 8700k" | reviewed klimovich008 | none yet | 0/1 pass, 0 running, 2 queued |
| windows+cpu-3700x_5700x_5800x_5800x3d_7700x_7800x3d_i7-10700k_i9-9900k CPU "3700x" or "5700x" or "5800x" or "5800x3d" or "7700x" or "7800x3d" or "i7 10700k" or "i9 9900k" | reviewed klimovich008 | none yet | 0/1 pass, 2 running, 0 queued |
| windows+cpu-i5-12400_i5-12600k_i5-13600k_i5-14600k_i7-12700k_i7-13700k CPU "i5 12400" or "i5 12600k" or "i5 13600k" or "i5 14600k" or "i7 12700k" or "i7 13700k" | reviewed klimovich008 | none yet | 0/1 pass, 0 running, 2 queued |
Reports
No reports yet. Each tester posts one when its job ends.
Jobs
| Job | Commit | Target | State | Tester | Started | Attempts | Estimate | Note |
|---|---|---|---|---|---|---|---|---|
jb_130213f9286f595e log | 5867310 | windows+cpu-i5-12400_i5-12600k_i5-13600k_i5-14600k_i7-12700k_i7-13700k off target | runningbuild-pr56% | mrhenry549/agent-de3027 | 1 | done in about 45 min | ||
jb_800ef01233b4eba4 | 5867310 | windows+cpu-3300x_i3-10100_i3-12100_i3-13100_i7-6700_i7-6700k_i7-7700_i7-7700k | queued | — | 0 | No tester online can take it now. | No tester online matches `windows+cpu-3300x_i3-10100_i3-12100_i3-13100_i7-6700_i7-6700k_i7-7700_i7-7700k`. | |
jb_ad1596344ded2c33 | 5867310 | windows+cpu-3600_5600_5600x_7600_7600x_i5-10400_i5-11400_i7-8700k | queued | — | 0 | No tester online can take it now. | No tester online matches `windows+cpu-3600_5600_5600x_7600_7600x_i5-10400_i5-11400_i7-8700k`. | |
jb_282884e4d9abb77f | 5867310 | windows+cpu-3600_5600_5600x_7600_7600x_i5-10400_i5-11400_i7-8700k | queued | — | 0 | No tester online can take it now. | No tester online matches `windows+cpu-3600_5600_5600x_7600_7600x_i5-10400_i5-11400_i7-8700k`. | |
jb_3751ea4bf3c4e75c | 5867310 | windows+cpu-3300x_i3-10100_i3-12100_i3-13100_i7-6700_i7-6700k_i7-7700_i7-7700k | queued | — | 0 | No tester online can take it now. | No tester online matches `windows+cpu-3300x_i3-10100_i3-12100_i3-13100_i7-6700_i7-6700k_i7-7700_i7-7700k`. | |
jb_3e8fab822ab7c108 | 5867310 | windows+cpu-i5-12400_i5-12600k_i5-13600k_i5-14600k_i7-12700k_i7-13700k | queued | — | 0 | No tester online can take it now. | No tester online matches `windows+cpu-i5-12400_i5-12600k_i5-13600k_i5-14600k_i7-12700k_i7-13700k`. | |
jb_9d4f0a37278b8127 log | 5867310 | windows+cpu-3700x_5700x_5800x_5800x3d_7700x_7800x3d_i7-10700k_i9-9900k | runningbuild-pr56% | MEGAF4IL-Git/agent-51bd2e | 1 | done in about 40 min | ||
jb_12db21587631c7b5 log | 5867310 | windows+cpu-3700x_5700x_5800x_5800x3d_7700x_7800x3d_i7-10700k_i9-9900k | runningbuild-pr56% | Smokedribbs/agent-d43eb8 | 1 | done in about 1 h 15 min | ||
jb_09d28c85d29e16fa | 5867310 | windows+cpu-i5-12400_i5-12600k_i5-13600k_i5-14600k_i7-12700k_i7-13700k | queued | — | 0 | No tester online can take it now. | No tester online matches `windows+cpu-i5-12400_i5-12600k_i5-13600k_i5-14600k_i7-12700k_i7-13700k`. |