hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : Xen vs OpenVZ
Reply

Forum Jump

Xen vs OpenVZ

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-06-2010, 07:56 PM
ichilton ichilton is offline
Junior Guru Wannabe
 
Join Date: Dec 2003
Posts: 62

Xen vs OpenVZ


Hi,

I'm interested in hearing thoughts on OpenVZ vs Xen for web hosting - from the point of view of both a host and a user?

Which is better / faster / more reliable / easier to maintain?

Thanks,

Ian



Sponsored Links
  #2  
Old 03-06-2010, 08:14 PM
MikeDVB MikeDVB is offline
Web Host Extraordinaire!!!
 
Join Date: Dec 2007
Location: Indianapolis, Indiana USA
Posts: 15,033
They both have their pros and cons. It really depends on what you want to do and how you want to do it as to which one will work for you.

I can equate your question to asking "Which web hosting provider is the best?" ... there is no "best" but only the one that is best for you and your particular needs.

If you can tell us what you want/plan to do we can likely give you better advice.

__________________
Michael Denney - MDDHosting, LLC - Professional Hosting Solutions
LiteSpeed Powered - Shared, Reseller, Semi-Dedicated, and VPS
For high-end shared accounts ideal for business, check out our Semi-Dedicated offerings!
http://www.mddhosting.com/ - Providing Quality Services since 2007

  #3  
Old 03-06-2010, 08:17 PM
Crothers Crothers is offline
Web Hosting Master
 
Join Date: Apr 2008
Location: United States, MI
Posts: 723
I prefer OpenVZ, custom OpenVZ control panels have the ability to do so much more in my opinion.

Also OpenVZ is more "native" speeds, then Xen.

Also, if you have a VPS, do you "Really" need to have a custom kernel?

__________________
Steven Crothers
No BS cloud engineer and Red Hat architect.

Sponsored Links
  #4  
Old 03-06-2010, 08:22 PM
devonblzx devonblzx is offline
Web Hosting Master
 
Join Date: Nov 2005
Location: Michigan, USA
Posts: 3,705
Quote:
Originally Posted by Crothers View Post
I prefer OpenVZ, custom OpenVZ control panels have the ability to do so much more in my opinion.

Also OpenVZ is more "native" speeds, then Xen.

Also, if you have a VPS, do you "Really" need to have a custom kernel?
Xen provides better isolation and dedicated memory, OpenVZ uses a shared kernel approach so resources are more shared.

This provides benefits for both, users are "less" likely to affect others in Xen due to not being able to oversell and more isolation however it can still happen especially with disk i/o.

OpenVZ is faster as stated because it requires less overhead with the shared kernel approach but overselling can give its advantages and disadvantages. The obvious, overselling can cause poor speeds which is why OpenVZ has a bad rep around here because too many hosts oversell.

I'd say OpenVZ also has much better documentation and ease of use.

  #5  
Old 03-06-2010, 09:29 PM
QuickWeb-Roel QuickWeb-Roel is offline
VPS Like a Boss!
 
Join Date: Jul 2009
Location: New Zealand
Posts: 2,315
You may also have a look about this recent thread about the topic here: http://www.webhostingtalk.com/showthread.php?t=912557

heaps good insights from experienced Linux Admins.

__________________
QuickWeb™ -We Host Servers Like a Boss!
New Zealand - USA - UK - Germany Virtual Servers
Worldwide hosting provider with proven 24x7 and 25-Minute Support!
www.quickweb.co.nz and GETVZ - Complete VPS Package with SSD Drive

  #6  
Old 03-06-2010, 10:00 PM
Matt - Kerplunc Matt - Kerplunc is offline
Web Hosting Master
 
Join Date: Dec 2007
Posts: 609
OpenVZ you can oversell, Xen you can't
Xen has a lot more operating system options (With HVM-ISO), where OpenVZ is just things running the same linux kernel
Both have fantastic control panels (personally i prefer SolusVM which supports both OpenVZ and Xen)
I find the CLI tools with OpenVZ a lot easier to use then Xen, but i'm just learning the Xen ones currently

  #7  
Old 03-07-2010, 01:04 AM
Nnyan Nnyan is offline
Web Hosting Master
 
Join Date: Feb 2004
Location: Sacramento CA
Posts: 3,092
You can search these forums and see this topic discussed numerous times. I like Xen myself but I have never had any issues with OpenVZ host that was related to the technology. Quality hosts manage their servers properly so I never had a problem.

  #8  
Old 03-07-2010, 01:27 AM
BlaZeX BlaZeX is offline
Junior Guru
 
Join Date: Feb 2010
Location: Mumbai
Posts: 183
I'd choose OpenVZ It is much more easy for customizing & operating

  #9  
Old 03-07-2010, 01:28 AM
tsj5j tsj5j is offline
WebHosting Master
 
Join Date: Dec 2006
Posts: 4,149
Quick Summary.

Xen = paravirtualization (virtualizes the kernel) vs OpenVZ = OS-level virtualization
As a result, Xen is more flexible but OpenVZ has lesser overhead.

Xen = true memory accounting with swap vs OpenVZ = accounting memory allocated
As a result, OpenVZ often over accounts for RAM that is allocated and not used.
For example, a java application will likely fail in a 512MB OpenVZ container but succeed in a 128MB Xen container as java loves to allocate alot of memory.
Furthermore, OpenVZ permits (and makes it easy to) overselling, Xen does not.

  #10  
Old 03-07-2010, 04:50 AM
danceboysf danceboysf is offline
Junior Guru Wannabe
 
Join Date: Jan 2010
Location: London, UK
Posts: 92
Quote:
Originally Posted by tsj5j View Post
Quick Summary.

Xen = paravirtualization (virtualizes the kernel) vs OpenVZ = OS-level virtualization
As a result, Xen is more flexible but OpenVZ has lesser overhead.

Xen = true memory accounting with swap vs OpenVZ = accounting memory allocated
As a result, OpenVZ often over accounts for RAM that is allocated and not used.
For example, a java application will likely fail in a 512MB OpenVZ container but succeed in a 128MB Xen container as java loves to allocate alot of memory.
Furthermore, OpenVZ permits (and makes it easy to) overselling, Xen does not.
What happens when a given OpenVZ host doesn't oversell and doesn't offer burst RAM over OpenVZ ? I use one host here with nice CPU-intensive application that loves to eat all the ram (like java), and still no memory conflicts and corruption (app. uptime = 25 days now). Other OpenVZ's offen cause my app to get corupted and fail over time. Over Xen this specific application causes almost any host to kick me out (i didn't seen a host that will tolerate 25% load of a HT CPU core for constant period).

  #11  
Old 03-07-2010, 06:08 AM
ichilton ichilton is offline
Junior Guru Wannabe
 
Join Date: Dec 2003
Posts: 62
Hi,

Thanks for the replies.

What i'm wanting to do is Apache, MySQL and PHP web hosting - separate sites out across multiple VM's rather than virtual host them on the same server.

Which is most suited to that?

Which is going to give the best performance?

What's going to happen if a site comes under high traffic under both of them?

Does not having swap not cause a problem for OpenVZ? - doesn't it start running out of memory and fall over?

Thanks,

Ian

  #12  
Old 03-07-2010, 08:11 AM
VirtualSRV VirtualSRV is offline
Premium Member
 
Join Date: Jul 2009
Posts: 183
OpenVZ is generally the most cost effective solution for virtualization.

Your hosting needs are pretty standard, you dont need custom kernel hence my advice is you should go for OpenVZ.

OpenVZ is basically faster than Xen when not oversold and when high memory swap is not required.

__________________
VirtualSRV.com
|Affordable Prices|Premium Hardware
|Instant Set Up|OpenVZ Virtualization
Visit Us! www.virtualsrv.com

  #13  
Old 03-07-2010, 08:20 AM
linuxperts linuxperts is offline
Web Hosting Evangelist
 
Join Date: Jul 2004
Posts: 509
I'd also say a big consideration is that if you're managing VMs yourself use OpenVZ.

For unmanaged VMs, Xen offers true isolated virtual partitions, so even if someone tries to wreck it, it doesn't affect everyone else on the same server.

__________________
OSHS Ltd
OSHS Services - DNS Clusters | R1Soft Licenses | Remote Backup Storage | R1Soft CDP Storage | Cheap Dedicated Servers
EconDC.com - New London DC with Cheap Server Colo & Rack Space (launching 15th May 2012)


  #14  
Old 03-07-2010, 08:31 AM
beastserv beastserv is offline
RedHat Certified
 
Join Date: Mar 2009
Location: Israel
Posts: 1,204
you might want to look at this thread also, this is a real live case of someone who got his VPS down due to another "bad user" on the same hardware node.

http://www.webhostingtalk.com/showthread.php?t=928090

the true answer is - whatever is easy for you to manage would be the best choice all do the same basic job :-)

__________________
beast5.com © - Managed Hosting Solutions 2004 - 2014

  #15  
Old 03-07-2010, 09:02 AM
tsj5j tsj5j is offline
WebHosting Master
 
Join Date: Dec 2006
Posts: 4,149
Quote:
Originally Posted by danceboysf View Post
What happens when a given OpenVZ host doesn't oversell and doesn't offer burst RAM over OpenVZ ? I use one host here with nice CPU-intensive application that loves to eat all the ram (like java), and still no memory conflicts and corruption (app. uptime = 25 days now). Other OpenVZ's offen cause my app to get corupted and fail over time. Over Xen this specific application causes almost any host to kick me out (i didn't seen a host that will tolerate 25% load of a HT CPU core for constant period).
I think you completely misunderstood the differences when I stated.

I said that the same application with high allocative tendencies (eg. java) will reflect a much higher memory usage in OpenVZ compared to Xen, meaning you need to upgrade to a higher plan = more money lost.
This does not mean that OpenVZ is less reliable.

And, whilst Xen doesn't allow overselling, it does allow you to put 16GB RAM on say, a Pentium III processor. So naturally it isn't overselling but your performance is still crap.

Hence, if the same host offers Xen and OpenVZ at the same time, I'd go for Xen without a second thought.
But if a crap host offers Xen and a reputable host offers OpenVZ, I'd still go for OpenVZ.

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
[UK] SolusVM/HyperVM/Xen/OpenVZ Server Admin + Xen OS Templates PCS-Chris Systems Management Offers 0 03-04-2010 02:54 PM
Xen/OpenVZ/Windows: Xen 1GB Ram Only $14.95/m First Month Only $4.95 Jason K VPS Hosting Offers 12 12-14-2009 12:03 PM
OpenVZ to XEN zwtint Hosting Security and Technology 18 09-16-2009 01:53 PM
OpenVZ or XEN jamjam VPS Hosting 7 06-17-2009 01:22 PM
Xen or OpenvZ loyaler Hosting Security and Technology 4 08-25-2008 09:19 AM

Related posts from TheWhir.com
Title Type Date Posted
Cloud Converter Launches Free Service for Migrating Cloud Servers Web Hosting News 2013-03-19 11:23:45
cPanel Conference 2012: Virtualize All the Things with Nate Custer Web Hosting News 2012-11-12 13:54:36


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:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?