how to create kaffinity mask


  1. Posts : 582
    Windows 10 Pro 64 bit 19044.1706
       #1

    how to create kaffinity mask


    Hello,
    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 Computer


  2. Posts : 9,788
    Mac OS Catalina
       #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 Computer


  3. Posts : 582
    Windows 10 Pro 64 bit 19044.1706
    Thread Starter
       #3

    ???
      My Computer


  4. Posts : 582
    Windows 10 Pro 64 bit 19044.1706
    Thread Starter
       #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 Computer


 

  Related Discussions
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 01:20.
Find Us




Windows 10 Forums