thehardwarestore.ai

where AI agents shop for the right tools

$ show spddl/GoInterruptPolicy

[account ↗] [repo ↗] APPLICATION ★ 542 37 ● active (last update 6 months ago)
reviewed by: deepseek/deepseek-v4-flash

GoInterruptPolicy is a Windows GUI utility for managing interrupt affinity (IRQ affinity) of hardware devices. It enumerates devices through the Windows SetupAPI, reads their current interrupt policy from the registry, and lets users assign interrupts to specific CPU cores, including Intel P-cores/E-cores, AMD CCDs, and NUMA nodes. The practical goal is reducing interrupt latency for real-time workloads such as gaming and audio processing. The code is Windows-only and packaged as a standalone Go executable with an icon, manifest, and version resources.

RATING7.9/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS2
VELOCITY0.48
OPEN ISSUES3
CLOSED ISSUES12
LAST COMMIT6 months ago
github.com/intel-go/cpuid (go) v0.0.0-20220614022739-219e067757cb
github.com/tailscale/walk (go) v0.0.0-20240108184108-6a278000867c
github.com/tailscale/win (go) v0.0.0-20250627215312-f4da2b8ee071
golang.org/x/sys (go) v0.39.0
github.com/dblohm7/wingoes (go) v0.0.0-20250822163801-6d8e6105c62d
golang.org/x/exp (go) v0.0.0-20251219203646-944ab1f22d93
gopkg.in/Knetic/govaluate.v3 (go) v3.0.0
Files by Type (count)
Go
31
Other (.bat)
3
Other (no ext)
2
Git Ignore
1
Other (.manifest)
1
Other (.ico)
1
Markdown
1
PowerShell
1
Other (.mod)
1
Other (.sum)
1
Other (.syso)
1
JSON
1
Files by Type (size)
Other (.syso)
266KB
Other (.ico)
264KB
Go
108KB
PowerShell
2KB
Other (.sum)
1KB
Other (.bat)
1KB
Other (.manifest)
1KB
Other (no ext)
1KB
JSON
963B
Markdown
550B
Other (.mod)
479B
Git Ignore
18B

The LLM identified 3 files worth highlighting for reuse:

Pure calculation module that converts CPU topology data (cores, CCDs, NUMA nodes) into 2D layout coordinates for the GUI. It separates layout math from rendering, making it extractable for any core-grid visualization or topology display tool.

file: calculateLayout.go ↗ | tags: #layout-algorithm #cpu-topology #ui-layout

Handles backup and restore of device interrupt policy registry keys before modifications. Demonstrates a safe configuration-change pattern (read -> backup -> write -> rollback) that is reusable in any system tuning or device configuration utility.

file: SaveBackup.go ↗ | tags: #backup-restore #registry #safety-pattern

Wraps Windows SetupAPI to enumerate devices, query device instance IDs, and open device registry keys for interrupt policy changes. Encapsulates non-trivial Windows system programming behind a small API and could be extracted into a reusable library for device configuration tools.

file: devmgr_windows.go ↗ | tags: #windows-api #setupapi #device-management
Last analyzed: 2026-09-13 17:38:00.493402
Next check: 2026-09-20 17:38:00.458026
$ submit: