All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Bluemle <andreas.bluemle@itxperts.de>
To: Ceph Development <ceph-devel@vger.kernel.org>
Subject: LTTng tracing: ReplicatedPG::log_operation
Date: Tue, 2 Dec 2014 19:17:58 +0100	[thread overview]
Message-ID: <20141202191758.5eded52c@doppio> (raw)

Hi,

during code profiling using LTTng, I encounter that during
processing of write requests to the cluster, the ceph-osd
spends a lot of time in the ReplicatedPG::log_operation
before the the actual writes to journal and object
in the FileStore are triggered.

This happens in ReplicatedBackend::submit_transaction.

What I wonder is
  - what is the purpose of the log_operation?
    If I am not mistaken, then it is neither the write-to-journal
    nor the write-to-object; both of these are triggered from 
    the queue_operation following that log_operation.

  - can the sequence between the log_operation and
    the actual queue_operation be reversed in
    ReplicatedBackend::submit_transaction?

   

Regards

Andreas Bluemle





-- 
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

             reply	other threads:[~2014-12-02 18:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02 18:17 Andreas Bluemle [this message]
2014-12-02 18:32 ` LTTng tracing: ReplicatedPG::log_operation Gregory Farnum
2014-12-03  8:58   ` Andreas Bluemle
2014-12-04  2:17     ` Haomai Wang

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=20141202191758.5eded52c@doppio \
    --to=andreas.bluemle@itxperts.de \
    --cc=ceph-devel@vger.kernel.org \
    /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.