LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization
User Name
Password
Linux - Virtualization This forum is for the discussion of all topics relating to Linux Virtualization. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-01-2012, 10:30 AM   #1
xeon123
Member
 
Registered: Sep 2006
Posts: 319

Rep: Reputation: 16
Fully Virtualization vs ParaVirtualization - who have better performance?


Between a Paravirtualization and a Fully virtualization, who offers a better performance?
 
Old 02-01-2012, 02:57 PM   #2
wpeckham
Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix
Posts: 600

Rep: Reputation: 133Reputation: 133
Performance

That is a tricky question that no one can answer with complete confidence. IT depends upon how each kind is implemented, how efficient each level (not only at doing its job, but at managing the jobs from the next layer), and other factors.

Ideally this should work in this order:
Full Virtualization = slow due to emulation overhead. (within 10-30% of native iron optimized, often much worse)
Para Virtualization = faster - because the 'guest' os has been modified to actually help the 'host' layer.
(within 5-10% of native iron)
Kernel Based Virtualization = Fastest - least overhead: (within 3% of native iron)

The REAL performance depends upon more factors, and there are multiple forms and implementations of each kind with different performance characteristics.

Unless there is some factor that makes performance absolutely critical, performance should not be the deciding factor. Within 30% of native iron means that it is economical to simply purchase faster iron to achieve the level of performance needed.

Full means you do not have to prep or change the guest OS, it runs EXACTLY as it would on native iron (just a bit slower).

Kernel based means you can only run guest and host that share the same kernel (Windows on Windows, Linux on Linux, etc). I have used it to run 60 or more APACHE/TOMCAT servers on a single box.

Paravirtualization splits the difference. You made enough modifications to the guest OS to make to cooperate with the host more efficiently and allow for more intimate communication that supported by full. You no longer can run an unmodified OS, but you CAN get better performance and are NOT restricted to using an OS with the same kernel.

For real fun: look up the effect of JIT code changes or recompilation during virtualization. Tricky and exciting stuff that can provide most of the speed and advantage of Para without requiring Para modifications!

Last edited by wpeckham; 02-01-2012 at 03:01 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paravirtualization vs Fully virtualization - Xen or Hypervisor? xeon123 Linux - Virtualization 1 02-02-2012 03:52 PM
HVM vs PV (Xen Full virtualization (HVM) Xen Paravirtualization (PV)) Nemus Linux - Virtualization 7 05-19-2011 01:34 PM
guest o.s is not boot by network in xend fully virtualization (rhel5.3) birla.sunil Linux - Virtualization 0 11-26-2010 09:45 AM
(disabled)Fully Virtualization radio button in XEN amquiapo Linux - Newbie 4 01-13-2009 12:23 AM
How to configure Xine or MPlayer for fully performance ? Ongeboren Ubuntu 2 11-02-2006 05:50 PM


All times are GMT -5. The time now is 02:05 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration