[CentOS] Optimum Block Size to use

Chris Murphy lists at colorremedies.com
Wed Aug 19 17:16:32 UTC 2015


On Wed, Aug 19, 2015 at 4:47 AM, Leon Fauster
<leonfauster at googlemail.com> wrote:

> furthermore check the fs alignment with
> the underlying disk ...

This is very important. Certain workloads and certain AF drive
firmware can really suck when there's a lot of read,modify,write done
by the drive (internally) if the fs block is not aligned to physical
sector size. I'm pretty sure parted and fdisk on CentOS 6 does
properly align, whereas they don't on CentOS 5. Proper alignment is
when the partition start LBA is divisible by 8. So a start LBA of 63
is not aligned, where 2048 is aligned and now common.


-- 
Chris Murphy



More information about the CentOS mailing list