Skip to content

Version 1.7.0: suggested interrupt layout, audio-aware core choice, device advice - #25

Merged
PrimeBuild-pc merged 6 commits into
mainfrom
feat/next-release
Nov 3, 2026
Merged

PrimeBuild-pc merged 6 commits into
mainfrom
feat/next-release

Conversation

@PrimeBuild-pc

Copy link
Copy Markdown
Owner

Summary

  • Suggested interrupt layout (Devices → Affinity): one physical core each for graphics, USB, network and audio, outside core 0, chosen from the live CPU topology:
    • P-cores only on hybrid CPUs;
    • on dual-CCD CPUs the CCD without 3D V-Cache, or the one without CPU 0 when the caches are equal;
    • up to 6 cores, network and audio share a core.
      Only the affinity changes (MSI and priority stay), with one backup and one elevation for the whole layout; each device is undone with the existing restore.
  • Only devices in use get a mask: disabled or not working devices and network cards without a link are left out, with the reason in the preview.
  • Audio:
    • the HDMI/DisplayPort audio of the graphics card (same PCI slot and vendor as a display device) and HD Audio controllers whose audio devices are all disabled are skipped;
    • the USB controller carrying the default playback or recording device (DAC, audio interface, USB headset) gets the audio core when no mouse or keyboard shares it; a headset's own media keys do not count as a keyboard;
    • when the audio device shares a controller with input, the preview suggests a port on a free controller;
    • a warning when the default playback or recording device uses a front-panel jack of the case (from the driver's jack description).
  • Preview:
    • what is plugged into each USB controller (mouse, keyboard, camera, default audio);
    • the load of the cores in use and CPU 0 over 2 seconds (busy share, interrupts and DPC, interrupts per second; language independent), with a warning when a chosen core is already busy. Cores are never moved automatically: an idle sample is not the load of a game;
    • for devices already set, whether Windows uses the layout now or only after a restart, read from the interrupts Windows allocated in this boot;
    • MSI offered, unticked, where the driver supports it but it is off;
    • a warning for storage controllers tied to a single CPU.
  • Startup check: TweakHub warns when a driver update reset the layout on some devices (the backup is still there but the value is back to the original).
  • Disable unused also suggests, unticked: the slower of two live network connections (wired before Wi-Fi, then the fastest link), the graphics card's HDMI/DisplayPort audio and a built-in sound card when no default playback or recording device uses them.
  • External tools: NVIDIA VBIOS Vix Editor (GPU & Display), with its warnings in the description.
  • README: "New in 1.7.0" section.

Testing

  • dotnet test: 413/413. Release build: 0 warnings.
  • Physical PC (Ryzen 7 5800X3D, RX 6950 XT, two I226-V, Wi-Fi 3168, USB DAC and audio interface):
    • layout applied and restored with ApplyAffinitiesAsync and the per-device restore on 8 devices; the interrupt registry matched a backup taken before;
    • read-only checks: Wi-Fi and one I226-V (disabled) are left out, HDMI audio skipped, default audio devices matched to their USB controllers, allocated interrupt affinities read correctly (NVMe shows one CPU per message);
    • layout preview and Disable unused dialogs opened in the Release build and cancelled.
  • Not seen live: "Active now" after a real restart, the startup reset warning, the MSI box and the audio and second-connection suggestions (this PC has no such case; unit tests only). The front-panel jack warning is unit tested only (no onboard audio active on this PC).

- Devices > Affinity: "Suggested layout by role" picks one physical core per
  role (graphics, USB, network, audio) outside core 0 from the live topology:
  P-cores only on hybrid CPUs, the L3 without 3D V-Cache on dual CCD, shared
  network/audio core up to 6 cores. Preview with one checkbox per device; only
  DevicePolicy and AssignmentSetOverride change, with one backup and one
  elevation, restored per device. L3 caches are read from
  GetLogicalProcessorInformationEx; HD Audio controllers are recognised by
  their PCI class code. Network RSS is not changed.
- External tools: NVIDIA VBIOS Vix Editor (GPU & Display) with its warnings
  in 6 languages.

Not released yet: listed in docs/UNRELEASED.md for the next version.
The interrupt layout gave the audio core to the HDMI/DisplayPort audio of the
graphics card. Skip it (same PCI slot and vendor as a display device) and skip
HD Audio controllers whose audio devices are all disabled; when none is left
the preview says USB audio follows its USB controller's core.
…ayout

The USB controller that carries the default playback or recording device gets
the audio core when no mouse or keyboard shares it. The preview lists what is
on each USB controller, suggests a free controller for shared audio devices,
warns about headphones on a front-panel jack and shows the measured load of
the chosen cores.
… advice

Disabled devices and network cards without a link get no affinity. The
preview tells whether Windows already uses a set affinity or needs a restart,
offers MSI unticked, warns about storage pinned to one CPU, and the app warns
at startup when a driver update reset the layout. Disable unused also suggests
the slower of two live connections and audio functions nobody uses.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T22:17:17.925499Z
We couldn’t complete this review. Comment @codex review to try again.
8f86151 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@PrimeBuild-pc
PrimeBuild-pc merged commit f475b84 into main Nov 3, 2026
1 check passed
@PrimeBuild-pc
PrimeBuild-pc deleted the feat/next-release branch November 3, 2026 22:17
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