Results 1 to 25 of 28
Thread: Xen vs OpenVZ
-
03-06-2010, 07:56 PM #1Junior 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
-
03-06-2010, 08:14 PM #2Web Hosting Industry Expert
- Join Date
- Dec 2007
- Location
- Indiana, USA
- Posts
- 19,196
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.com - Proudly hosting more than 37,700 websites since 2007.
█ Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
█ cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
█ Class-leading support that responds in minutes, not days.
-
03-06-2010, 08:17 PM #3Web Hosting Master
- Join Date
- Apr 2008
- Location
- United States, MI
- Posts
- 769
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.
-
03-06-2010, 08:22 PM #4Web Hosting Master
- Join Date
- Nov 2005
- Posts
- 3,944
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.
-
03-06-2010, 09:29 PM #5VPS Like a Boss!
- Join Date
- Jul 2009
- Location
- New Zealand
- Posts
- 2,331
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
-
03-06-2010, 10:00 PM #6Web Hosting Master
- Join Date
- Dec 2007
- Posts
- 612
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
-
03-07-2010, 01:04 AM #7Web Hosting Master
- Join Date
- Feb 2004
- Location
- Sacramento CA
- Posts
- 3,513
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.
-
03-07-2010, 01:27 AM #8Web Hosting Master
- Join Date
- Feb 2010
- Location
- Mumbai
- Posts
- 680
I'd choose OpenVZ It is much more easy for customizing & operating
-
03-07-2010, 01:28 AM #9WebHosting Master
- Join Date
- Dec 2006
- Posts
- 4,151
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.
-
03-07-2010, 04:50 AM #10WHT Addict
- Join Date
- Jan 2010
- Location
- London, UK
- Posts
- 100
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).
-
03-07-2010, 06:08 AM #11Junior 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
-
03-07-2010, 08:11 AM #12Junior Guru
- 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
-
03-07-2010, 08:20 AM #13Premium Member
- Join Date
- Jul 2004
- Posts
- 535
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 | R1Soft CDP Storage | UK Server Colo | UK Rack Space
-
03-07-2010, 08:31 AM #14Disabled
- Join Date
- Mar 2009
- Location
- Israel
- Posts
- 1,212
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 :-)
-
03-07-2010, 09:02 AM #15WebHosting Master
- Join Date
- Dec 2006
- Posts
- 4,151
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.
-
03-07-2010, 09:22 AM #16Junior Guru Wannabe
- Join Date
- Dec 2003
- Posts
- 62
Hi,
Thanks for the comments!
It seems to me that if you are renting a VPS from a provider then it's a better/safer bet to get Xen (but more cost effective for the provider to run Xen).
If you are running your own VM's then OpenVZ seems a better choice (as long as the application doesn't require a specific Xen feature like a custom kernel).
Is that a fair assessment?
Thanks,
Ian
-
03-07-2010, 12:40 PM #17Web Hosting Master
- Join Date
- Dec 2009
- Posts
- 710
Thanks all for your replies in this post, it helped me to understand more about the differences in these vps solutions.
http://www.bitaccel.com/ - High resource vps hosting and vps resellers.
-
03-07-2010, 07:40 PM #18Junior Guru Wannabe
- Join Date
- Jul 2006
- Posts
- 97
DBI Hosting Reliable Web Hosting
VPS Hosting / cPanel VPS Hosting
Linux, Windows & BSD
Backups, Custom Control Panel, 24/7 Support
-
03-08-2010, 06:19 AM #19WebHosting Master
- Join Date
- Dec 2006
- Posts
- 4,151
-
03-08-2010, 07:34 AM #20Aspiring Evangelist
- Join Date
- Sep 2009
- Posts
- 414
There much more Linux templates for OpenVZ than for XEN as I see it.
-
03-08-2010, 07:47 AM #21WebHosting Master
- Join Date
- Dec 2006
- Posts
- 4,151
Thanks for proving my point, this is precisely what I mean.
Some OpenVZ providers (not all, I'm just saying SOME) have little, if any knowledge of what's going on behind the scenes. OpenVZ simplifies the process alot, whereas Xen does not.
In the above mentioned example, just because there are more OpenVZ linux templates does not make it more flexible.
If there is a need for it, it is not hard to make custom Xen templates at all.
Furthermore, Xen permits for Windows and other OSes due to its level of virtualization, whereas OpenVZ is restricted to Linuxes.
-
03-08-2010, 07:52 AM #22Aspiring Evangelist
- Join Date
- Sep 2009
- Posts
- 414
Windows is the known limitation of OpenVZ, of course, if you plan to deploy Windows images OVZ is not for you.
I would use WindowsOS host with Virtuozzo for that purpose.
Also, from what I know, KVM has pretty good performance with Windows guests.
-
03-08-2010, 07:54 AM #23Junior Guru Wannabe
- Join Date
- Dec 2003
- Posts
- 62
-
03-08-2010, 06:39 PM #24WHT Addict
- Join Date
- Jan 2010
- Location
- London, UK
- Posts
- 100
My opinion is not professional, it's based on my personal experience. I've deployed a project soon on a OpenVZ based host.
And guess what - the result is a lot better from what I expected from a 60 euro VPS plan (from a provider in my county, due to project requirements for local peering) on a main node with 16 users over old dual Xeon's. I expected a big crap and I got close to a native-dedicated performance.
As for Xen it's always has been slow for me when i decide to load it up with CPU-intensive stuff. Regardless of the type of the project, most of the times a VPS for around $30 is slower most of the time, compared to a crappy dedicated Pentium with same or close specs. But it has some advances - it's indeed more isolated. If I run a seedbox over Xen you can guess what happens. It seeds like crap if it ever seeds something. If I do this on a OpenVZ container the seedbox will seed with huge speeds and kill the performance of the node.
I've tested KVM theese days. It runs great for Linuxes, but it's terrible for Windows! But it's somehow fairly, the box that i've tested it on crashed a lot (the hardware is not damaged). Now the same box runs EXSi for testing and no problems so far on my tests.
I repeat the above is based on personal experience.Last edited by danceboysf; 03-08-2010 at 06:44 PM.
-
03-11-2010, 06:18 PM #25Web Hosting Master
- Join Date
- Feb 2005
- Location
- United Kingdom
- Posts
- 3,476
based on personal experience XEN is much better than OpenVZ.
Explore our outstanding VPS choices tailored to your budget, and we welcome reasonable offers.
VPS Price Match Guarantee on: All our range of DDOS protected XEN HVM VPS
== Contact us for any online solution development or managed / unmanaged vps hosting ==
Similar Threads
-
[UK] SolusVM/HyperVM/Xen/OpenVZ Server Admin + Xen OS Templates
By uksysadmin in forum Systems Management OffersReplies: 0Last Post: 03-04-2010, 02:54 PM -
Xen/OpenVZ/Windows: Xen 1GB Ram Only $14.95/m First Month Only $4.95
By Jason K in forum VPS Hosting OffersReplies: 12Last Post: 12-14-2009, 12:03 PM -
OpenVZ to XEN
By zwtint in forum Hosting Security and TechnologyReplies: 18Last Post: 09-16-2009, 01:53 PM -
OpenVZ or XEN
By HypeKoder in forum VPS HostingReplies: 7Last Post: 06-17-2009, 01:22 PM -
Xen or OpenvZ
By loyaler in forum Hosting Security and TechnologyReplies: 4Last Post: 08-25-2008, 09:19 AM