public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* paravirtualization status
@ 2007-05-08 19:23 Omar Khan
       [not found] ` <loom.20070508T211905-507-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Omar Khan @ 2007-05-08 19:23 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


hi,
   What is the status of paravirtualization? 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? 

Thanks
Omar Khan




-------------------------------------------------------------------------
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: paravirtualization status
       [not found] ` <loom.20070508T211905-507-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
@ 2007-05-13 11:54   ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-05-13 11:54 UTC (permalink / raw)
  To: Omar Khan; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-13 11:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox