From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Jens Freimann <jfrei@linux.vnet.ibm.com>,
Alexander Graf <agraf@suse.de>,
Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/5] s390x/kvm: avoid synchronize_rcu's in kernel
Date: Thu, 28 Aug 2014 14:58:11 +0200 [thread overview]
Message-ID: <53FF2763.2010507@de.ibm.com> (raw)
In-Reply-To: <1409227132-55354-1-git-send-email-jfrei@linux.vnet.ibm.com>
On 28/08/14 13:58, Jens Freimann wrote:
> Whenever we call an ioctl from a wrong vcpu thread, the next ioctl will be
> painfully slow because a synchronize_rcu thread has to be performed, therefore
> involving all vcpu.
>
> This patch series forces most ioctls to run on the associated vcpu.
> It speeds up all start/restart/reset operations involving cpus drastically.
>
>
> David Hildenbrand (5):
> kvm: run cpu state synchronization on target vcpu thread
> s390x/kvm: run guest triggered resets on the target vcpu thread
> s390x/kvm: execute sigp orders on the target vcpu thread
> s390x/kvm: execute "system reset" cpu resets on the vcpu thread
> s390x/kvm: execute the first cpu reset on the vcpu thread
>
> kvm-all.c | 18 ++++++++++++++++--
> target-s390x/cpu.c | 6 +++++-
> target-s390x/cpu.h | 15 +++++++++++++++
> target-s390x/kvm.c | 23 ++++++++++++++++-------
> target-s390x/misc_helper.c | 30 ++++++++----------------------
> 5 files changed, 60 insertions(+), 32 deletions(-)
>
Thanks.
Applied 2-5 to https://github.com/borntraeger/qemu.git s390-next.
Patch 1 will be taken care of in Paolos kvm tree.
I will wait some more days before sending the pull request to give others a chance for feedback.
Christian
prev parent reply other threads:[~2014-08-28 12:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 11:58 [Qemu-devel] [PATCH 0/5] s390x/kvm: avoid synchronize_rcu's in kernel Jens Freimann
2014-08-28 11:58 ` [Qemu-devel] [PATCH 1/5] kvm: run cpu state synchronization on target vcpu thread Jens Freimann
2014-08-28 11:58 ` [Qemu-devel] [PATCH 2/5] s390x/kvm: run guest triggered resets on the " Jens Freimann
2014-08-28 11:58 ` [Qemu-devel] [PATCH 3/5] s390x/kvm: execute sigp orders " Jens Freimann
2014-08-28 11:58 ` [Qemu-devel] [PATCH 4/5] s390x/kvm: execute "system reset" cpu resets on the " Jens Freimann
2014-08-28 11:58 ` [Qemu-devel] [PATCH 5/5] s390x/kvm: execute the first cpu reset " Jens Freimann
2014-08-28 12:58 ` Christian Borntraeger [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=53FF2763.2010507@de.ibm.com \
--to=borntraeger@de.ibm.com \
--cc=agraf@suse.de \
--cc=cornelia.huck@de.ibm.com \
--cc=jfrei@linux.vnet.ibm.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.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).