Re: best base / worst case RAID 5,6 write speeds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 10, 2015 at 6:41 PM, Dallas Clement
<dallas.a.clement@xxxxxxxxx> wrote:
> On Thu, Dec 10, 2015 at 6:22 PM, Mark Knecht <markknecht@xxxxxxxxx> wrote:
>>
>>
>> On Thu, Dec 10, 2015 at 4:02 PM, Dallas Clement <dallas.a.clement@xxxxxxxxx>
>> wrote:
>>>
>>> On Thu, Dec 10, 2015 at 5:04 PM, Mark Knecht <markknecht@xxxxxxxxx> wrote:
>> <SNIP>
>>>
>>> Hi Mark,
>>>
>>> > What sustained throughput do you get in this system if you skip RAID,
>>> > set
>>> > up a script and write different data to all 12 drives in parallel?
>>>
>>> Just tried this again, running fio concurrently on all 12 disks.  This
>>> time doing sequential writes, bs=2048k, direct=1 to the raw disk
>>> device - no filesystem.  The results are not encouraging.  I tried to
>>> watch the disk behavior with iostat.  This 8 core xeon system was
>>> really getting crushed.  The load average during the 10 minute test
>>> was 15.16  26.41  21.53.  iostat showed %iowait varying between 40%
>>> and 80%.  Also iostat showed only about 8 of the 12 disks on average
>>> getting CPU time.  They had high near 100% utilization and pretty good
>>> write speed ~160 - 170 MB/s.  Looks like my disks are just too slow
>>> and the CPU cores are stuck waiting for them.
>>
>> Well, it was hard on the system but it might not be a total loss. I'm not
>> saying this is a good test but it might give you some ideas about how to
>> proceed. Fewer drives? Better controller?
>>
>> Was it any different at the front and back of the drive?
>>
>> One thing I didn't see in this thread was a check to make sure your
>> alignment is on the physical sector alignment if you're using 4K sectors
>> which I assume drives this large are using.
>>
>> Anyway, data is just data. It gives you something to think about.
>>
>> Good luck,
>> Mark
>
> Hi Mark.  Perhaps this is normal behavior when there are more disks to
> be served than there are CPUs.  But it surely does seem like a waste
> for the CPUs to be locked up in uninterruptible sleep waiting for I/O
> on these disks.  I presume this is caused by threads in the kernel
> tied up in spin loops waiting for I/O.  It would sure be nice if the
> I/O could be handled in a more asynchronous way so that these CPUs can
> go off and do other things while they are waiting for I/Os to complete
> on slow disks.
>
>> Was it any different at the front and back of the drive?
>
> Didn't try on this particular test.
>
>> One thing I didn't see in this thread was a check to make sure your
>> alignment is on the physical sector alignment if you're using 4K sectors
>> which I assume drives this large are using.
>
> Yes, these drives surely use 4K sectors.  But I haven't checked for
> sector alignment issues.  Any tips on how to do that?

According to parted, my disk partition is aligned.

(parted) align-check
alignment type(min/opt)  [optimal]/minimal?
Partition number? 6
6 aligned

Partition Table: gpt

Number  Start      End          Size         File system  Name     Flags
 1      2048s      10002431s    10000384s                 primary
 2      10002432s  42002431s    32000000s                 primary
 3      42002432s  42004479s    2048s                     primary  bios_grub
 4      42004480s  42006527s    2048s                     primary
 5      42006528s  50008063s    8001536s                  primary
> 6      50008064s  7796883455s  7746875392s               primary

50008064 / 4096 = 12209
--
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



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux