Centos下硬盘性能和Raid5对比


学校最近一直突然断电,仿真服务器的硬盘挂了一个,还好只是一个存中间文件的硬盘,没有造成啥损失。有点后怕,赶紧咸鱼买了个曙光的带电池阵列卡给集群的存储节点做了一个Raid5。用Boonie测下性能。

单硬盘

Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version  1.97       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
yezoli-server- 504G   886  98 181237  13 90959  11  2318  96 184941  13 213.5   5
Latency             15521us    1008ms    8054ms   17433us     125ms     637ms
Version  1.97       ------Sequential Create------ --------Random Create--------
yezoli-server-1     -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 10939  12 +++++ +++ 23888  22 +++++ +++ +++++ +++ +++++ +++
Latency              1065us     789us     665us     817us      13us     705us
1.97,1.97,yezoli-server-1,1,1712354372,504G,,886,98,181237,13,90959,11,2318,96,184941,13,213.5,5,16,,,,,10939,12,+++++,+++,23888,22,+++++,+++,+++++,+++,+++++,+++,15521us,1008ms,8054ms,17433us,125ms,637ms,1065us,789us,665us,817us,13us,705us

存储节点(4*4T Raid5 + Beegfs + 10G以太网)

Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version  1.97       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
yezoli-server- 504G  2416  97 428930  23 20540  27  2336  97 405937  29 494.2  24
Latency             26408us     935ms    5632ms   26164us     533ms     555ms
Version  1.97       ------Sequential Create------ --------Random Create--------
yezoli-server-1     -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  2211  22  9428  25  3969  21  2286  22 10609  24  4166  21
Latency             36882us    9472us    9552us    2864us     129us    2530us
1.97,1.97,yezoli-server-1,1,1712366598,504G,,2416,97,428930,23,20540,27,2336,97,405937,29,494.2,24,16,,,,,2211,22,9428,25,3969,21,2286,22,10609,24,4166,21,26408us,935ms,5632ms,26164us,533ms,555ms,36882us,9472us,9552us,2864us,129us,2530us

Raid后串行还是有很大提升的,机械硬盘的随机也不能强求了,但是由于beegfs需要走metadata服务器,创建和删除的性能较差。改天把万转的SAS盘拿出来试试。

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值