try this, this will put a dd on different cores so that you don't starve one core with both dd processes taskset 1 dd if=/dev/zero of=raidset1 taskset 2 dd if=/dev/zero of=raidset2 2013/12/16 lilofile <lilofile@xxxxxxxxxx>: > In dd test,I use Linux top tools,and I found 2 raid use different cores, CPU occupancy of each raid5 reach to 80% , is any lock contention between two raid? > > > ------------------------------------------------------------------ > 发件人:Tommy Apel <tommyapeldk@xxxxxxxxx> > 发送时间:2013年12月16日(星期一) 16:13 > 收件人:lilofile <lilofile@xxxxxxxxxx> > 抄 送:Pieter De Wit <pieter@xxxxxxxxxxxxx>; linux-raid Raid <linux-raid@xxxxxxxxxxxxxxx>; Tommy Apel <tommyapeldk@xxxxxxxxx> > 主 题:Re: 答复:two raid5 performance > > Try to use taskset command to make sure the dd commands are handled by different cores otherwise you'll starve 1 core. > On Dec 16, 2013 8:58 AM, "lilofile" <lilofile@xxxxxxxxxx> wrote: > > the disks involved in the array is sTEC ssd disk,they are connected by mpt2sas 6Gb/s > > > > > > ------------------------------------------------------------------ > > 发件人:Pieter De Wit <pieter@xxxxxxxxxxxxx> > > 发送时间:2013年12月16日(星期一) 15:52 > > 收件人:lilofile <lilofile@xxxxxxxxxx>; unlisted-recipients: <unlisted-recipients:> > > 抄 送:linux-raid <linux-raid@xxxxxxxxxxxxxxx> > > 主 题:Re: two raid5 performance > > > > On 16/12/2013 14:07, lilofile wrote: > >> when I Create a raid5,dd 1M block size,the performance can reached to 1GB/s > >> when I create another raid5,dd 1M block size ,the performance can reached to 1GB/s > >> when I simultaneously dd the two different raid,the total performance only reached to 1.4GB/s,why can not reached to 2GB/s. > >> > >> the memory is 32GB,CPU is x5660,the stripe size is 4096 > >> -- > >> To unsubscribe from this list: send the line "unsubscribe linux-raid" in > >> the body of a message to majordomo@xxxxxxxxxxxxxxx > >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > What is the disks involved in the array ? How are they connected ? > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > > the body of a message to majordomo@xxxxxxxxxxxxxxx > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > -- /Tommy -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html