zoukankan      html  css  js  c++  java
  • 禁用MSI模式支持

    禁用MSI模式支持

    https://support.microsoft.com/en-us/help/3083595/task-manager-might-show-100-disk-utilization-on-windows-10-devices-wit

    Task Manager might show 100% disk utilization on Windows 10 devices with Message Signaled Interrupt (MSI) mode enabled

    Applies to: Windows 10

     

    Symptoms


    Task Manager shows the disk to be at 100% utilization despite a light or no workload, and the system may experience lag or become unresponsive. In addition, the system event log contains numerous events with Event ID 129, which represent resets of the disk controller.

    While device resets can be caused by a varying number of factors, we are aware of issues with some Advanced Host Controller Interface PCI-Express(AHCI PCIe) models that causes these symptoms in Windows 10 when running with the inbox StorAHCI.sys driver. Due to a firmware bug, the Solid-state drive (SSD) does not properly complete input/output when Message Signaled Interrupt (MSI) mode is enabled. As a result, the Windows storage stack attempts to reset the device after waiting on unresponsive reads or writes for a period of time.

    MSI mode can be disabled for specific devices via the registry:

    1. Identify if you are running the inbox AHCI driver (StorAHCI.sys):

      1. Open a command prompt with administrator privileges. Then type the following command in the command prompt window and hit Enter: devmgmt.msc
      2. Under IDE ATA/ATAPI Controllers right-click on the AHCI controller node and select Properties. This node is usually called “Standard SATA AHCI Controller.”
      3. Navigate to the driver tab and click Driver Details.
      4. If you see “StorAHCI.sys” in the list, you are running the inbox driver.
    2. Disable MSI for the controller in the registry:
      1. In the same properties window opened in step 1.2, navigate to the Details tab and select Device instance path from the Property drop-down menu. Note this path.
      2. Open the registry editor by typing regedit in the previously opened command prompt.
      3. Navigate to: HKEY_LOCAL_MACHINESystemCurrentControlSetEnumPCI <AHCI Controller>Device ParametersInterrupt ManagementMessageSignaledInterruptProperties, where <AHCI Controller> refers to the device instance path you noted in step 2.1. 
      4. Change the value of the MSISupported key from “1” to “0”.
      5. If you don’t know which controller your boot device is attached to, repeat steps 2.1 through 2.4 for all AHCI controllers found under 1.2.
    3. Reboot the machine.
     

    Last Updated: Jul 29, 2015

    实际操作:
    1.右击我的电脑,点击管理按钮-->系统工具-->事件查看器-->Windows日志-->系统,右击将所有日志另存为文本,之后搜索129,如果有以下数据 :

    警告2017/1/23 15:37:45storahci  129 无 发出了对设备 DeviceRaidPort0 的重置。

    说明是这个问题:

    某些AHCI模式下使用StorAHCI.sys驱动时,可能导致个别SSD无法在“信息信号中断”(MSI)模式下完成正确的输入/输出操作,最终表现就是系统停滞。当然解决的方法是直接在regedit里关闭它(MSI Mode)。

    2.右击我的电脑,点击管理按钮-->系统工具-->设备管理器-->IDE ATA/ATAPI控制器-->AHCI 控制器,右击属性,选择详情信息,属性(P)选择设备实时路径,可以看到路径PATH;

    3.win+R键打开运行,输入regedit,打开注册表编辑器,找到路径 HKEY_LOCAL_MACHINESystemCurrentControlSetEnumPCI <AHCI Controller>(2里面的PATH)Device ParametersInterrupt ManagementMessageSignaledInterruptProperties;

    4.可以看到右窗格中的“MSISupported”键值,由1改为0;


    ================== End

     
  • 相关阅读:
    Java中的多线程
    Service组件
    Notification和Notification Manager的使用
    Java网络编程
    Intent组件
    Android 多任务多线程断点下载
    hdu 2045
    hdu 2492
    poj 2785
    湖南省第六届程序设计大赛D(台球碰撞)
  • 原文地址:https://www.cnblogs.com/lsgxeva/p/12522606.html
Copyright © 2011-2022 走看看