how to decrease raid5 write penalty in my case?

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

 



I created a raid5 array which consists of 4 SATA disks, then I make a
XFS on it. Now, I pre-allocate a file using posix_fallocate, its size
is 512MB. So I think the file space allocated by file system is
sequential. After that , I am filling data into this file from the
start position, for example, every time I write 64KB data, but there
are 1 seconds interval between two writes.

As for RAID5 layer in kernel, due to the 1s interval between writes,
extra read operation(write penalty) maybe caused although the
following writes is sequential in this file's space.
So, in my case, is there some parameters to adjust in order to
decrease this kind of write penalty? Can we tell raid5 layer to delay
the read operation for that stripe parity computation because we know
that the following writes start at the previous writes's end point?


-- 
The simplest is not all best but the best is surely the simplest!
--
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