feat(m0): measure the game's own frame times and try yielding by priority instead of a GPU cap
The 95 % GPU cap is gone: it did not lower utilisation, slowed the LLM and a YouTube video did not stutter without it. What it was meant to protect is now measured directly in a game. The new on-demand game_frames stage records the game's frame times with PresentMon (pinned by hash, game process only, CSV deleted after reading) with Jarvis off, idle and busy in the game placement, and busy while Jarvis yields: its processes at below-normal CPU and GPU scheduling priority, read back to confirm, then restored. Busy rows run A B B A. The design docs record the candidate and the pre-registered rule for adopting it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
12
scripts/m0/run_m0_game_frames.bat
Normal file
12
scripts/m0/run_m0_game_frames.bat
Normal file
@@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
chcp 65001 >nul
|
||||
rem The game's frame times come from Windows event tracing, which needs administrator rights.
|
||||
rem Ask once here, before the game is started, so no prompt pops up over the game.
|
||||
net session >nul 2>&1
|
||||
if errorlevel 1 (
|
||||
powershell -NoProfile -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
|
||||
exit /b
|
||||
)
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0run_m0.ps1" -Only game_frames -Redo %*
|
||||
echo.
|
||||
pause
|
||||
Reference in New Issue
Block a user