xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Gordan Bobic <gordan@bobich.net>
To: Thanos Makatos <thanos.makatos@citrix.com>
Cc: Ian Murray <murrayie@yahoo.co.uk>,
	"lars.kurth@xen.org" <lars.kurth@xen.org>,
	xen-devel@lists.xen.org
Subject: Re: Xen 4.2.2 / KVM / VirtualBox benchmark on Haswell
Date: Tue, 09 Jul 2013 17:14:46 +0100	[thread overview]
Message-ID: <7a01e6656292e09ae5e9d0b79d5984d0@mail.shatteredsilicon.net> (raw)
In-Reply-To: <2368A3FCF9F7214298E53C823B0A48EC034B52@LONPEX01CL02.citrite.net>

 On Tue, 9 Jul 2013 15:56:51 +0000, Thanos Makatos 
 <thanos.makatos@citrix.com> wrote:
>> >>  Not sure whether anyone has seen this:
>> >>
>> >>
>> 
>> http://www.phoronix.com/scan.php?page=article&item=intel_haswell_virt
>> >> ua
>> >>  lization
>> >>
>> >>  Some of the comments are interesting, but not really as negative 
>> as
>> >> they used to be. In any case, it may make sense to have a quick 
>> look
>> >>
>> >>  Lars
>> >>
>> > They use PostMark for their disk I/O tests, which is an ancient
>> benchmark.
>>
>> is that a good or a bad thing? If so, why?
>
> IMO it's a bad thing because it's far from a representative
> benchmark, which can lead to wrong conclusions when evaluation I/O
> performance.

 Ancient doesn't mean non-representative. A good file-system benchmark
 is a tricky one to come up with because most FS-es are good at some
 things and bad at others. If you really want to test the virtualization
 overhead on FS I/O, the only sane way to test it is by putting the
 FS on the host's RAM disk and testing from there. That should
 expose the full extent of the overhead, subject to the same
 caveat about different FS-es being better at different load types.

 Personally I'm in favour of redneck-benchmarks that easily push
 the whole stack to saturation point (e.g. highly parallel kernel
 compile) since those cannot be cheated. But generically speaking,
 the only way to get a worthwhile measure is to create a custom
 benchmark that tests your specific application to saturation
 point. Any generic/synthetic benchmark will provide results
 that are almost certainly going to be misleading for any
 specific real-world load you are planning to run on your
 system.

 For example, on a read-only MySQL load (read-only
 because it simplified testing, no need to rebuild huge data
 sets between runs, just drop all the caches), in custom application
 performance test that I carried out for a client, ESX showed
 a ~40% throughput degradation over bare metal (8 cores/server, 16
 SQL threads cat-ing select-filtered general-log extracts, load
 generator running in same VM). And the test machines (both
 physical and virtual had enough RAM in them that they were both
 only disk I/O bound for the first 2-3 minutes of the test (which
 took the best part of an hour to complete); which goes to show
 that disk I/O bottlenecks are good at covering up overheads
 elsewhere.

 Gordan

  reply	other threads:[~2013-07-09 16:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09 15:27 Xen 4.2.2 / KVM / VirtualBox benchmark on Haswell Lars Kurth
2013-07-09 15:40 ` Thanos Makatos
2013-07-09 15:53   ` Ian Murray
2013-07-09 15:56     ` Thanos Makatos
2013-07-09 16:14       ` Gordan Bobic [this message]
2013-07-09 16:21         ` Thanos Makatos
2013-07-09 16:26           ` Gordan Bobic
2013-07-09 15:54 ` Gordan Bobic
2013-07-11 10:53   ` Dario Faggioli
2013-07-11 16:23     ` George Dunlap
2013-07-11 16:27       ` Dario Faggioli
2013-07-11 17:49         ` Gordan Bobic
2013-07-09 16:52 ` Alex Bligh

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=7a01e6656292e09ae5e9d0b79d5984d0@mail.shatteredsilicon.net \
    --to=gordan@bobich.net \
    --cc=lars.kurth@xen.org \
    --cc=murrayie@yahoo.co.uk \
    --cc=thanos.makatos@citrix.com \
    --cc=xen-devel@lists.xen.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).