Improving mdadm RAID-6 write speed

Posted by BarsMonster on Ask Ubuntu See other posts from Ask Ubuntu or by BarsMonster
Published on 2010-12-29T21:28:22Z Indexed on 2010/12/29 22:01 UTC
Read the original article Hit count: 372

Filed under:
|
|

Hi!

I have a mdadm RAID-6 in my home server of 5x1Tb WD Green HDDs. Read speed is more than enough - 268 Mb/s in dd. But write speed is just 37.1 Mb/s. (Both tested via dd on 48Gb file, RAM size is 1Gb, block size used in testing is 8kb)

Could you please suggest why write speed is so low and is there any ways to improve it? CPU usage during writing is just 25% (i.e. half of 1 core of Opteron 165) No business critical data there & server is UPS-backed.

mdstat is:

Personalities : [raid6] [raid5] [raid4]
md0 : active raid6 sda1[0] sdd1[4] sde1[3] sdf1[2] sdb1[1]
      2929683456 blocks super 1.2 level 6, 1024k chunk, algorithm 2 [5/5] [UUUUU]
      bitmap: 0/8 pages [0KB], 65536KB chunk

unused devices: <none>

Any suggestions?

© Ask Ubuntu or respective owner

Related posts about raid

Related posts about mdadm