Beanstalk Longshot test farm
Menu

#2360 WIP: perf(os): HOS_WORKERS_SPREAD=1 puts the six job workers on one logical processor of each whole core (off by default)

by klimovich008 open Open on Forgejo

Commit

Head
04fd9a5
Base
main 0e32bc1
Run
2
Approval
approved klimovich008, · reviewed

Plan (gpt-6.1-terra)

Compare worker spreading on and off in Lost Woods and Hyrule Field

⚠️ Note: Two runs per cell are used rather than the requested three to stay within the farm's 60-minute limit; this reduces confidence in small performance differences.

⚠️ Note: The schema cannot restrict expected log lines by target and switch cell, so the placement and decline messages are not judged; on the six-core target both cells should use the same placement.

⚠️ Note: The Linux target cannot enforce SMT or an eight-core minimum, and the farm cannot verify live worker affinity masks or reproduce the background-thread stall test.

In plain words

The plan compares worker spreading on and off in the PR build on the requested Windows CPU groups and Linux, with uncapped frame rates and frame generation off. Each start measures child Lost Woods and Hyrule Field for 30 seconds apiece; FPS, frame times and run-wide hitches are reported. A crash, an FPS loss over 3%, or a p99 frame-time increase over 10% in either scene fails the comparison. Some requested CPU groups may wait for a matching online tester. No tester online now matches windows+cpu-i7-10700_i7-10700k_i7-11700k_i9-9900_i9-9900k, windows+cpu-3600_5600_5600x_7600_7600x_i5-10400_i5-11400_i7-8700k: those targets wait for one.

Asked for

(the first plan was refused: 'against' must be one of the switch's values, so 0 is the off side; 0 is exactly unset, main's placement): the PR's own build only, its switch against itself: baseline ref = pr, [matrix.pr_only] HOS_WORKERS_SPREAD = ["0", "1"], and [[pass.compare]] HOS_WORKERS_SPREAD = "1" against "0" on the pr side. It is a runtime switch (read at start), so one build serves both sides. **3 game starts a cell.** What it does: with it on, the game's six job workers (BaseProcExecutor*) get one logical processor of each whole core the game may use, so no two share an SMT core. It acts only on SMT CPUs with more than 6 whole cores beside the render thread's reserved one, and declines (logged) elsewhere. Targets, 1-2 reports each, by model; don't let the plan wait on any one: - Windows, 8-core SMT without V-Cache (Zen 3/4): Ryzen 7 5700X, 5800X, 7700X, 7700; - Windows, Intel 8-core with Hyper-Threading and no E-cores: i9-9900K, i9-9900, i7-10700K, i7-10700, i7-11700K; - Windows, a 12-core SMT CPU: Ryzen 9 3900X, 5900X, 7900X, 7900; - Windows, a 6-core SMT CPU (6C/12T), where it must decline: Ryzen 5 3600, 5600X, 5600, 7600X, 7600, i5-10400, i5-11400, i7-8700K; - Linux, any SMT CPU with 8 cores or more (any GPU). No Steam Deck (4 cores: it declines there by design). Settings: frame_rate_cap = 6 (Uncapped), vsync = 2 (Off), frame_generation = 0; headless is fine (nothing in the present path changes). Scenes, in one start: Lost Woods as child Link (from the save kokiri-start, teleport destination 5) measured 30 s, our standard scene, where the workers hold the frame; then Hyrule Field (HyruleField_Child) measured 30 s. Compare rules, pr side, =1 vs =0, per scene: fps_mean min_delta_pct = 3 (fail on a loss of more than 3 %), 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: "threads: HOS_WORKERS_SPREAD=1: the job workers (BaseProcExecutor*) on logical processors" expect

Raw plan 166 lines Download plan.json

  "pass" 
    "crash" false
    "compare" 
      
        "axis" "HOS_WORKERS_SPREAD"
        "side" "pr"
        "value" "1"
        "metric" "fps_mean"
        "against" "0"
        "min_delta_pct" 3
      
      
        "axis" "HOS_WORKERS_SPREAD"
        "side" "pr"
        "value" "1"
        "metric" "frametime_p99_ms"
        "against" "0"
        "max_delta_pct" 10
      
    
  
  "probe" 
    
      "kind" "crash"
    
    
      "kind" "frametime"
    
    
      "kind" "draws"
    
  
  "matrix" 
    "pr_only" 
      "HOS_WORKERS_SPREAD" 
        "0"
        "1"
      
    
  
  "schema" 8
  "target" 
    
      "cpu" 
        "5700x"
        "5800x"
        "7700"
        "7700x"
      
      "name" "windows+cpu-5700x_5800x_7700_7700x"
      "tags" 
        "windows"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "cpu" 
        "i7 10700"
        "i7 10700k"
        "i7 11700k"
        "i9 9900"
        "i9 9900k"
      
      "name" "windows+cpu-i7-10700_i7-10700k_i7-11700k_i9-9900_i9-9900k"
      "tags" 
        "windows"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "cpu" 
        "3900x"
        "5900x"
        "7900"
        "7900x"
      
      "name" "windows+cpu-3900x_5900x_7900_7900x"
      "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
    
    
      "name" "linux"
      "tags" 
        "linux"
      
      "max_reports" 2
      "min_reports" 1
    
  
  "summary" "Compare worker spreading on and off in Lost Woods and Hyrule Field"
  "baseline" 
    "ref" "pr"
  
  "scenario" 
    
      "env" 
      "name" "woods-and-field"
      "runs" 2
      "step" 
        
          "do" "teleport"
          "to" "LostWood_Child"
        
        
          "do" "wait"
          "map" "LostWood_Child"
          "event" "map"
          "timeout_s" 60
        
        
          "do" "measure"
          "name" "woods"
          "warmup_s" 10
          "duration_s" 30
        
        
          "do" "teleport"
          "to" "HyruleField_Child"
        
        
          "do" "wait"
          "map" "HyruleField_Child"
          "event" "map"
          "timeout_s" 60
        
        
          "do" "measure"
          "name" "field"
          "warmup_s" 10
          "duration_s" 30
        
      
      "start" "save:kokiri-start"
      "matrix" true
      "settings" 
        "vsync" 2
        "frame_rate_cap" 6
        "frame_generation" 0
      
    
  

Targets

TargetTierReportsStatus
windows+cpu-5700x_5800x_7700_7700x CPU "5700x" or "5800x" or "7700" or "7700x"reviewed klimovich008 1 2 1/1 pass
windows+cpu-i7-10700_i7-10700k_i7-11700k_i9-9900_i9-9900k CPU "i7 10700" or "i7 10700k" or "i7 11700k" or "i9 9900" or "i9 9900k"reviewed klimovich008 none yet 0/1 pass, 0 running, 2 queued
windows+cpu-3900x_5900x_7900_7900x CPU "3900x" or "5900x" or "7900" or "7900x"reviewed klimovich008 1 2 2/1 pass
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
linuxreviewed klimovich008 1 2 0/1 pass, 2 error

Reports

ReportCommitTargetTesterResultWhen
rp_25e270307d7402c104fd9a5 run 2windows+cpu-5700x_5800x_7700_7700x nanreh/agent-0f15c6error
rp_0ff0bcce8f66302f04fd9a5 run 2windows+cpu-5700x_5800x_7700_7700x Hellknight/agent-ff6c58pass
rp_3ba3e8b66e9c7f2e04fd9a5 run 2windows+cpu-3900x_5900x_7900_7900x Samsheperd/agent-a9f512pass outlier
rp_48b64b2b30d9db0d04fd9a5 run 2windows+cpu-3900x_5900x_7900_7900x enum/agent-5773edpass outlier
rp_b3a679ea547bdd3204fd9a5 run 2linux McButt531/agent-b08055error
rp_79a292a246ebce6304fd9a5 run 2linux Simon-Olivier/agent-1b2b4ferror

Jobs

No tester has a PC for `windows+cpu-i7-10700_i7-10700k_i7-11700k_i9-9900_i9-9900k` (none seen in 14 days): it waits until one signs in.

JobCommitTargetStateTesterStartedAttemptsEstimateNote
jb_29de89e8f5b6f119 log04fd9a5windows+cpu-5700x_5800x_7700_7700x done build-prnanreh/agent-0f15c61
jb_b99caf22da5fa447 log04fd9a5windows+cpu-5700x_5800x_7700_7700x done reportHellknight/agent-ff6c581
jb_9177ea195af1e9a9 log04fd9a5windows+cpu-3900x_5900x_7900_7900x done reportenum/agent-5773ed1
jb_52226e527cba749804fd9a5windows+cpu-i7-10700_i7-10700k_i7-11700k_i9-9900_i9-9900k queued—0 No tester has a PC for `windows+cpu-i7-10700_i7-10700k_i7-11700k_i9-9900_i9-9900k` (none seen in 14 days): it waits until one signs in.No tester online matches `windows+cpu-i7-10700_i7-10700k_i7-11700k_i9-9900_i9-9900k`.
jb_a0012f13cf032ed704fd9a5windows+cpu-i7-10700_i7-10700k_i7-11700k_i9-9900_i9-9900k queued—0 No tester has a PC for `windows+cpu-i7-10700_i7-10700k_i7-11700k_i9-9900_i9-9900k` (none seen in 14 days): it waits until one signs in.No tester online matches `windows+cpu-i7-10700_i7-10700k_i7-11700k_i9-9900_i9-9900k`.
jb_e3dfe8201a28775204fd9a5windows+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_a7999b55a2e93c4404fd9a5windows+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_81b331689b9a63f6 log04fd9a5linux done build-prSimon-Olivier/agent-1b2b4f1
jb_517ef096da5be5f6 log04fd9a5linux done reportMcButt531/agent-b080551
jb_155e99331ed86371 log04fd9a5windows+cpu-3900x_5900x_7900_7900x done reportSamsheperd/agent-a9f5121
jb_7b43eabfc92f6650 log04fd9a5any cancelled build-prSimon-Olivier/agent-1b2b4f1 re-planned by klimovich008
jb_3339166119d3f0e9 log04fd9a5any cancelled build-baseSamsheperd/agent-a9f5121 re-planned by klimovich008