Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Using Microsoft’s Interrupt-Affinity Policy Tool (backup link), one can set affinity for a driver’s interrupts. Don’t go overboard. You may actually make the system perform worse if you randomly start setting affinities or set too many devices onto a single core.
- Do not change the NVME driver or SATA driver. You will brick your Windows. On Windows 7 you can change the SATA driver, but I’m not sure about NVME.
- Default install dir: C:\Program Files (x86)\Microsoft Corporation\Interrupt Affinity Policy Tool (use the x64 executable)
- Run as admin
- Select a driver and “Set Mask” (this is for IrqPolicySpecifiedProcessors)
- Select the cores you want the driver to be exclusively executed on
- If you have HT or SMT, select every other CPU to ensure one core doesn’t get two interrupts at once, there is more nuance to this but generally you don’t want to share execution units
- If you have a Ryzen CPU, try to keep the drivers pinned to one CCX only (CPUs 0-3 and 4-7 on an eight-core, 0-2 and 3-5 on a six core)
- Press the “Advanced…” button for other choices if you wish
- Do not restart any drivers for storage devices or PCIe controllers with storage devices attached, restart your PC instead to prevent risk of data loss
- Open Device Manager and click View→Devices by connection then expand all devices, you will need this to see which devices are under certain PCIe controllers
- These devices are fine to set, as they are most responsible for input/performance:
- GPU; works best on a single core
- Set the PCIe controller that the GPU is connected to onto the same core
- Setting the graphics card onto a single core gives the best performance, however setting it to a busy core will result in worse performance. You will have to find out which core performs best by benchmarking, such as using menu FPS or something very consistent with high FPS (300+) that you can reproduce easily
- Keep a mental list of cores that are the most performant
- USB controllers (also works best on a single core, test polling using MouseTester)
- PCIe Controllers (you should set the PCIe controller onto the same cores that you set its devices as, i.e. if you set the GPU to core 0, you should set the PCIe controller as core 0 as well)
- Based on my testing, the above settings result in better FPS/responsiveness/smoothness
- This tool can also show hidden devices in MSI util if you change the setting at least once using this program
- Every time you update the Nvidia driver you have to reset the affinity
- Only devices with IRQs will benefit, seen under Device Manager → View → Resources by Connection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement