Hi everyone. I want to share my empirical findings and a PowerShell-based routing setup for minimizing DPC/ISR latency, scheduling jitter, and frame-pacing inconsistencies on modern hybrid Intel CPUs in Windows 11—without gutting OS services or using invasive third-party tools like Process Lasso.
Test Platform:
- Laptop: ASUS ROG Strix
- CPU: Intel Core i9-14900HX (8 P-cores Core 0–7 + 16 E-cores Core 8–23, Hyper-Threading disabled in BIOS = 24 logical threads)
- GPU: MSHybrid (Intel UHD Graphics + NVIDIA RTX 4060)
- Display: Sharp SHP1590 (2560x1600 @ 240Hz, 8-bit+FRC, custom EDID/ICM Display P3 profile)
- Audio / Network / Storage: Realtek ALC294 + Intel Smart Sound DSP | Intel Wi-Fi 6E AX211 | Samsung 990 PRO 1TB + Micron 1TB NVMe (DirectStorage / BypassIO active)
1. The Core Problem & Asymmetric Hybrid Approach
Standard core-pinning guides usually make one of two mistakes: either they leave everything to the default Windows scheduler (allowing explorer.exe, game launchers, and background telemetry to fire threads onto the same P-cores handling GPU/Audio interrupts), or they hard-lock critical bridges (dwm.exe, audiodg.exe) to tiny core masks, starving them during load spikes.
Instead, I implemented an Asymmetric Hybrid Isolation model:
1) Critical Output & Audio Bridges (dwm.exe, fontdrvhost.exe, audiodg.exe) get FULL freedom across all 24 threads (0xFFFFFF) combined with soft CPU Sets (SetProcessDefaultCpuSetMasks) to gently localize them near their respective GPU/Audio L2 clusters (P1–2 + E1 for DWM, P3 + E2 for Audio), keeping High priority and default Auto QoS.
2) Background Noise Sources get HARD ProcessorAffinity barriers:
- explorer.exe & shell hosts (ctfmon, TextInputHost, StartMenuExperienceHost) are locked to 0x0F0041 (Core 0, 6 + E3 cluster Core 16–19), physically keeping them off Core 1 (NVIDIA GPU) and Core 7 (Audio BUS). (Prior to this, thread tracing showed explorer.exe holding up to 31 threads on Core 7 and 22 threads on Core 1).
- Game launchers (steam, steamwebhelper, EpicGamesLauncher, GalaxyClient) are locked strictly into the E3 cluster (0x0F0000, Core 16–19) with EcoQoS enabled.
- Child processes (browsers like Chrome/Edge/Firefox and games) automatically have the 0x0F0041 / 0x0F0000 masks cleared back to all 24 threads (0xFFFFFF) so Chromium Mojo IPC and game engines never inherit the parent shell's restrictions.
- 46 background services/brokers are moved into hardware EcoQoS (PROCESS_POWER_THROTTLING_STATE) so Intel Thread Director schedules them on E-cores without starving foreground responsiveness.
2. Hardware IRQ/DPC Mapping & 30-Second Telemetry (irq_runs.csv)
Using MSI Mode (DevicePolicy = 4), hardware interrupts (ISR + DPC) were separated across dedicated P-cores to prevent L2 cache thrashing and Ring Bus contention.
Here are the measured 30-second averages across 5 test scenarios (Idle BT On / Idle BT Off / Idle BT Off #2 / YouTube Playback / Heavy Disk Read):
Code: Select all
P-Core | Hardware / Role | Measured IRQ/s | Measured DPC/s
-----------------+-------------------------------+-----------------------------+----------------------
Core 0 (0x01) | System timers + Shell input | 25 - 78 IRQ/s | Minimal
Core 1 (0x02) | NVIDIA RTX 4060 (MSI) | Display / Render | 50.0 - 55.8 DPC/s
Core 1+2 (0x06) | Intel UHD Graphics | Display / Composition | Localized w/ DWM
Core 4 (0x10) | Intel Wi-Fi 6E & Realtek Eth | 494 / 457 / 519 / 376 / 312 | 48 / 44 / 58 / 49 / 127
Core 5 (0x20) | Background + NVMe MSI-X | 524 / 358 / 296 / 430 / 420 | 72 / 51 / 36 / 45 / 135
Core 6 (0x40) | Intel USB 3.20 / xHCI | 31 / 26 / 101 / 66 / 77 | 27 / 26 / 18 / 23 / 16
Core 7 (0x80) | Intel Smart Sound & HDMI Aud | 12 IRQ/s (YouTube) | 2.8 DPC/s
- Core 0: Cleanest P-core (free of GPU & NVMe DPC); used as sync core for legacy 32-bit titles.
- Core 4 & 5: Absorb multi-queue NVMe DPC spikes (127 and 135 DPC/s) during heavy disk reads (multi-queue MSI-X left unlocked).
- E-cores (Core 8–23): Sit at ~0 DPC/s at idle, waking only for targeted CPU Sets or EcoQoS tasks.
3. Eliminating Bus State-Transition Penalties & Display Interception
To prevent micro-stutters caused by hardware wake-up latencies on AC power (while preserving full battery-saving states on DC):
- Bus Continuity (AC Power Only): Disabled PCI Express ASPM (0), USB Selective Suspend (0), NVMe DISKIDLE (0), and exposed/disabled NVMe APST (d639518a-e56d-4345-8af2-b9f32fb26109 = 0). On Intel Wi-Fi 6E AX211, set MIMOPowerSaveMode = 3 (No SMPS) while keeping ThroughputBoosterEnabled = 0.
- Display Pipeline: Disabled Multi-Plane Overlay (OverlayTestMode = 5) to keep desktop and video/windowed composition in a unified DWM path without gamma shifts, disabled Intel DPST (FeatureTestControl = 0x9250), and disabled Windows ACM on this 8-bit+FRC panel to avoid FP16 scRGB temporal dithering noise.
- Storage & Kernel: Verified active BypassIO (fsutil bypassIo state c:\), set disablelastaccess = 3, disable8dot3 = 1, and kept HAGS = 2, Win32PrioritySeparation = 2 (default), and core parking (CPMINCORES = 5) intact—as synthetic tweaks like Win32PrioritySeparation = 38, DisablePagingExecutive = 1, and HAGS = 1 degraded frame consistency in A/B testing.
4. Question for the Community
I currently have a read-only PowerShell audit script (ProtocolScanner) that verifies all 20 parameters across these 5 subsystems, plus a lightweight background watcher pinned to Core 23 (Idle + EcoQoS, 30-second polling interval, zero WMI calls in the loop).
GitHub repository: omihalych-coder / Windows11-Hybrid-MediaPipeline
Has anyone else tested soft CPU Sets + full 24-thread freedom for dwm.exe paired with hard E-core affinity barriers for explorer.exe and steamwebhelper.exe on 13th/14th Gen HX chips? I would appreciate any feedback or suggestions on additional telemetry metrics (e.g., PresentMon frame-time variance or ETW/WPR trace filters) worth benchmarking next!
