public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Veillard <veillard-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: paravirtualization & cr3-cache feature
Date: Mon, 12 Feb 2007 09:03:59 -0500	[thread overview]
Message-ID: <20070212140359.GE1879@redhat.com> (raw)
In-Reply-To: <64F9B87B6B770947A9F8391472E032160A66C0A6-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>

On Mon, Feb 12, 2007 at 05:21:26AM -0800, Dor Laor wrote:
> >>
> >> >hi,
> >> >    Can someone briefly explain what the cr3-cache feature on intel
> VT
> >> >processors is and how it is used to improve performance in
> >> >paravirtualization.
> >>
> >> In short, this is a unique Intel VT feature that supposed to save
> vmexit
> >> on cr3 switch. The vmexit operation is quite expensive at the moment
> >> (something like 2-5 ms!). PV kernels can use this feature by sharing
> >  ^^^^^^^^^^^^^^^^^^^^^^^^
> >
> >Where do you measured this unbelievable large number? On AMD-V I
> >measured around 2400 processor cycles for a VMEXIT/VMENTRY roundtrip. I
> >would really really wonder if Intel-VT is that slow...
> 
> Intel is indeed slower than AMD with this one.
> I didn't measure such roundtrip specifically. We usually see that the
> VMETNRY/VMEXIT cycle limits our performance (for io/mmio,..)
> On Intel core duo we cannot get more than 150k-200k VMEXITS per second
> for regular guest doing extensive IO. 
> 
> Anyway 2ms for a 2.4G processor equals 4800 cycles so it's not that far.

  Hum, ms means millisecond in the SI system, so on a 2.4 billion cycle/s
2ms would be 4.8 million cycles, hence IMHO the unbelievably large perception.
I assume you mean VMEXITS would be around  2-5 microsecond, which would fit
quite better in the overall picture :-)

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

  parent reply	other threads:[~2007-02-12 14:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-09 22:50 paravirtualization & cr3-cache feature Omar Khan
     [not found] ` <loom.20070209T234642-102-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-02-10 22:22   ` Dor Laor
2007-02-12 12:56     ` Omar Khan
     [not found]     ` <64F9B87B6B770947A9F8391472E032160A66BE0A-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-02-12 13:06       ` Joerg Roedel
     [not found]         ` <20070212130644.GF25460-5C7GfCeVMHo@public.gmane.org>
2007-02-12 13:21           ` Dor Laor
     [not found]             ` <64F9B87B6B770947A9F8391472E032160A66C0A6-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-02-12 14:03               ` Daniel Veillard [this message]
     [not found]                 ` <20070212140359.GE1879-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-02-12 14:23                   ` Dor Laor
     [not found]                     ` <64F9B87B6B770947A9F8391472E032160A66C0CF-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-02-12 14:42                       ` Gregory Haskins
2007-02-13  4:52                   ` richardvoigt-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                     ` <2e59e6970702122052x69a4ea9asafd2d0ef438f55ce-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-02-13  7:47                       ` Dor Laor
     [not found]                         ` <64F9B87B6B770947A9F8391472E032160A66C679-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-02-13  7:50                           ` Arjan van de Ven
     [not found]                             ` <1171353019.12771.37.camel-NIQFrBLA1CpScpXdPBN83iCwEArCW2h5@public.gmane.org>
2007-02-13  7:57                               ` Dor Laor
     [not found]                                 ` <64F9B87B6B770947A9F8391472E032160A66C681-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-02-13  8:02                                   ` Arjan van de Ven
2007-02-18 19:56                           ` richardvoigt-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                             ` <2e59e6970702181156l3591b801l1d6b5bccf177717c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-02-20  9:48                               ` Dor Laor

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=20070212140359.GE1879@redhat.com \
    --to=veillard-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=dor.laor-atKUWr5tajBWk0Htik3J/w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox