Re: 4K drives, sectsz=512, bsize=4096

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

 



Michael Monnerie wrote:
> On Montag, 30. August 2010 Michael Monnerie wrote:
>> Will there be any real difference if I re-format with sectsz=4096? 
>> AFAIK, XFS will do I/O based on block size, so the sector size
>>  doesn't  do any harm. Is that correct?
>  
> Nobody? Is my assumption correct that a change in sectsz from 512 to 
> 4096 would be of no difference for the filesystem?
> 

Just be sure your first sector of your top-level block device
is 4k aligned, and then yes you'll want to set sector size to 4k
so that xfs will do all log IO in 4k blocks as well.

If you do it right (and especially vs. if you do it wrong) it should
be a bit faster if all IOs are 4k aligned on the disk.

-Eric

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux