All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
To: Laurent Vivier <Laurent.Vivier-6ktuUTfB/bM@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Performance comparaison with dbench on KVM
Date: Thu, 24 May 2007 09:36:55 -0500	[thread overview]
Message-ID: <4655A307.3080707@codemonkey.ws> (raw)
In-Reply-To: <46559FDF.5000609-6ktuUTfB/bM@public.gmane.org>

Laurent Vivier wrote:
> Hi,
>
> I made some benchmarks with dbench on linux/KVM.
>
> IDE means I use an image disk with "-hda"
> SCSI means I use an image disk with "-sda"
> (see the patch I proposed on qemu list:
> http://www.mail-archive.com/qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org/msg08679.html )
>
> threads KVM-21  KVM-21  KVM-24  KVM-24  KVM-25  KVM-25
>         IDE     SCSI    IDE     SCSI    IDE     SCSI
>
> 1       215.272 94.8775 318.626 319.533 307.111 331.757
> 2       212.061 91.3193 313.217 315.163 314.577 323.715
> 4       197.586 81.7551 291.752 276.044 292.084 271.191
> 8       144.814 58.5725 188.819 198.995 168.273 165.564
> 16      111.505 66.3605 139.824 157.617 150.822 123.671
> 32      43.4109 15.7386 48.2109 50.4114 59.1074 69.5717
> 64      21.0567 8.3535  11.3457 19.9483 20.4877 24.5627
>
> 	results are in MB/sec
>
> Conclusion:
>
> KVM-25 is really better than KVM-21
> in most cases, SCSI is better than IDE
>   

Were you using libposix-aio?  If not, did you change the aio_init 
function in block-raw.c (assuming that you're using a raw disk).  
Otherwise, QEMU by default will limit the glibc aio library to a single 
thread so you won't see a lot of the benefits of SCSI emulation.

Regards,

Anthony Liguori

> Cheers,
> Laurent
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ------------------------------------------------------------------------
>
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

  parent reply	other threads:[~2007-05-24 14:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-24 14:23 Performance comparaison with dbench on KVM Laurent Vivier
     [not found] ` <46559FDF.5000609-6ktuUTfB/bM@public.gmane.org>
2007-05-24 14:36   ` Anthony Liguori [this message]
     [not found]     ` <4655A307.3080707-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-05-24 14:44       ` Laurent Vivier
     [not found]         ` <4655A4BA.5080108-6ktuUTfB/bM@public.gmane.org>
2007-05-24 19:16           ` Anthony Liguori
     [not found]             ` <4655E496.3080003-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-05-25 11:51               ` Laurent Vivier

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=4655A307.3080707@codemonkey.ws \
    --to=anthony-rdkfgonbjusknkdkm+me6a@public.gmane.org \
    --cc=Laurent.Vivier-6ktuUTfB/bM@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.