public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dongjun Shin <djshin90@gmail.com>
To: Daniel J Blueman <daniel.blueman@gmail.com>
Cc: Chris Mason <chris.mason@oracle.com>, linux-btrfs@vger.kernel.org
Subject: Re: SSDs and filesystem alignment...
Date: Mon, 23 Feb 2009 21:20:16 +0900	[thread overview]
Message-ID: <7fe698080902230420m6bbb8635td09e9fc252c320b0@mail.gmail.com> (raw)
In-Reply-To: <6278d2220902220631r3d89fbcbgc3eef9570c452df3@mail.gmail.com>

On Sun, Feb 22, 2009 at 11:31 PM, Daniel J Blueman
<daniel.blueman@gmail.com> wrote:
> Does BTRFS perform any journal and/or filesystem structure alignment
> (for benefit to SSD longevity and SSD, RAID array and large-sector
> device performance) at present?
>
> ext4's Ted Tso will deliver 128KB alignment with the next release of
> e2fsprogs (ie 1.41.4) [1], so perhaps it's a good idea for btrfsprogs
> also, if not already available?
>
> Daniel
>
> ---
> [1] http://thunk.org/tytso/blog/2009/02/20/aligning-filesystems-to-an-ssds-erase-block-size/
>

I think the partition alignment is more important because it has been
traditionally
hard-coded as 63 sectors. However, the misalignment by filesystem or *fsprogs
are of block-sized granularity (usually 4KB).

Ted mentioned that the Vista changed the default CHS to 240 heads and
62 sectors.
However, AFAIK, what Vista does for that alignment is to change the
relative sectors
of the MBR [1]

-- 
Dongjun

[1] http://www.multibooters.co.uk/partitions.html

  reply	other threads:[~2009-02-23 12:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-22 14:31 SSDs and filesystem alignment Daniel J Blueman
2009-02-23 12:20 ` Dongjun Shin [this message]
2009-02-23 14:23 ` Chris Mason

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=7fe698080902230420m6bbb8635td09e9fc252c320b0@mail.gmail.com \
    --to=djshin90@gmail.com \
    --cc=chris.mason@oracle.com \
    --cc=daniel.blueman@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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