xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Dario Faggioli <dario.faggioli@citrix.com>,
	Gordan Bobic <gordan@bobich.net>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	George Dunlap <george.dunlap@citrix.com>,
	Ross Lagerwall <ross.lagerwall@citrix.com>,
	"stefano.stabellini@citrix.com" <stefano.stabellini@citrix.com>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: Virt overehead with HT [was: Re: Xen 4.5 development update]
Date: Mon, 14 Jul 2014 17:55:45 +0100	[thread overview]
Message-ID: <53C40B91.7080006@eu.citrix.com> (raw)
In-Reply-To: <1405356283.7341.5.camel@Abyss>

On 07/14/2014 05:44 PM, Dario Faggioli wrote:
> On Mon, 2014-07-14 at 17:32 +0100, Gordan Bobic wrote:
>> On 07/14/2014 05:12 PM, Dario Faggioli wrote:
>>> Elapsed(stddev)   BAREMETAL             HVM
>>> kernbench -j4     31.604 (0.0963328)    34.078 (0.168582)
>>> kernbench -j8     26.586 (0.145705)     26.672 (0.0432435)
>>> kernbench -j      27.358 (0.440307)     27.49 (0.364897)
>>>
>>> With HT disabled in BIOS (which means only 4 CPUs for both):
>>> Elapsed(stddev)   BAREMETAL             HVM
>>> kernbench -j4     57.754 (0.0642651)    56.46 (0.0578792)
>>> kernbench -j8     31.228 (0.0775887)    31.362 (0.210998)
>>> kernbench -j      32.316 (0.0270185)    33.084 (0.600442)
> BTW, there's a mistake here. The three runs, in the no-HT case are as
> follows:
>   kernbench -j2
>   kernbench -j4
>   kernbench -j
>
> I.e., half the number of VCPUs, as much as there are VCPUs and
> unlimited, exactly as for the HT case.

Ah -- that's a pretty critical piece of information.

So actually, on native, HT enabled and disabled effectively produce the 
same exact thing if HT is not actually being used:  31 seconds in both 
cases.  But on Xen, enabling HT when it's not being used (i.e., when in 
theory each core should have exactly one process running), performance 
goes from 31 seconds to 34 seconds -- roughly a 10% degradation.

  -George

  reply	other threads:[~2014-07-14 16:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-01 16:43 Xen 4.5 development update konrad.wilk
2014-07-02 11:33 ` George Dunlap
2014-07-02 12:23   ` Jan Beulich
2014-07-11  6:51 ` Dario Faggioli
2014-07-14 16:12 ` Virt overehead with HT [was: Re: Xen 4.5 development update] Dario Faggioli
2014-07-14 16:32   ` Gordan Bobic
2014-07-14 16:44     ` Dario Faggioli
2014-07-14 16:55       ` George Dunlap [this message]
2014-07-14 17:22         ` Dario Faggioli
2014-07-14 18:31           ` Gordan Bobic
2014-07-14 22:44             ` Dario Faggioli
2014-07-15  0:10               ` Gordan Bobic
2014-07-15  2:30                 ` Dario Faggioli
2014-07-28 13:28                   ` Gordan Bobic

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=53C40B91.7080006@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=dario.faggioli@citrix.com \
    --cc=george.dunlap@citrix.com \
    --cc=gordan@bobich.net \
    --cc=lars.kurth@citrix.com \
    --cc=ross.lagerwall@citrix.com \
    --cc=stefano.stabellini@citrix.com \
    --cc=xen-devel@lists.xenproject.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).