linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: john terragon <jterragon@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: is it safe to change BTRFS_STRIPE_LEN?
Date: Sat, 24 May 2014 18:44:56 +0200	[thread overview]
Message-ID: <CANg_oxybdjtOXrqo=yLPEKEz=NrJtSRfGgMxDeCQP+0EAbV_Qw@mail.gmail.com> (raw)

Hi.

I'm playing around with (software) raid0 on SSDs and since I remember
I read somewhere that intel recommends 128K stripe size for HDD arrays
but only 16K stripe size for SSD arrays, I wanted to see how a
small(er) stripe size would work on my system. Obviously with btrfs on
top of md-raid I could use the stripe size I want. But if I'm not
mistaken the stripe size with the native raid0 in btrfs is fixed to
64K in BTRFS_STRIPE_LEN (volumes.h).
So I was wondering if it would be reasonably safe to just change that
to 16K (and duck and wait for the explosion ;) ).

Can anyone adept to the inner workings of btrfs raid0 code confirm if
that would be the right way to proceed? (obviously without absolutely
any blame to be placed on anyone other than myself if things should go
badly :) )

Thanks

john

             reply	other threads:[~2014-05-24 16:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-24 16:44 john terragon [this message]
2014-05-24 19:07 ` is it safe to change BTRFS_STRIPE_LEN? Austin S Hemmelgarn
2014-05-24 20:01   ` john terragon

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='CANg_oxybdjtOXrqo=yLPEKEz=NrJtSRfGgMxDeCQP+0EAbV_Qw@mail.gmail.com' \
    --to=jterragon@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;
as well as URLs for NNTP newsgroup(s).