All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sage Weil <sage@newdream.net>
To: Gregory Farnum <gregf@hq.newdream.net>
Cc: Tatsuya Kawano <tatsuya6502@gmail.com>,
	"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: Auto-striping feature
Date: Tue, 25 Jan 2011 20:32:38 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.64.1101252031290.19989@cobra.newdream.net> (raw)
In-Reply-To: <AANLkTinw9OZprRD8XoK9rjBm5Q_5aez8n-ZK75+hihYo@mail.gmail.com>

On Tue, 25 Jan 2011, Gregory Farnum wrote:
> On Tue, Jan 25, 2011 at 3:53 AM, Tatsuya Kawano <tatsuya6502@gmail.com> wrote:
> >
> > Hi,
> >
> > I have some questions about auto-striping feature in Ceph.
> >
> > - What is the default striping size?
> The default is to stripe the file across 4MB objects, 4MB at a time.
> You can also define your own striping strategy using cephfs. Make sure
> that "stripe_unit" * "stripe_count" equals "object_size".

Actually, you just need to make sure that object_size is a multiple of 
stripe_unit.  The striping strategy puts each stripe_unit on stripe_count 
consecutive objects until they reach a size of stripe_count; it then moves 
onto the next set of stripe_count objects.  The default degenerate case 
has stripe_unit == object_size and stripe_count == 1.

sage

  reply	other threads:[~2011-01-26  4:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 11:53 Auto-striping feature Tatsuya Kawano
2011-01-26  0:15 ` Gregory Farnum
2011-01-26  4:32   ` Sage Weil [this message]
2011-01-26  4:34     ` tsuna
2011-01-26  5:20       ` Sage Weil
2011-01-26 11:56   ` Tatsuya Kawano

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=Pine.LNX.4.64.1101252031290.19989@cobra.newdream.net \
    --to=sage@newdream.net \
    --cc=ceph-devel@vger.kernel.org \
    --cc=gregf@hq.newdream.net \
    --cc=tatsuya6502@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.