From: Waiman Long <waiman.long@hp.com>
To: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Cc: linux-arch@vger.kernel.org, Rik van Riel <riel@redhat.com>,
Gleb Natapov <gleb@redhat.com>,
kvm@vger.kernel.org,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Peter Zijlstra <peterz@infradead.org>,
Scott J Norton <scott.norton@hp.com>,
x86@kernel.org, Paolo Bonzini <paolo.bonzini@gmail.com>,
linux-kernel@vger.kernel.org,
virtualization@lists.linux-foundation.org,
Ingo Molnar <mingo@redhat.com>, Chegu Vinod <chegu_vinod@hp.com>,
David Vrabel <david.vrabel@citrix.com>,
"H. Peter Anvin" <hpa@zytor.com>,
xen-devel@lists.xenproject.org,
Thomas Gleixner <tglx@linutronix.de>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Oleg Nesterov <oleg@redhat.com>,
Aswin Chandramouleeswaran <aswin@hp.com>
Subject: Re: [PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
Date: Mon, 07 Apr 2014 12:38:13 -0400 [thread overview]
Message-ID: <5342D475.7060503@hp.com> (raw)
In-Reply-To: <5342425A.7040005@linux.vnet.ibm.com>
On 04/07/2014 02:14 AM, Raghavendra K T wrote:
>
>
> I tested the v7,v8 of qspinlock with unfair config on kvm guest.
> I was curious about unfair locks performance in undercommit cases.
> (overcommit case is expected to perform well)
>
> But I am seeing hang in overcommit cases. Gdb showed that many vcpus
> are halted and there was no progress. Suspecting the problem /race with
> halting, I removed the halt() part of kvm_hibernate(). I am yet to
> take a closer look at the code on halt() related changes.
It seems like there may still be race conditions where the current code
is not handling correctly. I will look into that to see where the
problem is. BTW, what test do you use to produce the hang condition?
>
> Patch series with that change gave around 20% improvement for dbench
> 2x and 30% improvement for ebizzy 2x cases. (1x has no significant
> loss/gain).
>
>
What is the baseline for the performance improvement? Is it without the
unfair lock and PV qspinlock?
-Longman
next prev parent reply other threads:[~2014-04-07 16:38 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1396445259-27670-1-git-send-email-Waiman.Long@hp.com>
[not found] ` <1396445259-27670-2-git-send-email-Waiman.Long@hp.com>
2014-04-04 13:00 ` [PATCH v8 01/10] qspinlock: A generic 4-byte queue spinlock implementation Peter Zijlstra
2014-04-04 14:59 ` Waiman Long
2014-04-04 17:53 ` Ingo Molnar
2014-04-07 14:16 ` Peter Zijlstra
2014-04-04 16:57 ` Konrad Rzeszutek Wilk
2014-04-04 17:08 ` Waiman Long
2014-04-04 17:54 ` Ingo Molnar
2014-04-07 14:09 ` Peter Zijlstra
2014-04-07 16:59 ` Waiman Long
2014-04-07 14:12 ` Peter Zijlstra
2014-04-07 14:33 ` Konrad Rzeszutek Wilk
[not found] ` <20140402143201.GF12188@phenom.dumpdata.com>
[not found] ` <533C7485.3030203@hp.com>
2014-04-03 2:10 ` [PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support Waiman Long
2014-04-03 17:23 ` Konrad Rzeszutek Wilk
2014-04-04 2:57 ` Waiman Long
2014-04-04 16:55 ` Konrad Rzeszutek Wilk
2014-04-04 17:13 ` Waiman Long
2014-04-04 17:58 ` Konrad Rzeszutek Wilk
2014-04-04 18:33 ` Konrad Rzeszutek Wilk
2014-04-04 18:14 ` Marcos E. Matsunaga
2014-04-04 15:25 ` Konrad Rzeszutek Wilk
2014-04-07 6:14 ` Raghavendra K T
[not found] ` <5342425A.7040005@linux.vnet.ibm.com>
2014-04-07 16:38 ` Waiman Long [this message]
2014-04-07 17:51 ` Raghavendra K T
2014-04-08 19:15 ` Waiman Long
2014-04-09 12:08 ` Raghavendra K T
2014-04-01 20:47 Waiman Long
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=5342D475.7060503@hp.com \
--to=waiman.long@hp.com \
--cc=aswin@hp.com \
--cc=chegu_vinod@hp.com \
--cc=david.vrabel@citrix.com \
--cc=gleb@redhat.com \
--cc=hpa@zytor.com \
--cc=konrad.wilk@oracle.com \
--cc=kvm@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=oleg@redhat.com \
--cc=paolo.bonzini@gmail.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=peterz@infradead.org \
--cc=raghavendra.kt@linux.vnet.ibm.com \
--cc=riel@redhat.com \
--cc=scott.norton@hp.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=virtualization@lists.linux-foundation.org \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).