mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Davidlohr Bueso <dave@stgolabs.net>
To: Huang Ying <ying.huang@linux.intel.com>,
	Peter Zijlstra <peterz@infradead.org>
Cc: LKP ML <lkp@01.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [LKP] [mm] c8c06efa8b5: -7.6% unixbench.score
Date: Tue, 27 Jan 2015 12:43:45 -0800	[thread overview]
Message-ID: <1422391425.4604.7.camel@stgolabs.net> (raw)
In-Reply-To: <1422344736.24875.47.camel@linux.intel.com>

On Tue, 2015-01-27 at 15:45 +0800, Huang Ying wrote:
> Hi, Davidlohr,
> 
> Any update on this?  The latest news I gotten is that you finally
> reproduced this.

The overall differences and cause of the issue is commit 37e9562453b
(locking/rwsem: Allow conservative optimistic spinning when readers have
lock). And since the performance issue occurs with writers-only, I'm
fine with the degradation,  we need to learn to live it. Real use cases
will use mutexes instead. Also, the mentioned commit fixes a much more
important problem than pathologically calling exec(2).

Now, this doesn't mean we cannot do _anything_ about it. I sent a
patcshet just a few days ago (sorry, I forgot to Cc you) that tries to
minimalize (I've recovered ~75% of the regression) the writer penalties:
https://lkml.org/lkml/2015/1/26/34

So all in all we don't really care for writer-only workloads, but hey,
while we're at it.

Thanks,
Davidlohr


      reply	other threads:[~2015-01-27 20:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-08  2:27 Huang Ying
2015-01-08  7:45 ` Davidlohr Bueso
2015-01-08  7:50   ` Davidlohr Bueso
2015-01-08  8:59     ` Davidlohr Bueso
2015-01-08 10:37       ` Peter Zijlstra
2015-01-08  8:24   ` Huang Ying
2015-01-09  2:47 ` Davidlohr Bueso
2015-01-09  3:03   ` Huang Ying
2015-01-09  4:02     ` Davidlohr Bueso
2015-01-09  5:41       ` Huang Ying
2015-01-10  2:18         ` Davidlohr Bueso
2015-01-27  7:45       ` Huang Ying
2015-01-27 20:43         ` Davidlohr Bueso [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=1422391425.4604.7.camel@stgolabs.net \
    --to=dave@stgolabs.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@01.org \
    --cc=peterz@infradead.org \
    --cc=ying.huang@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome