All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: "Deneau, Tom" <tom.deneau@amd.com>,
	ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: osd pool erasure code stripe width
Date: Sat, 20 Jun 2015 08:27:23 +0200	[thread overview]
Message-ID: <558507CB.4080303@dachary.org> (raw)
In-Reply-To: <BC97738F8E7C8742BABED7F06FB9DF91669A8FEC@SATLEXDAG01.amd.com>

[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]

Hi Tom,

On 20/06/2015 03:18, Deneau, Tom wrote:
> So if I am looking at the performance of a system with
> ceph_erasure_code_benchmark, does this mean I should concentrate
> on the performance with --size 4096 (or whatever stripe width my
> ec pools are going to use)?

Yes. But the erasure code plugin encoding speed is not the only factor. You probably want to try a rados bench instead to get more realistic numbers.

Cheers

> 
> -- Tom
> 
>> -----Original Message-----
>> From: Loic Dachary [mailto:loic@dachary.org]
>> Sent: Friday, June 19, 2015 5:47 PM
>> To: Deneau, Tom; ceph-devel
>> Subject: Re: osd pool erasure code stripe width
>>
>> Hi Tom,
>>
>> A stripe width of 4KB (the default) means the object is encoded 4KB at a
>> time. It does not show in the file written to disk.
>>
>> Cheers
>>
>> On 19/06/2015 22:11, Deneau, Tom wrote:
>>> I am trying to understand the use of "osd pool erasure code stripe width"
>>> For example, I have a single-node system with a k=2,m=1 ec pool and I
>>> write a single 40M object to this pool using rados bench.
>>> But when I look on the disk, I still see only the 3 20M pieces for this
>> object.
>>> Where does the striping get used?
>>>
>>> -- Tom Deneau, AMD
>>>
>>>
>>> Description:
>>> Sets the desired size, in bytes, of an object stripe on every erasure coded
>> pools. Every object if size S will be stored as N stripes and each stripe
>> will be encoded/decoded individually.
>>> Type:
>>> Unsigned 32-bit Integer
>>> Default:
>>> 4096
>>>
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel"
>>> in
>>>
>>
>> --
>> Loïc Dachary, Artisan Logiciel Libre
> 

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      reply	other threads:[~2015-06-20  6:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-19 20:11 osd pool erasure code stripe width Deneau, Tom
2015-06-19 22:47 ` Loic Dachary
2015-06-20  1:18   ` Deneau, Tom
2015-06-20  6:27     ` Loic Dachary [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=558507CB.4080303@dachary.org \
    --to=loic@dachary.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=tom.deneau@amd.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.