Re: Auto-striping feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 25 Jan 2011, Gregory Farnum wrote:
> On Tue, Jan 25, 2011 at 3:53 AM, Tatsuya Kawano <tatsuya6502@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux