Web Hosting Talk


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : Paravirtualization vs Virtual Containers
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.

 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-20-2008, 05:38 AM
Yash-JH Yash-JH is offline
View Beta Profile
Web Hosting Master
 
Join Date: Dec 2004
Location: Silicon Valley, CA
Posts: 1,821
Paravirtualization vs Virtual Containers

This is an interesting study conducted by University of Michigan and HP comparing XEN (paravirtualization) and OpenVZ (virtual containers).
XEN, MS Virtual Server and VMWare all use paravirtualization, while OpenVZ and Virtuozzo use Virtual Containers.

The study reports that response times can increase by 400 to 600% for XEN, even with the host running only a few nodes. This is largely because of the overhead XEN presents. OpenVZ had a minimal response time increase of around 100% for the same workload. The study also noted that XEN used twice the amount of CPU for the same workload compared to OpenVZ

What the article says is that L2 cache misses (both memory and instruction) signficantly increased in the XEN study. For non Computer Science people, that basically means the processor caching system was far less effective for XEN, compared to OpenVZ (and single OS systems). Caching is important because the time it takes to read instructions or data from RAM is significantly slower than reading instructions from the cache. Cache misses are similar to page-faults (in OS memory architecture).

To a consumer what this means is that Virtual Containers (OpenVZ, Virtuozzo) may offer much better performance than any paravirtualization based solution as long as the host isn't overloading their VPS system.

While paravirtualization offers higher fault-tolerance, in most well designed virtual container based VPS systems, this is minimized and the performance overhead may not be worth it.

Comments?
http://www.hpl.hp.com/techreports/2007/HPL-2007-59.pdf

__________________
JodoHost.com - Windows VPS, HSphere Reseller, ASP.NET and SQL Server Hosting
JodoInstitute.com - Become CCNA, CCNP, MCSE or ECH certified.
8 years in Business, 200+ Servers. Microsoft Gold Certified Partner


Last edited by Yash-JH; 05-20-2008 at 05:47 AM.
Reply With Quote
Sponsored Links
  #2  
Old 05-20-2008, 11:22 AM
devonblzx devonblzx is offline
View Beta Profile
Web Hosting Master
 
Join Date: Nov 2005
Location: Michigan, USA
Posts: 2,270
Yes, I had seen this with my own testing that OpenVZ put out better performance which is why I had opted the VZ route a long while ago.

Maybe we can hear from all the hosts who have claimed Xen performs better on this one ;-).

Reply With Quote
  #3  
Old 05-20-2008, 12:09 PM
vibrokatana vibrokatana is offline
View Beta Profile
Web Hosting Guru
 
Join Date: May 2008
Location: FL
Posts: 336
I have a xen VPS and am entirely happy with it. I went through 2 Virtuozzo hosts and ended up with wacky issues like network pauses, incredibly slow ssh and just general slowness. My guess is that hosts are overselling these machines by throwing in loads of ram in each box, and virtually none of them state the share ratio.

Reply With Quote
Sponsored Links
  #4  
Old 05-20-2008, 12:52 PM
Yash-JH Yash-JH is offline
View Beta Profile
Web Hosting Master
 
Join Date: Dec 2004
Location: Silicon Valley, CA
Posts: 1,821
Most certainly, these issues you decribe vibrokantana would be from a bad VPS host (too many nodes per host). Unfortunately, many low-cost VPS hosts will exploit the low overhead by putting many VPS accounts per server.. hence degrading performance.

A good VPS host will not do this. But conceptually, if done right, Virtuozzo would be far superior than any paravirtualization solution

__________________
JodoHost.com - Windows VPS, HSphere Reseller, ASP.NET and SQL Server Hosting
JodoInstitute.com - Become CCNA, CCNP, MCSE or ECH certified.
8 years in Business, 200+ Servers. Microsoft Gold Certified Partner

Reply With Quote
  #5  
Old 05-20-2008, 01:01 PM
vibrokatana vibrokatana is offline
View Beta Profile
Web Hosting Guru
 
Join Date: May 2008
Location: FL
Posts: 336
Quote:
Originally Posted by Yash-JH View Post
Most certainly, these issues you decribe vibrokantana would be from a bad VPS host (too many nodes per host). Unfortunately, many low-cost VPS hosts will exploit the low overhead by putting many VPS accounts per server.. hence degrading performance.

A good VPS host will not do this. But conceptually, if done right, Virtuozzo would be far superior than any paravirtualization solution
The current provider I am with is 1:11 share ratio, 256MB of ram and 15GB of disk space for 25 dollars a month. Of course that is unmanaged and no control panels thrown in (I love managing servers tho so it all works out good).

Reply With Quote
  #6  
Old 05-20-2008, 01:08 PM
Yash-JH Yash-JH is offline
View Beta Profile
Web Hosting Master
 
Join Date: Dec 2004
Location: Silicon Valley, CA
Posts: 1,821
That would be a good ratio for Virtuozzo. However for XEN, based on that study you could be experiencing performance degradation compared to a Virtuozzo host with the same ratio

__________________
JodoHost.com - Windows VPS, HSphere Reseller, ASP.NET and SQL Server Hosting
JodoInstitute.com - Become CCNA, CCNP, MCSE or ECH certified.
8 years in Business, 200+ Servers. Microsoft Gold Certified Partner

Reply With Quote
  #7  
Old 05-20-2008, 01:13 PM
vibrokatana vibrokatana is offline
View Beta Profile
Web Hosting Guru
 
Join Date: May 2008
Location: FL
Posts: 336
Quote:
Originally Posted by Yash-JH View Post
That would be a good ratio for Virtuozzo. However for XEN, based on that study you could be experiencing performance degradation compared to a Virtuozzo host with the same ratio
Of course you will have fun actually finding a virtuozzo host with the same ratio/performance that wont cost you an arm and leg.

Reply With Quote
  #8  
Old 05-20-2008, 01:19 PM
utropicmedia-karl utropicmedia-karl is offline
View Beta Profile
Disabled
 
Join Date: Jul 2006
Location: Detroit, MI
Posts: 1,954
We use VMWare and couldn't be happier - our clients say the same. I will say you can't get great performance out-of-the-box, but a few hundred hours of tweaking, custom kernels and learning how things work and we have native speeds.



Kind Regards,

Reply With Quote
  #9  
Old 05-20-2008, 01:47 PM
RaghavT RaghavT is offline
View Beta Profile
WHT Addict
 
Join Date: Jun 2006
Location: New Delhi, India
Posts: 166
This is pretty good study....

Thanks

Reply With Quote
  #10  
Old 05-20-2008, 02:16 PM
ServerDave ServerDave is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Aug 2004
Posts: 85
The linked PDF and study are from April 2007. Not sure how applicable the data is to current systems. It would be interesting to see results on more recent software versions.

__________________
Server Axis Corporation
Virtual Server Hosting

Reply With Quote
  #11  
Old 05-20-2008, 02:18 PM
ctaborda ctaborda is offline
View Beta Profile
Premium Member
 
Join Date: Feb 2004
Posts: 371
This threads become endless.

Reply With Quote
  #12  
Old 05-20-2008, 02:21 PM
ctaborda ctaborda is offline
View Beta Profile
Premium Member
 
Join Date: Feb 2004
Posts: 371
OpenVZ folks will say their approach allows for better resource usage and density. We feel paravirtualization provides good resource usage and superb isolation. Translation: your neighbor can’t bring the whole box down.

Xen also requires fixed memory and disk definitions, OpenVZ allows for burstable memory usage. That is the biggest difference you will see, burstable memory rates on Virtuozzo offerings, whereas Xen has hard, fixed caps. Burstable memory is great if you have control over all of the virtual servers (everyone is friendly), but when you have a diverse environment, we prefer hard memory caps (you get what you pay for).

Also, Xen gives users much more control over how his/her VPS is going to behave. Kernel swapiness? Customised iptables module? A different file system? Also a kernel level local exploit will only bring down your node, not everyone else's.

source: slice forums.

I couldn't have said it better.


Last edited by ctaborda; 05-20-2008 at 02:29 PM.
Reply With Quote
  #13  
Old 05-20-2008, 02:32 PM
Yash-JH Yash-JH is offline
View Beta Profile
Web Hosting Master
 
Join Date: Dec 2004
Location: Silicon Valley, CA
Posts: 1,821
Quote:
Originally Posted by vibrokatana View Post
Of course you will have fun actually finding a virtuozzo host with the same ratio/performance that wont cost you an arm and leg.
I am sure you could, at the same price range.

Quote:
The linked PDF and study are from April 2007. Not sure how applicable the data is to current systems. It would be interesting to see results on more recent software versions.
This study should hold for most intel x86 systems most Windows VPS providers are using. Infact, the processors/hardware most VPS hosts are running XEN and VMWare on are terrible and unsuited for such virtualization

Quote:
We use VMWare and couldn't be happier - our clients say the same. I will say you can't get great performance out-of-the-box, but a few hundred hours of tweaking, custom kernels and learning how things work and we have native speeds.
The basic issue is that processor architecture is not designed to deal with the caching requirements of a system running paravirtualization. The processor's caching designs are for a single OS setup

When multiple OS's (and multiple applications within that OS) are continually switching back and forth, fighting for the CPU, you are bound to have massive L2 cache misses... resulting a severe response time degradation

__________________
JodoHost.com - Windows VPS, HSphere Reseller, ASP.NET and SQL Server Hosting
JodoInstitute.com - Become CCNA, CCNP, MCSE or ECH certified.
8 years in Business, 200+ Servers. Microsoft Gold Certified Partner


Last edited by Yash-JH; 05-20-2008 at 02:39 PM.
Reply With Quote
  #14  
Old 05-20-2008, 02:35 PM
Yash-JH Yash-JH is offline
View Beta Profile
Web Hosting Master
 
Join Date: Dec 2004
Location: Silicon Valley, CA
Posts: 1,821
Quote:
Originally Posted by ctaborda View Post
Xen also requires fixed memory and disk definitions, OpenVZ allows for burstable memory usage. That is the biggest difference you will see, burstable memory rates on Virtuozzo offerings, whereas Xen has hard, fixed caps. Burstable memory is great if you have control over all of the virtual servers (everyone is friendly), but when you have a diverse environment, we prefer hard memory caps (you get what you pay for).
Virtuozzo (based on OpenVZ) offers plenty of software devices to maintain virtual containers, hence offering high levels of isolation. paravirtualization is the highest form of isolation, but virtual containers in most setups will rival it.

But my major point is with such massively degraded response times of around 400%, is the additional isolation worth the performance factor?

__________________
JodoHost.com - Windows VPS, HSphere Reseller, ASP.NET and SQL Server Hosting
JodoInstitute.com - Become CCNA, CCNP, MCSE or ECH certified.
8 years in Business, 200+ Servers. Microsoft Gold Certified Partner

Reply With Quote
  #15  
Old 05-20-2008, 03:43 PM
ctaborda ctaborda is offline
View Beta Profile
Premium Member
 
Join Date: Feb 2004
Posts: 371
Most, if not all of our customers from an OpenVZ or Virtuozzo environment. All we hear is how great their Xen VPS runs vs their old vps.

In our VPS their application, might run slow if they use up too much ram, but in OpenVZ it will just crash.

Then, as a provider you start getting pissed at a VPS customer using too many resources, etc.

Xen makes it better to sleep at night.

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement: