From: Eric Sandeen <sandeen@sandeen.net>
To: Michael Monnerie <michael.monnerie@is.it-management.at>
Cc: xfs@oss.sgi.com
Subject: Re: 4K drives, sectsz=512, bsize=4096
Date: Tue, 31 Aug 2010 16:16:49 -0500 [thread overview]
Message-ID: <4C7D7141.4070406@sandeen.net> (raw)
In-Reply-To: <201008312301.38103@zmi.at>
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@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2010-08-31 21:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-30 7:56 4K drives, sectsz=512, bsize=4096 Michael Monnerie
2010-08-31 21:01 ` Michael Monnerie
2010-08-31 21:16 ` Eric Sandeen [this message]
2010-08-31 22:07 ` Michael Monnerie
2010-08-31 22:15 ` Eric Sandeen
2010-08-31 23:12 ` Michael Monnerie
2010-08-31 22:34 ` Nathan Scott
2010-09-01 5:35 ` Gim Leong Chin
2010-09-01 5:59 ` Nathan Scott
2010-09-01 7:38 ` Michael Monnerie
2010-09-01 10:13 ` Christoph Hellwig
2010-09-01 10:24 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C7D7141.4070406@sandeen.net \
--to=sandeen@sandeen.net \
--cc=michael.monnerie@is.it-management.at \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox