最新消息:

HP的SSD机型配置

未分类 admin 3820浏览 0评论

之前SSD+raid机型,选择的都是dell+h700的配置;不过这次到了一批HP+P410 raid卡的机器,在配置和参数设置上都有很多不同。

首先得到raid卡的插槽号,我们的卡是0

tmpslot=`hpacucli ctrl all show status | grep ‘Smart Array’|awk ‘{ print $6 }’`

hpacucli controller slot=0 show #得到raid卡配置

NewImage

对于db来说,有以下几点需要留意

Drive Write Cache: Disabled #关闭磁盘cache,防止掉电丢数据

hpacucli controller slot=0 modify drivewritecache=disable

Rebuild Priority: Low#换盘rebuild时使用最低影响的low模式,防止影响业务

hpacucli controller slot=0 modify RebuildPriority=low

Cache Ratio: 25% Read / 75% Write #这个参数的变动性比较大,

可以根据主机men大小,raid cache大小,IO访问模式综合确定。对于SAS机器建议50:50,SSD机器建议0:100

hpacucli controller slot=0 modify cacheratio=25/75

No-Battery Write Cache: Enabled#强制开启WB,防止充放电时io急剧下降

hpacucli controller slot=0 modify nobatterywritecache=enable

还可以看看每个逻辑分区的状态

hpacucli controller slot=0 logicaldrive 2 show

NewImage1

之前把ssd做raid5的sdb caching改成了disable,对比测试随机io性能;

hpacucli controller slot=0 logicaldrive 2 modify Caching=disable

结果发现没有cache,ssd在G6上跑得惨不忍睹,和LSI的Cut through截然相反;后续再研究研究

转载请注明:爱开源 » HP的SSD机型配置

您必须 登录 才能发表评论!