qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: qemu-devel@nongnu.org, Avi Kivity <avi@redhat.com>
Subject: [Qemu-devel] Re: [patch 2/7] qemu: separate thread for io
Date: Fri, 20 Mar 2009 20:50:01 -0500	[thread overview]
Message-ID: <49C447C9.9050405@codemonkey.ws> (raw)
In-Reply-To: <20090321014452.GB27020@amt.cnet>

Marcelo Tosatti wrote:
> There was a significant (25% IIRC) reduction in iperf performance. This
> is sort of expected, since there are no optimizations at all (should
> collapse the signals sent to TCG context, for one). But my thinking is
> to merge the iothread (along the lines of this patchset), stabilize and
> then optimize.
>
> How about that?
>   

I don't mind that but I'll need to check out how things behave with TCG 
and with other guest architectures.  I'm willing to accept a temporary 
performance regression in something like iperf because I don't think 
people are relying on QEMU network performance that much today (outside 
of KVM/Xen) but if we have significant performance regressions with 
non-x86 boards with things like basic boot time, we'll have to fix those 
first.

We also need to not completely break the Windows build before merging.

>> Have you thought about how this is going to affect kvm-userspace?  
>>     
>
> Oops, no. But I can be held accountable for kvm-userspace iothread until
> it can be fully replaced by upstream.
>   

Before merging into QEMU, we should at least make sure that it's not 
going to create a nightmare for Avi :-)

>> Do you think we can eliminate the io threading code in kvm-userspace
>> after this goes in?
>>     
>
> Not immediately, need to generalize some of the changes introduced
> by the patchset and merge the remaining logic of kvm-userspace's
> qemu-kvm.c.
>   

Yeah, I thought it would take some work.  Great work Marcelo!

Regards,

Anthony Liguori

  reply	other threads:[~2009-03-21  1:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-19 14:57 [Qemu-devel] [patch 0/7] separate thread for io v2 mtosatti
2009-03-19 14:57 ` [Qemu-devel] [patch 1/7] qemu: mutex/thread/cond wrappers mtosatti
2009-03-19 15:59   ` Avi Kivity
2009-03-19 18:49     ` Jamie Lokier
2009-03-23 23:17     ` Marcelo Tosatti
2009-03-24  7:43       ` Avi Kivity
2009-03-19 14:57 ` [Qemu-devel] [patch 2/7] qemu: separate thread for io mtosatti
2009-03-20 17:43   ` [Qemu-devel] " Anthony Liguori
2009-03-21  0:06     ` Marcelo Tosatti
2009-03-21  1:04       ` Anthony Liguori
2009-03-21  1:44         ` Marcelo Tosatti
2009-03-21  1:50           ` Anthony Liguori [this message]
2009-03-22  8:48             ` Avi Kivity
2009-03-22 11:17               ` Anthony Liguori
2009-03-19 14:57 ` [Qemu-devel] [patch 3/7] qemu: main thread does io and cpu thread is spawned mtosatti
2009-03-19 14:57 ` [Qemu-devel] [patch 4/7] qemu: handle reset/poweroff/shutdown in iothread mtosatti
2009-03-19 14:57 ` [Qemu-devel] [patch 5/7] qemu: pause and resume cpu thread(s) mtosatti
2009-03-19 14:57 ` [Qemu-devel] [patch 6/7] qemu: handle vmstop from cpu context mtosatti
2009-03-19 14:57 ` [Qemu-devel] [patch 7/7] qemu: use pipe to wakeup io thread mtosatti

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=49C447C9.9050405@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=mtosatti@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).