On Tue, 25 Jan 2011, Gregory Farnum wrote:
> On Tue, Jan 25, 2011 at 3:53 AM, Tatsuya Kawano <[email protected]> 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
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to