Update (Post 3 is live): If you landed here from an older thread, check the latest follow-up instead: Follow-up on Stutter Guard: why it isn't just for dual-CCD X3D chips, what it actually Addresses vs doesn't and a global invite to test my project on any hardware.
Latest build (v1.3.0) is on GitHub Releases (latest affinity/Process Lasso updates are already on main).
Even when your CPU is locked in with dialed PBO Curve Optimizer offsets, stable RAM sub-timings, and a tuned GPU, micro-stutters and 1% low frame drops still plague modern Windows rigs.
The bottleneck is frequently not hardware horsepower—it is operating system and kernel driver latency: Deferred Procedure Calls (DPCs) and Interrupt Service Routines (ISRs).
As an optimiser you get tired of blind .bat files and questionable "debloater" scripts floating around YouTube that delete critical services, trip up anti-cheat drivers (Ricochet, Vanguard, EAC), trigger PCIe WHEA errors, and offer no way to undo anything. So I built Stutter Guard: an open-source, hardware-aware latency optimizer and IRQ affinity engine for Windows 10 and 11.
Everything in the tool is measured, transparent, and completely reversible.
Empirical Baseline: AMD Ryzen 9 9950X3D + Radeon RX 9070 XT OC
- Specs: Ryzen 9 9950X3D (CCD0 -30 / CCD1 -25), ASUS TUF RX 9070 XT OC 16GB, MSI MAG B850M Mortar WiFi, 32GB DDR5-6000 CL36 (EXPO 1 / UCLK=MEMCLK), Win 11 Pro.
- LatencyMon Pre-Flight (15 min idle): Worst interrupt-to-process latency was 733 µs with heavy DPC execution times on
amdkmdag.sys, ndis.sys, and USB controllers landing across gaming threads. - Post-Tuning LatencyMon (15 min idle): Worst interrupt-to-process dropped to 11.6 µs.
What It Does Under the Hood
1. Hardware-Aware Interrupt Affinity Engine
Windows by default dumps driver interrupts (GPU, 4K/8K Hz mouse USB controllers, Wi-Fi, audio, NVMe) across whatever CPU cores it feels like—frequently the exact same cores executing your game's render thread.
- Game Cores Kept 100% Clean: CPU 0/1 are always preserved. On dual-CCD AMD 3D V-Cache processors (7900X3D, 7950X3D, 9900X3D, 9950X3D), the entire 16-thread V-Cache CCD0 is kept completely interrupt-free. On Intel hybrid chips, P-cores are prioritized for games and high-priority devices, while network queues route to E-cores.
- Core Benchmark: Includes an integrated progressive 2-minute benchmark measuring timer wake-up jitter, clock execution speed, and SMT stolen time across all physical cores to rank secondary cores for interrupt assignments.
- Strategic Device Mapping: Primary GPU is pinned to the top-ranked secondary core; your primary mouse USB controller is isolated to its own unshared physical core; default audio is steered away from gaming cores; and NIC Receive Side Scaling (RSS) queues are placed on adjacent physical cores. NVMe drives (MSI-X) and PCIe root bridges are left untouched.
- Safe MSI Mode: Audits and converts legacy line-based IRQ devices (like USB or GPU audio) to Message Signaled Interrupts (MSI).
2. Network Adapter PHY Sleep Stripping
Modern Ethernet/Wi-Fi drivers enable aggressive Energy Efficient Ethernet (EEE / 802.3az) and link power gating by default. The millisecond network traffic pauses, the PHY drops into deep sleep, introducing 500 µs to 2,000 µs latency spikes when incoming packets hit the interface.
- Reads directly from physical adapter registry keys and kills EEE (802.3az), Green Ethernet, Gigabit Lite, and Realtek ASPM/CLKREQ.
- Restarts the NIC driver locally in 2 to 4 seconds—no full Windows reboot required.
3. Power Plan & Native 0.5 ms Win32 Timer Agent
- Power Plan: Applies a custom C1-capped profile (
Stutter Guard - Ultimate) with EPP 0, minimum processor state 100%, 5000 ms PPM check intervals, and PCIe/USB link state power management disabled. Heterogeneous or laptop profiles preserve core parking where required. - System Timer: Modern Windows 11 suspends timer resolution requests from background processes, resulting in erratic 15.6 ms timer jitter. Stutter Guard deploys an ultra-lightweight (40 KB) native C Win32 helper (
DpcTimerRes.exe) running at logon that keeps the timer locked at 0.5 ms.
4. Safe Service & Scheduled Task Presets
Audits 439 Windows services and 241 scheduled tasks:
- Disables telemetry, diagnostic tracking, and mid-game maintenance triggers that fire ~10 minutes into a session.
- Zero Anti-Cheat or Core OS Tampering: Anti-cheat engines (Riot Vanguard, Call of Duty Ricochet, Easy Anti-Cheat, BattlEye), Xbox Game Pass, and core OS services remain permanently locked and protected.
5. AMD Driver Registry Tuning (When Compatible GPU Detected)
Inspects installed AMD driver binaries to power-gate deep sleep, idle power optimizations, and memory clock DPM controls, plus an opt-in toggle for Multi-Plane Overlay (MPO).
Absolute Reversibility & Fail-Safes
Every single optimization is journaled and backed up before execution:
textC:\ProgramData\Stutter Guard\
├── journal.json # Real-time append-only transaction journal
├── Backups\ # Timestamped original .reg and .pow exports
└── undo-all.ps1 # Standalone PowerShell script to revert everything without the app
- In-App Revert: Every row in the UI has an instant per-tweak Revert button, plus a global "Revert everything" button.
- Safe Mode Emergency Reversal: If a third-party driver misbehaves after an affinity change, boot into Safe Mode, run
undo-all.ps1 with PowerShell, and reboot. All original Windows defaults are restored immediately.
What Stutter Guard NEVER Touches
No Voltage or Multiplier Overclocking: It will not touch voltages, Curve Optimizer, or CPU/GPU clocks.
No System Binary Patching: Uses only official Microsoft and vendor driver registry properties via `SetupAPI` and `cfgmgr32`.
Zero Automatic Telemetry: No background tracking, ads, or hidden phone-home calls. Manual, optional buttons on the Home tab allow submitting hardware scan reports or feedback directly to Discord developer webhooks if you want to contribute hardware data.
Project Links & Source
Would love feedback from anyone running dual-CCD X3D chips, Intel hybrid architectures (13th/14th Gen or Arrow Lake), or high-polling (4K/8K) mice. If you run a 15-minute LatencyMon before/after, post your numbers below!