日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 >

Linux 禁用msi模式,禁用MSI模式支持

發(fā)布時間:2025/3/15 41 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Linux 禁用msi模式,禁用MSI模式支持 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

禁用MSI模式支持

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:

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\ \Device Parameters\Interrupt Management\MessageSignaledInterruptProperties, where 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.右擊我的電腦,點擊管理按鈕-->系統(tǒng)工具-->事件查看器-->Windows日志-->系統(tǒng),右擊將所有日志另存為文本,之后搜索129,如果有以下數(shù)據(jù) :

警告2017/1/23 15:37:45storahci ?129 無 發(fā)出了對設(shè)備 \Device\RaidPort0 的重置。

說明是這個問題:

某些AHCI模式下使用StorAHCI.sys驅(qū)動時,可能導(dǎo)致個別SSD無法在“信息信號中斷”(MSI)模式下完成正確的輸入/輸出操作,最終表現(xiàn)就是系統(tǒng)停滯。當(dāng)然解決的方法是直接在regedit里關(guān)閉它(MSI Mode)。

2.右擊我的電腦,點擊管理按鈕-->系統(tǒng)工具-->設(shè)備管理器-->IDE ATA/ATAPI控制器-->AHCI 控制器,右擊屬性,選擇詳情信息,屬性(P)選擇設(shè)備實時路徑,可以看到路徑PATH;

3.win+R鍵打開運行,輸入regedit,打開注冊表編輯器,找到路徑 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\PCI\ (2里面的PATH)\Device Parameters\Interrupt Management\MessageSignaledInterruptProperties;

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

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

標(biāo)簽:Windows,禁用,AHCI,模式,StorAHCI,MSI,Interrupt,disk

來源: https://www.cnblogs.com/lsgxeva/p/12522606.html

總結(jié)

以上是生活随笔為你收集整理的Linux 禁用msi模式,禁用MSI模式支持的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。