开启RAID控制卡Cache
目的
使用RAID控制卡的RAWBC(Redundant Array of Wimpy Blocks with Correction Codes)/RWBC(Rechargeable Wireless Batteryless Capacitive Sensor)性能更佳。
使用storcli工具修改RAID组的Cache设置。
- Read Policy设置为Read ahead,使用RAID控制卡的Cache做预读。
- Write Policy设置为Write back,使用RAID控制卡的Cache做回写,而不是Write through透写。
- IO policy设置为Cached IO,使用RAID控制卡的Cache缓存IO。
方法
- 配置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。
- 检查配置是否生效。显示有关控制器和逻辑驱动器的详细信息即配置生效。
1
./storcli64 /c0 show
父主题: 硬件调优