Asymmetric Core Isolation (CPU Sets + IRQ Affinity) & Bus Continuity on Intel i9-14900HX (Windows 11)

Everything about latency. This section is mainly user/consumer discussion. (Peer-reviewed scientific discussion should go in Laboratory section). Tips, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
Post Reply
omihalych
Posts: 2
Joined: 28 Nov 2026, 09:27

Asymmetric Core Isolation (CPU Sets + IRQ Affinity) & Bus Continuity on Intel i9-14900HX (Windows 11)

Post by omihalych » Yesterday, 09:19

Project Summary (Windows 11 Hybrid Architecture Tuning)

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
Notes on cores:
- 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!

Hyote
Posts: 684
Joined: 09 Jan 2024, 18:08

Re: Asymmetric Core Isolation (CPU Sets + IRQ Affinity) & Bus Continuity on Intel i9-14900HX (Windows 11)

Post by Hyote » Yesterday, 17:55

I have something similar although not via PowerShell but instead of processes I target threads. Those that are especially important are tied to csrss. Also I recommend decimal 36 for Win32PrioritySeparation on 24H2+.

omihalych
Posts: 2
Joined: 28 Nov 2026, 09:27

Re: Asymmetric Core Isolation (CPU Sets + IRQ Affinity) & Bus Continuity on Intel i9-14900HX (Windows 11)

Post by omihalych » Yesterday, 18:39

Thanks for sharing your approach! That makes total sense from a pure competitive input-latency perspective — co-locating critical game threads with the Raw Input thread in csrss.exe keeps mouse polling on the exact same L2 cluster, and decimal 36 (Short, Variable, No Foreground Boost) forces faster thread preemption so input gets serviced sooner.

I actually went ahead and tested 36 (0x24) live on my setup just now, and reverted back to stock 2 (0x02). Here is why our goals diverge slightly:

1. Media & Frame Pacing vs. Raw Input Polling: Shortening scheduler quanta (36) increases context-switch frequency. While that can make mouse input feel snappier in fast-paced shooters, on a hybrid 14900HX focused on DWM frame pacing, video smoothness, and 32-bit/48kHz audio continuity, shorter quanta break L2 cache locality and introduce micro-jitter into the compositor and audio bridges. Stock 2 (Long, Variable) lets Intel Thread Director keep P-core execution smooth without chopping up media threads.

2. Native User-Mode Boundary: On Windows 11 24H2+, csrss.exe runs under Protected Process Light (PPL), meaning its affinity and thread masks cannot be touched from standard user-mode scripts without kernel drivers or PPL bypasses—which I intentionally avoid to keep everything 100% native, reproducible, and anti-cheat safe.

Different tools for different targets: your thread-level + csrss method is great for hardcore competitive shooters, whereas my process-level asymmetric hybrid (CPU Sets + AUTO-UNINHERIT) is built for zero-overhead desktop, media, and visual/audio fluidity. Appreciate the insight—added 0x24 to my tested log!


Hyote
Posts: 684
Joined: 09 Jan 2024, 18:08

Re: Asymmetric Core Isolation (CPU Sets + IRQ Affinity) & Bus Continuity on Intel i9-14900HX (Windows 11)

Post by Hyote » Today, 15:41

Sz3ypy wrote: ↑
Today, 05:02
Why 36 is better then 38?
OP is very detailed in every response and I'm glad to see someone with that level of knowledge. With my tweaking words: 36 decimal fires the fastest or something like that. There is a kernel value that is toggled in 24H2+ that makes it have the shortest quanta, again something like that.

Also a note to OP: don't be afraid to try out kernel drivers, I have 20 in my custom OSes, none signed, all loaded through vulnerable drivers and not me or one of my customers got banned or flagged in any game.

Post Reply