All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Bluemle <andreas.bluemle@itxperts.de>
To: Sage Weil <sage@newdream.net>
Cc: Ceph Development <ceph-devel@vger.kernel.org>
Subject: Re: FileStore performance: coalescing operations
Date: Thu, 19 Mar 2015 15:59:02 +0100	[thread overview]
Message-ID: <20150319155902.70551366@doppio> (raw)
In-Reply-To: <CACJqLyZg--fAhanqwrqvbwUDDxgDPci1ughHU_uvWv1gcc75qQ@mail.gmail.com>

Hi Sage,

as discussed yesterday during the performance meeting,
I have integratged pull reuest 3878 into v0.93 source code
and re-tested: I can confirm that the changes show a significant
benefit in the CPU consumption of the ceph-osd daemon for a
given workload: the reduction in CPU cosumption for the FileStore
workers is 22% and 10% for the overall CPU consumption of the
ceph-osd daemon.


Regards

Andreas Bluemle

On Thu, 5 Mar 2015 15:04:41 +0800
Haomai Wang <haomaiwang@gmail.com> wrote:

> I think the performance improvement can be refer to
> https://github.com/ceph/ceph/pull/2972 which I did a simple benchmark
> comparison.
> 
> This coalescing should get a lighter improvement but I think obviously
> it should be better.
> 
> On Thu, Mar 5, 2015 at 8:10 AM, Sage Weil <sage@newdream.net> wrote:
> > On Tue, 3 Mar 2015, Sage Weil wrote:
> >> I think we should try to avoid the dups in the first place in the
> >> upper layers before resorting to deduping in the FileStore.
> >
> > I took a stab at this:
> >
> >         https://github.com/ceph/ceph/pull/3878
> >
> > Here's what the txns look like now:
> >
> > {
> >     "ops": [
> >         {
> >             "op_num": 0,
> >             "op_name": "omap_setkeys",
> >             "collection": "0.2_head",
> >             "oid": "2\/\/head\/\/0",
> >             "attr_lens": {
> >                 "0000000005.00000000000000000002": 178,
> >                 "_epoch": 4,
> >                 "_info": 729,
> >                 "can_rollback_to": 12,
> >                 "rollback_info_trimmed_to": 12
> >             }
> >         },
> >         {
> >             "op_num": 1,
> >             "op_name": "write",
> >             "collection": "0.2_head",
> >             "oid":
> > "8b08fa52\/benchmark_data_maetl_15609_object5\/head\/\/0",
> > "length": 123, "offset": 0,
> >             "bufferlist length": 123
> >         },
> >         {
> >             "op_num": 2,
> >             "op_name": "setattr",
> >             "collection": "0.2_head",
> >             "oid":
> > "8b08fa52\/benchmark_data_maetl_15609_object5\/head\/\/0", "name":
> > "_", "length": 269
> >         },
> >         {
> >             "op_num": 3,
> >             "op_name": "setattr",
> >             "collection": "0.2_head",
> >             "oid":
> > "8b08fa52\/benchmark_data_maetl_15609_object5\/head\/\/0", "name":
> > "snapset", "length": 31
> >         }
> >     ]
> > }
> >
> > Care to give that a spin and see if it give syou a similar (or
> > better) improvement?
> >
> > sage
> > --
> > To unsubscribe from this list: send the line "unsubscribe
> > ceph-devel" in the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> 



-- 
Andreas Bluemle                     mailto:Andreas.Bluemle@itxperts.de
ITXperts GmbH                       http://www.itxperts.de
Balanstrasse 73, Geb. 08            Phone: (+49) 89 89044917
D-81541 Muenchen (Germany)          Fax:   (+49) 89 89044910

Company details: http://www.itxperts.de/imprint.htm

      parent reply	other threads:[~2015-03-19 14:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-26 14:28 FileStore performance: coalescing operations Andreas Bluemle
2015-02-26 15:02 ` Haomai Wang
2015-02-26 15:06   ` Mark Nelson
2015-03-04  1:05 ` Sage Weil
2015-03-05  0:10   ` Sage Weil
2015-03-05  7:04     ` Haomai Wang
2015-03-11  3:44       ` Ning Yao
2015-03-11 12:34         ` Sage Weil
2015-03-19 14:59       ` Andreas Bluemle [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=20150319155902.70551366@doppio \
    --to=andreas.bluemle@itxperts.de \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sage@newdream.net \
    /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.