Windows: Line-Based vs. Message Signaled-Based Interrupts. MSI tool.

Discussion in 'Operating Systems' started by mbk1969, May 7, 2013.

  1. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,543
    Likes Received:
    13,563
    GPU:
    GF RTX 4070
    No. Leave all USB ports as is. Just try to connect keyboard and mouse to USB2.0 ones without companions. When you connect USB device in port with companions it has to use port routing logic (in controller) and there should be no difference - USB2.0 or USB3.0 port it was.

    You can set SATA AHCI controller to high priority - that is the default case for rigs without NVMe storage.

    Usually you believe in default settings of device drivers for NVMe. And if you see real problems you can toy with settings (not because someone told you).
     
    Coldblackice and amymor like this.
  2. XPMK4

    XPMK4 Guest

    Messages:
    5
    Likes Received:
    0
    GPU:
    RTX 2060 SUPER
    Wow, didn't think enabling MSI Mode would make such a difference! Wish I knew about this earlier.
    Resizing windows now feels way more fluid and it feels like I just upgraded to a RTX 30 series card.

    At first it didn't feel as smooth compared to emulated IRQ, but after setting my 2060S to "High" Priority, it was starting to feel better.
    The biggest difference was setting my "Samsung NVM Express controller" from "High" to "Undefined" Priority and now games feel as smooth and responsive as games with Nvidia Reflex. No more microstutters too in games like CyberPunk.

    After benchmarking, it doesn't seem like my 970 Evo Plus took a hit in performance but is there any reason why it is set to "High" priority by default?
     
  3. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,543
    Likes Received:
    13,563
    GPU:
    GF RTX 4070
    By the will of its drivers developers.
     
  4. XPMK4

    XPMK4 Guest

    Messages:
    5
    Likes Received:
    0
    GPU:
    RTX 2060 SUPER
    I see. Are there any downsides to changing device priority?
    What about reducing the "Limit" from 2048 to something more reasonable like 8 for the Samsung NVM Express controller? Since it uses 33 which is way more than the 8 threads I have in my system.
     

  5. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,543
    Likes Received:
    13,563
    GPU:
    GF RTX 4070
    Only one - we are not sure how exactly that tweak works and how to measure its effect.

    If NVMe controller utilizes multiple IRQs like network card - assigning each IRQ to separate CPU core and then servicing different network applications through separate IRQ - then it is logical to use as much IRQs as CPU cores in the system. But who knows whether this is the case... Fortunately there are benchmarks for storage devices, so you can experiment.
     
  6. XPMK4

    XPMK4 Guest

    Messages:
    5
    Likes Received:
    0
    GPU:
    RTX 2060 SUPER
    Funnily enough, lowering it down to just 1 IRQ doesn't seem to affect anything, all the benchmarks from CrystalDiskMark were within margin of error. Maybe a single consumer PCIe 3.0 NVMe drive isn't enough to saturate even one MSI? Perhaps the driver sets it to 33 just to activate MSI-X?
     
  7. gQx

    gQx Active Member

    Messages:
    54
    Likes Received:
    12
    GPU:
    2060/6144
    are there msi-x drivers? I thought msi-x not supports drivers yet
     
  8. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,543
    Likes Received:
    13,563
    GPU:
    GF RTX 4070
    No.

    No. Both MSI mode and MSI-X mode are ancient things - they were developed back in ancient PCI bus days.
     
  9. EdKiefer

    EdKiefer Ancient Guru

    Messages:
    3,128
    Likes Received:
    394
    GPU:
    ASUS TUF 3060ti
  10. gQx

    gQx Active Member

    Messages:
    54
    Likes Received:
    12
    GPU:
    2060/6144
    they are a little late to the party like me :) "powersettingexplorer tool removes %5 percent lock" it translates I should try that too
     

  11. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,543
    Likes Received:
    13,563
    GPU:
    GF RTX 4070
    There is error in article:
    The whole thing does require reboot, so not "in real time".
     
  12. EdKiefer

    EdKiefer Ancient Guru

    Messages:
    3,128
    Likes Received:
    394
    GPU:
    ASUS TUF 3060ti
    Yup, while it updates the reg you do need to reboot so driver goes to MSI IRQ.
     
  13. X7007

    X7007 Ancient Guru

    Messages:
    1,874
    Likes Received:
    72
    GPU:
    ZOTAC 4090 EXT AMP
    how do I reset the interrupt priority to default? I think even removing the device didn't restore it to default, I don't remember what was the priority for my Mellanox 4 LX network card and the Intel USB3 suppose to be undefined right?
     
  14. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,543
    Likes Received:
    13,563
    GPU:
    GF RTX 4070
    "Undefined" will remove setting from registry and device drivers will use device`s default. There is another default value - what was specified in device drivers inf-file. So you can find device drivers inf-file and see there.
     
  15. XPMK4

    XPMK4 Guest

    Messages:
    5
    Likes Received:
    0
    GPU:
    RTX 2060 SUPER
    Are there any downsides to lowering the number of MSI?
     

  16. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,543
    Likes Received:
    13,563
    GPU:
    GF RTX 4070
    Depends on usage pattern of multiple IRQs. For example, network cards can assign each IRQ to separate CPU core, and then each IRQ can be assigned to separate process (https://docs.microsoft.com/en-us/wi.../network/introduction-to-receive-side-scaling).
    What NVMe or USB controllers do with multiple IRQs I do not know.
    So to answer your question we have to know exact mechanics in device drivers.
     
  17. nixon

    nixon Member

    Messages:
    10
    Likes Received:
    0
    GPU:
    GTX570
    out of curiosity I tried turning off msi for the onboard i225-v or not running it in msi mode
    it bluescreens when loading windows with a reference pointer error and basically loops like that so you either go to an earlier restore point or disable the device in bios then boot and uninstall or reinstall drivers to correct it

    more curious as to why it has to run in msi mode or is it just conflicting when running normal irq and I can never see that because it won't allow me to get all the way into windows

    I doubt you can make the utility able to see disabled devices and their current setups in the registry when they are disabled so I guess any thoughts on the subject?
     
  18. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,543
    Likes Received:
    13,563
    GPU:
    GF RTX 4070
    Shared IRQs should be handled by Windows. Strange BSODs considering that network card is not needed at boot stage.

    I can do that, it just never occurred to me to be useful.
     
    nixon likes this.
  19. nixon

    nixon Member

    Messages:
    10
    Likes Received:
    0
    GPU:
    GTX570
    yeah I'm not entirely sure why it causes it but when I uncheck the box for the nic with the MSI_util_v3 and restart it goes into the bluescreen boot loop when it tries to load the windows login screen

    I wonder if it's just not something supported for the i225 nic
    oh, well that would be helpful to undo changes in some scenarios
     
  20. mbk1969

    mbk1969 Ancient Guru

    Messages:
    15,543
    Likes Received:
    13,563
    GPU:
    GF RTX 4070
    Maybe you enabled network stack in BIOS and Windows tries to respect that at boot?

    You are first person with such request. I am doubtful to add such feature because (I am sure) some people will change MSI mode for disabled device and then will get BSODs after enabling that device.
    I will look into it...
     

Share This Page