how to create kaffinity mask

  1.    09 Oct 2017 #1

    how to create kaffinity mask

    i need select cpu cores on which will be processed dpc and isr.
    And i have no idea how to create kaffinity mask, it is 64bit value, which is in registry as binary value.
    I have 8 cores, 4 physical and 4 threads.
    I don't even know which are physical and which threads and how to obtain such information.
    I want to exclude 2 physical cores from processing dpc and isr.
    Interrupt Affinity | Microsoft Docs
    IoConnectInterrupt routine (Windows Drivers)
    There is calculator, but i don't know if affinity mask is same as kaffinity mask and i didn't find anything usefull searching for kaffinity mask.
    Affinity Mask Calculator - Prepar3D (P3D V1, V2, V3 & V4) - Flight Simulator X - FSX Steam Edition
    Thank you very much.
      My ComputerSystem Spec

  2. bro67's Avatar
    Posts : 5,225
    Mac OS High Sierra 10.13.5
       10 Oct 2017 #2

    Windows is going to automatically adjust for the cores available, depending on your bios settings. You should not have to make any changes, since it is not going to do anything. That last link has everything in it what they are doing for the Flight Simulator if you are wanting to use that.
      My ComputerSystem Spec

  3.    10 Oct 2017 #3

      My ComputerSystem Spec

  4.    11 Oct 2017 #4

    I found tool, which allow me to change it.
    Interrupt Affinity Policy Tool and unexpected affinity mask type

    But i have problem, i set affinity for usb devices, which are using driver usbport.sys and system assigned other drivers to cores i want to make dpc free.
    I just need to set affinity for devices in registry which using drivers, that are displaying in latencymon.
    I am currently looking for devices which uses tcpip.sys i looked to device manager and checked show hidden devices and open every network adapter -> drivers tab and there was nowhere tcpip.sys driver under these adapters which confuses me, because i woudl expect tcpip.sys would have to do something with network adapters. And yet looking for ntoskrnl.exe and ndis.sys, dxgkrnl.sys.
    If know which devices correspond to this.
      My ComputerSystem Spec


Related Threads
Windows 10 Insider Preview Build 15002 gave a facelift to Hyper-V as told earlier on Ten Forums. One of the new cool things is a new feature in Hyper-V Manager called Quick Create. With it you can create a new virtual machine (VM) literally (yes,...
When I try to access Windows Firewall Advanced Settings I get an error:"MMC could not create the snap-in. The snap-in might not have been installed correctly."I have followed instructions on various forums attempting to fix, such as:deleting the...
create iso for w10 in Performance & Maintenance
Hi, upgraded W7 (clean install) to W10. on root C: have a folder C:\ESD\Windows that contains files and folders of DVD content (probably iso content, created during a setup) and related to reset if needed. See pic... The question: I want to...
want to create a shortcut for ' create restore point'. managed to find the ' use a restore point file' but this only allows restoration from a restore point not. relation of one. i know there a few ways to do this, but want to put a link on my...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 09:46.
Find Us