From: "Piotr Dałek" <branch@predictor.org.pl>
To: Matt Benjamin <mbenjamin@redhat.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: Hammer vs Jewel librbd performance testing and git bisection results
Date: Wed, 11 May 2016 17:22:32 +0200 [thread overview]
Message-ID: <20160511152232.GC6902@predictor> (raw)
In-Reply-To: <751229226.29976609.1462974560840.JavaMail.zimbra@redhat.com>
On Wed, May 11, 2016 at 09:49:20AM -0400, Matt Benjamin wrote:
> > > syNM5pr-ZwBuR7lqnphEd-4kQUid0C9eRyta3ohOA/edit?usp=sharing
> > >
> > > There are several commits of interest that have a noticeable effect
> > > on 128K sequential read performance:
> > >
> > > [..]
> > > 2) https://github.com/ceph/ceph/commit/c474ee42
> > >
> > > This commit had a very large impact, reducing performance by another
> > > 20-25%.
> >
> > https://github.com/ceph/ceph/commit/c474ee42#diff-254555dde8dcfb7fb908791ab8214b92R318
> > I would check if temporarily forcing unique_lock_name() to return its arg
> > (or other constant) would change things. If so, probably a more efficient way
> > to construct unique lock name may be in order.
>
> ++
>
> Naively, too, what unique_lock_name is doing amounts to: 1) creating extra of [a small] std::string [better fixed, but not a likely root cause?] 2) using Utils::stringify to hook ostream operators in the type passed in, and doing that on a new sstream;
I don't thing "stringify" alone is a source of problems. This looks like a
convenience function to make object dumping easier, so no real point in
changing it, rather than that...
> Maybe we should look horizontally at either speeding up or finding alternatives to stringify in other places?
... it's usage should be limited to non-performance-critical paths.
In this particular case, probably checking for lockdep and refusing to act
when it is disabled sounds like the least intrusive way to fix
things.
--
Piotr Dałek
branch@predictor.org.pl
http://blog.predictor.org.pl
--
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
next prev parent reply other threads:[~2016-05-11 15:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-11 13:21 Hammer vs Jewel librbd performance testing and git bisection results Mark Nelson
2016-05-11 13:35 ` Piotr Dałek
2016-05-11 13:49 ` Matt Benjamin
2016-05-11 15:22 ` Piotr Dałek [this message]
[not found] ` <f9f54455-8348-42b7-153b-e38850eed5e1-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-05-11 13:52 ` Jason Dillaman
2016-05-11 14:07 ` [ceph-users] " Mark Nelson
2016-05-11 14:19 ` Jason Dillaman
[not found] ` <CA+aFP1DRcM5AwKpo6sU_14-YA764e9ZOHq=qtJWYkFN983O+kQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-05-11 14:24 ` Mark Nelson
2016-05-11 14:19 ` [ceph-users] " 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=20160511152232.GC6902@predictor \
--to=branch@predictor.org.pl \
--cc=ceph-devel@vger.kernel.org \
--cc=mbenjamin@redhat.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.