qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/3] Add SCSI support for PC target
Date: Wed, 31 Oct 2007 13:48:02 +0000	[thread overview]
Message-ID: <20071031134802.GA25965@redhat.com> (raw)
In-Reply-To: <20071031125653.GA10952@karma.qumranet.com>

On Wed, Oct 31, 2007 at 02:56:53PM +0200, Dan Kenigsberg wrote:
> On Wed, Oct 31, 2007 at 11:17:23AM +0100, Laurent Vivier wrote:
> > Dan Kenigsberg a écrit :
> > >Hi,
> > >
> > >I have some newby's questions: is a speedup expected, comparing to ide
> > 
> > We should have a speedup.
> 
> Would you suggest where it could show? I was trying simple dd and
> bonnie++, and saw big variace between consequtive runs, but little
> change between mounting an image with if=ide and if=scsi. Was I doing
> something wrong?

Using dd is pretty useless as a benchmark. bonnie++ can work sometimes
if you tune the size of its I/O ops wrt to the amount of RAM in your
host and guest. The big variance is likely caused by doing small enough
I/O that the cache in either host or guest can buffer your data at times. 
IOZone is a benchmark I find gives better results, though it does take a 
hell of a long time to run. Tune IOZone params to do increasingly large
I/O chunks, so that it will exceed RAM in both host & guest & let it
repeat many times & you should get to some stable benchmark results.

There were some results at the last Xen summit comparing the IDE & SCSI
drivers in QEMU(KVM) against Xen paravirt - the SCSI results were very
impressive & significantly ahead of IDE.

http://xen.org/files/xensummit_4/xen_summit_2007_spring_hvm_charts_Harper.pdf

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

      reply	other threads:[~2007-10-31 13:48 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-28 22:43 [Qemu-devel] [PATCH 0/3] Add SCSI support for PC target Laurent.Vivier
2007-10-28 22:43 ` [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom Laurent.Vivier
2007-10-28 22:43   ` [Qemu-devel] [PATCH 2/3] Add arg -disk to define new disk with more features Laurent.Vivier
2007-10-28 22:43     ` [Qemu-devel] [PATCH 3/3] Add scsi support to pc target Laurent.Vivier
2007-10-29 12:03   ` [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom Johannes Schindelin
2007-10-29 12:36     ` Laurent Vivier
2007-10-29 13:25   ` Daniel P. Berrange
2007-10-29 14:02     ` Laurent Vivier
2007-10-29 14:07       ` risc
2007-10-29 14:54         ` Markus Hitter
2007-10-29 15:46         ` Laurent Vivier
2007-10-29 17:23           ` Blue Swirl
2007-10-29 14:34       ` Thiemo Seufer
2007-11-02 13:24         ` Laurent Vivier
2007-11-07 23:32           ` Fabrice Bellard
2007-11-08  9:02             ` Laurent Vivier
2007-11-08  9:33               ` Fabrice Bellard
2007-11-10  0:02             ` Laurent Vivier
2007-10-29 14:49     ` andrzej zaborowski
2007-10-29 15:23       ` Thiemo Seufer
2007-10-29 15:28       ` Daniel P. Berrange
2007-10-29 17:14         ` andrzej zaborowski
2007-10-29 21:58           ` Anthony Liguori
2007-10-31  9:50 ` [Qemu-devel] [PATCH 0/3] Add SCSI support for PC target Dan Kenigsberg
2007-10-31 10:17   ` Laurent Vivier
2007-10-31 12:56     ` Dan Kenigsberg
2007-10-31 13:48       ` Daniel P. Berrange [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=20071031134802.GA25965@redhat.com \
    --to=berrange@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).