Threads: three priority tiers (VICTORY_PRIORITY_TIERS) #374

Closed
github-bot wants to merge 0 commits from github-bot/gh-374 into main AGit
Owner

@⁠yagizakkaya01 on GitHub · 2026-12-01 19:37 UTC · original
yagizakkaya01:pr/tiers → main · +22 −1 · 2 files · 72 commits · closed without merging

Requested by yağız akkaya · project thread

For #361.

With VICTORY_HELPER_PRIORITY=1 the submitting thread, its helpers and the eight list translators all run at the same priority. In timelines the lock holders among them were often "woken, not running yet" while list translators held the cores. VICTORY_PRIORITY_TIERS=<submit>,<helpers>,<many> (each −2 to 2) sets three levels: the submitting thread, the threads that work for it or that a frame waits for (from 1 and 2 in cores::ask), and those whose work is ahead of the frame (from 3: list translators, some landing threads). It takes the place of HELPER_PRIORITY where given. Not given: as before.

Machine 1 (as in PR 1):

  • with JOURNAL_SHORT=1 (PR 2), together: preparing per frame 66 → 54 ms.
  • 2,1,0 against 2,1,-1 (translators below the title), with WIDE 6, THIN 6: 13.6 against 11.8 fps. Pushing the translators down makes the title wait for its lists.

A run with this switch alone is still to come.

🤖 Generated with Claude Code

**@⁠yagizakkaya01** on GitHub · 2026-12-01 19:37 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/374) `yagizakkaya01:pr/tiers` → `main` · +22 −1 · 2 files · 72 commits · closed without merging <!-- claude-projects-attribution: {"github_login":"yagizakkaya01"} --> _Requested by **yağız akkaya** · [project thread](https://claude.ai/code/project/chan_01NXDwzZjZwLk73ttN9aPba7?thread=cmsg_01NXDwzZjZwLk73ttN9aPba7JV4k53Ls6GvVA5PUvye88n)_ For #361. With `VICTORY_HELPER_PRIORITY=1` the submitting thread, its helpers and the eight list translators all run at the same priority. In timelines the lock holders among them were often "woken, not running yet" while list translators held the cores. `VICTORY_PRIORITY_TIERS=<submit>,<helpers>,<many>` (each −2 to 2) sets three levels: the submitting thread, the threads that work for it or that a frame waits for (`from` 1 and 2 in `cores::ask`), and those whose work is ahead of the frame (`from` 3: list translators, some landing threads). It takes the place of `HELPER_PRIORITY` where given. Not given: as before. **Machine 1** (as in PR 1): - with `JOURNAL_SHORT=1` (PR 2), together: `preparing per frame` 66 → 54 ms. - `2,1,0` against `2,1,-1` (translators below the title), with `WIDE 6, THIN 6`: 13.6 against 11.8 fps. Pushing the translators down makes the title wait for its lists. A run with this switch alone is still to come. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 19:37:44 +00:00
Author
Owner

@⁠readmet3xt-lab on GitHub · 2026-12-01 21:09 UTC · original

Thank you. Taken behind its switch (VICTORY_PRIORITY_TIERS, off unless set) and being measured alongside the existing helper-priority setting.

**@⁠readmet3xt-lab** on GitHub · 2026-12-01 21:09 UTC · [original](https://github.com/readmet3xt-lab/foxhound/pull/374#issuecomment-7325825807) Thank you. Taken behind its switch (`VICTORY_PRIORITY_TIERS`, off unless set) and being measured alongside the existing helper-priority setting.
github-bot closed this pull request 2026-12-02 07:54:32 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.