From: Neil Brown <neilb@suse.de>
To: Piergiorgio Sartor <piergiorgio.sartor@nexgo.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: Chunk size for SSD
Date: Wed, 3 Mar 2010 07:22:07 +1100 [thread overview]
Message-ID: <20100303072207.5d698723@notabene.brown> (raw)
In-Reply-To: <20100302190843.GA2446@lazy.lzy>
On Tue, 2 Mar 2010 20:08:43 +0100
Piergiorgio Sartor <piergiorgio.sartor@nexgo.de> wrote:
> Hi all,
>
> I know the topic might have already been discussed,
> but some points are still unclear to me.
>
> Assuming to build a RAID-10 with two SSD, someone
> mentioned that the proper chunk size should be
> the erase block size, usually 128K.
>
> Are these 128K a guessed value or there is a way
> to know the erase block size from the device itself?
>
> Second question, assuming metadata 1.1 is used, do
> the chunks start with a chunk-size aligment?
> I mean, in a RAID-10, with 1.1 metadata, does the
> effective storage area start at a multiple of 128K,
> if a chunk of 128K is used?
No - with 1.1 and 1.2 metadata there are no guarantees about alignment of the
start of the data section. That is something that I plan to fix
in 3.1.2.
>
> BTW, what if there is a partition under the RAID,
> this will offset (how much?) the start of the RAID.
It depends on the tool you use the create the partition. Some enforce an
alignment on cylinders, others give you complete control.
I think 'sfdisk' is one of the most flexible.
NeilBrown
>
> In general, would it be possible to specify an
> alligment for the effective storage area of the RAID?
>
> Thanks a lot in advance,
>
> bye,
>
prev parent reply other threads:[~2010-03-02 20:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-02 19:08 Chunk size for SSD Piergiorgio Sartor
2010-03-02 20:22 ` Neil Brown [this message]
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=20100303072207.5d698723@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=piergiorgio.sartor@nexgo.de \
/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;
as well as URLs for NNTP newsgroup(s).