开启RAID控制卡Cache

目的

使用RAID控制卡的RAWBC(Redundant Array of Wimpy Blocks with Correction Codes)/RWBC(Rechargeable Wireless Batteryless Capacitive Sensor)性能更佳。

使用storcli工具修改RAID组的Cache设置。

方法

  1. 配置RAID控制卡的Cache。

    1
    2
    3
    ./storcli64 /c0/vx set rdcache=RA
    ./storcli64 /c0/vx set wrcache=WB/AWB
    ./storcli64 /c0/vx set iopolicy=Cached
    

    ./storcli64 /c0/vx set wrcache=WB/AWB命令中的WB/AWB取决于RAID控制卡是否有超级电容,无超级电容使用AWB。

  2. 检查配置是否生效。

    显示有关控制器和逻辑驱动器的详细信息即配置生效。
    1
    ./storcli64 /c0 show