From: Matthew Tippett <tippettm@gmail.com>
To: Dustin Kirkland <dustin.kirkland@gmail.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>,
Avi Kivity <avi@redhat.com>, RW <kvm@tauceti.net>,
kvm@vger.kernel.org
Subject: Re: sync guest calls made async on host - SQLite performance
Date: Wed, 07 Oct 2009 15:31:43 -0400 [thread overview]
Message-ID: <4ACCEC9F.7090309@gmail.com> (raw)
In-Reply-To: <d9c105ea0910071159o7a4e475btfaebdbfec66b9deb@mail.gmail.com>
The benchmark used was the sqlite subtest in the phoronix test suite.
My awareness and involvement is beyond "reading a magazine article", I
can elaborate if needed, but I don't believe it is necessary.
Process for reproduction, assuming Karmic,
# apt-get install phoronix-test-suite
$ phoronix-test-suite benchmark sqlite
Answer the questions (test-names, etc, etc), it will download sqlite,
build it and execute the test. By default the test runs three timesand
averages the results. The results experienced should be similar to the
values identified at
http://www.phoronix.com/scan.php?page=article&item=linux_2631_kvm&num=3
Which is approximately 12 minutes for the native, and about 60 seconds
for the guest.
Given that the performance under the guest is expected to be around 60
seconds, I would suggest confirming performance there first.
Regards,
Matthew
-------- Original Message --------
Subject: Re: sync guest calls made async on host - SQLite performance
From: Dustin Kirkland <dustin.kirkland@gmail.com>
To: Matthew Tippett <tippettm@gmail.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>, Avi Kivity
<avi@redhat.com>, RW <kvm@tauceti.net>, kvm@vger.kernel.org
Date: 10/07/2009 02:59 PM
> On Wed, Oct 7, 2009 at 11:53 AM, Matthew Tippett <tippettm@gmail.com> wrote:
>> When you indicated that you had attempted to reproduce the problem, what
>> mechanism did you use? Was it Karmic + KVM as the host and Karmic as
>> the guest? What test did you use?
>
>
> I ran the following in several places:
> a) on the system running on real hardware,
> time dd if=/dev/zero of=$HOME/foo bs=1M count=500
> 524288000 bytes (524 MB) copied, 9.72614 s, 53.9 MB/s
> b) in an vm running on qemu-kvm-0.11 on Karmic
> time dd if=/dev/zero of=$HOME/foo bs=1M count=500 oflag=direct
> 524288000 bytes (524 MB) copied, 31.6961 s, 16.5 MB/s
> c) in a vm running on kvm-84 on Jaunty
> time dd if=/dev/zero of=$HOME/foo bs=1M count=500 oflag=direct
> 524288000 bytes (524 MB) copied, 22.2169 s, 23.6 MB/s
>
> Looking at the time it takes to write a 500MB file to a real hard
> disk, and then inside of the VM. If I were to experience the problem
> on Karmic, I would have seen this dd of a 500MB file take far, far
> less time than it takes to write that file to disk on the real
> hardware. This was not the case in my testing.
>
>> I will re-open the launchpad bug if you believe it makes sense to
>> continue the discussions there.
>
> Please re-open the bug if you can describe a real test case that you
> used to demonstrate the problem. Without being rude, it's hard for me
> to work from a bug that says a magazine article says that there's a
> bug in the Ubuntu distribution of qemu-kvm-0.11.
>
> If you can provide clear steps that you have used to experience the
> problem, then I will be able to take this issue seriously, reproduce
> it myself, and develop a fix.
>
> :-Dustin
next prev parent reply other threads:[~2009-10-07 19:32 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-25 7:00 sync guest calls made async on host - SQLite performance RW
2009-09-27 11:37 ` Avi Kivity
2009-09-27 12:07 ` Matthew Tippett
2009-09-29 19:02 ` Anthony Liguori
2009-09-29 19:32 ` Matthew Tippett
2009-09-29 20:46 ` Dustin Kirkland
2009-09-29 20:51 ` Anthony Liguori
2009-10-07 14:15 ` Matthew Tippett
2009-10-07 16:53 ` Matthew Tippett
2009-10-07 18:59 ` Dustin Kirkland
2009-10-07 19:31 ` Matthew Tippett [this message]
2009-10-07 20:12 ` Avi Kivity
2009-10-07 21:01 ` Matthew Tippett
2009-10-09 6:05 ` Dustin Kirkland
[not found] ` <4ACE0196.9010904@gmail.com>
[not found] ` <d9c105ea0910082312n7218e1abhc69a2be660838e89@mail.gmail.com>
[not found] ` <f28b49ce0910090425p385636c3he6dfb7595927d7e4@mail.gmail.com>
2009-10-09 15:18 ` Dustin Kirkland
2009-10-09 19:06 ` Matthew Tippett
2009-10-11 9:16 ` Avi Kivity
2009-10-13 22:37 ` Christoph Hellwig
2009-10-14 11:03 ` Avi Kivity
2009-10-14 12:03 ` [PATCH] virtio-blk: fallback to draining the queue if barrier ops are not supported Avi Kivity
2009-10-14 14:46 ` Javier Guerra
2009-10-14 16:53 ` Avi Kivity
2009-10-14 15:38 ` Michael Tokarev
2009-10-14 15:46 ` Christoph Hellwig
2009-10-14 13:41 ` sync guest calls made async on host - SQLite performance Christoph Hellwig
2009-10-14 16:56 ` Avi Kivity
2009-10-14 17:02 ` Christoph Hellwig
2009-10-14 22:54 ` Anthony Liguori
2009-10-14 23:37 ` Avi Kivity
2009-10-15 12:17 ` Christoph Hellwig
2009-10-15 12:36 ` Christoph Hellwig
2009-10-19 5:56 ` Avi Kivity
2009-10-13 23:08 ` Anthony Liguori
2009-10-14 2:09 ` Matthew Tippett
2009-10-14 4:12 ` Dustin Kirkland
2009-10-14 11:32 ` Matthew Tippett
-- strict thread matches above, loose matches on Subject: below --
2009-09-25 2:11 Ian Woodstock
2009-09-25 3:13 ` Matthew Tippett
2009-09-23 15:58 Matthew Tippett
2009-09-24 11:44 ` Avi Kivity
2009-09-24 12:31 ` Matthew Tippett
2009-09-24 13:03 ` Avi Kivity
2009-09-24 19:49 ` Matthew Tippett
2009-09-25 7:22 ` Avi Kivity
2009-09-25 11:33 ` Matthew Tippett
2009-09-25 15:04 ` Avi Kivity
2009-09-29 18:58 ` Anthony Liguori
2009-09-29 18:57 ` Anthony Liguori
2009-09-29 18:54 ` Anthony Liguori
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=4ACCEC9F.7090309@gmail.com \
--to=tippettm@gmail.com \
--cc=anthony@codemonkey.ws \
--cc=avi@redhat.com \
--cc=dustin.kirkland@gmail.com \
--cc=kvm@tauceti.net \
--cc=kvm@vger.kernel.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).