public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Omar Khan <okhan-e94Sedi4moU@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: paravirtualization status
Date: Sun, 13 May 2007 14:54:00 +0300	[thread overview]
Message-ID: <4646FC58.6060605@qumranet.com> (raw)
In-Reply-To: <loom.20070508T211905-507-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>

Omar Khan wrote:
> hi,
>    What is the status of paravirtualization? 

It's basically stalled.

However, I'd like to restart this, on a much bigger scale.  Using 
paravirt_ops, one can use direct paging (like Xen) instead of shadow 
paging, and achieve better performance.  In fact, it should be faster 
than Xen as, on one hand, syscalls are fast (esp. with 64-bit guests), 
and on the other hand, there's very little mmu overhead.

> Also when Ingo released his
> paravirtualization patch and some results Avi noted that :
>
> "Very impressive!  The gain probably comes not only from avoiding the 
> vmentry/vmexit, but also from avoiding the flushing of the global page 
> tlb entries." [http://thread.gmane.org/gmane.linux.kernel/481084]
>
> can someone please explain briefly what the "global page tlb entries" are? 
>   

When the kernel switches context to another process, it flushes out the 
tlb (a cache of translations of virtual addresses to physical 
addresses).  An optimization is not to flush cached translations of 
kernel virtual addresses, since these are the same for all processes in 
Linux.  Such translations are marked as 'global', indicating to the cpu 
that they need not be flushed on a context switch.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
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-13 11:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-08 19:23 paravirtualization status Omar Khan
     [not found] ` <loom.20070508T211905-507-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-05-13 11:54   ` Avi Kivity [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=4646FC58.6060605@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=okhan-e94Sedi4moU@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