Skip to content

tools: add a cool-down hook that skips after chunks that ran nothing - #2

Merged
RyanTheTide merged 1 commit into
mainfrom
runner/cooldown-hook
Oct 28, 2026
Merged

RyanTheTide merged 1 commit into
mainfrom
runner/cooldown-hook

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

Records on the J616s used a local, unpublished cool-down hook before every chunk. With no ray tracing on that driver, every RT chunk skips in 0 s but still waited out a 60 to 250 s cool-down. The 2026-10-28 record spent over half an hour that way.

This publishes the hook as GB_COOLDOWN_CMD in run-linux.sh and run-macos.sh. The script gets the record directory and chunk name. It is skipped when the previous chunk recorded no ok rows, since that chunk added no heat. The README documents it.

Testing

  • Stub run with chunks core-a, rt-a, rt-b, rt-c, core-b, core-c, where the rt chunks only write skip rows. The cool-down ran before core-a, rt-a and core-c, and not before rt-b, rt-c or core-b.
  • Real run on the Neo (Mesa 0.16, where ray tracing runs): rt-sweep-water-tris, rt-sweep-dyn-patches, core-a each recorded ok rows, and each got its cool-down as before.
  • Without GB_COOLDOWN_CMD nothing changes.

🤖 Generated with Claude Code

GB_COOLDOWN_CMD names a script that run-linux.sh and run-macos.sh run
before each chunk with the record directory and chunk name. It is
skipped when the previous chunk recorded no ok rows, since such a chunk
added no heat. On the J616s the ray-tracing chunks skip on a driver
without ray tracing, and each one used to wait out a 60-250 s cool-down
for nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RyanTheTide
RyanTheTide merged commit 94d5201 into main Oct 28, 2026
@RyanTheTide
RyanTheTide deleted the runner/cooldown-hook branch October 28, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant