禁用MSI模式支持
Task Manager might show 100% disk utilization on Windows 10 devices with Message Signaled Interrupt (MSI) mode enabled
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:
- Identify if you are running the inbox AHCI driver (StorAHCI.sys):
- Open a command prompt with administrator privileges. Then type the following command in the command prompt window and hit Enter: devmgmt.msc
- Under IDE ATA/ATAPI Controllers right-click on the AHCI controller node and select Properties. This node is usually called “Standard SATA AHCI Controller.”
- Navigate to the driver tab and click Driver Details.
- If you see “StorAHCI.sys” in the list, you are running the inbox driver.
- Disable MSI for the controller in the registry:
- 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.
- Open the registry editor by typing regedit in the previously opened command prompt.
- Navigate to: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\PCI\ <AHCI Controller>\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties, where <AHCI Controller> refers to the device instance path you noted in step 2.1.
- Change the value of the MSISupported key from “1” to “0”.
- 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.
- Reboot the machine.
Last Updated: Jul 29, 2015
實際操作:
1.右擊我的電腦,點擊管理按鈕-->系統工具-->事件查看器-->Windows日志-->系統,右擊將所有日志另存為文本,之后搜索129,如果有以下數據 :
警告2017/1/23 15:37:45storahci 129 無 發出了對設備 \Device\RaidPort0 的重置。
說明是這個問題:
某些AHCI模式下使用StorAHCI.sys驅動時,可能導致個別SSD無法在“信息信號中斷”(MSI)模式下完成正確的輸入/輸出操作,最終表現就是系統停滯。當然解決的方法是直接在regedit里關閉它(MSI Mode)。
2.右擊我的電腦,點擊管理按鈕-->系統工具-->設備管理器-->IDE ATA/ATAPI控制器-->AHCI 控制器,右擊屬性,選擇詳情信息,屬性(P)選擇設備實時路徑,可以看到路徑PATH;
3.win+R鍵打開運行,輸入regedit,打開注冊表編輯器,找到路徑 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\PCI\ <AHCI Controller>(2里面的PATH)\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties;
4.可以看到右窗格中的“MSISupported”鍵值,由1改為0;
================== End