From: Josh Durgin <josh.durgin@inktank.com>
To: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: use striping feature
Date: Mon, 05 Nov 2012 11:38:49 -0800 [thread overview]
Message-ID: <509815C9.5090106@inktank.com> (raw)
In-Reply-To: <5097AAF7.8080709@profihost.ag>
On 11/05/2012 04:03 AM, Stefan Priebe - Profihost AG wrote:
> Hello list,
>
> is the following syntax to use the new rbd v2 striping feature correct?
>
> rbd create -p kvmstor --format 2 --size 32000 --stripe-count 8
> --stripe-unit 131072 -s 1048576 $imagename
>
> Idea is to have 8 stripes per 1MB object size. Or are there any other
> recommondations regarding striping?
The stripe count is actually how many objects to stripe over before
repeating back to the first one. It's the number of objects in an
'object set' in the diagram at the bottom of:
http://ceph.com/docs/master/dev/file-striping/
I don't think we've done enough benchmarks to know what the best
settings are, but generally having large (like 4MB) objects
and smaller stripe units will at least help small sequential I/O.
> I'm a bit confused cause rbd info shows stripe-count as bytes?
It's not actually bytes. Sage just fixed that output in the master
branch.
Josh
prev parent reply other threads:[~2012-11-05 19:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-05 12:03 use striping feature Stefan Priebe - Profihost AG
2012-11-05 19:38 ` Josh Durgin [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=509815C9.5090106@inktank.com \
--to=josh.durgin@inktank.com \
--cc=ceph-devel@vger.kernel.org \
--cc=s.priebe@profihost.ag \
/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.