Page 1 of 2 12 LastLast
Results 1 to 15 of 28

Thread: Xen vs OpenVZ

  1. #1
    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

  2. #2
    Join Date
    Dec 2007
    Location
    Indianapolis, Indiana USA
    Posts
    15,257
    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, Premium, Reseller, and VPS
    For high-end shared accounts ideal for business, check out our Premium offerings!
    http://www.mddhosting.com/ - Providing Quality Services since 2007

  3. #3
    Join Date
    Apr 2008
    Location
    United States, MI
    Posts
    766
    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.

  4. #4
    Join Date
    Nov 2005
    Location
    Michigan, USA
    Posts
    3,842
    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. #5
    Join Date
    Jul 2009
    Location
    New Zealand
    Posts
    2,320
    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. #6
    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. #7
    Join Date
    Feb 2004
    Location
    Sacramento CA
    Posts
    3,200
    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. #8
    Join Date
    Feb 2010
    Location
    Mumbai
    Posts
    305
    I'd choose OpenVZ It is much more easy for customizing & operating

  9. #9
    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. #10
    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. #11
    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. #12
    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. #13
    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 - Enterprise UK Server Colo & Rack Space at Lowest Prices

  14. #14
    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. #15
    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.

Page 1 of 2 12 LastLast

Similar Threads

  1. [UK] SolusVM/HyperVM/Xen/OpenVZ Server Admin + Xen OS Templates
    By PCS-Chris in forum Systems Management Offers
    Replies: 0
    Last Post: 03-04-2010, 02:54 PM
  2. Replies: 12
    Last Post: 12-14-2009, 12:03 PM
  3. OpenVZ to XEN
    By zwtint in forum Hosting Security and Technology
    Replies: 18
    Last Post: 09-16-2009, 01:53 PM
  4. OpenVZ or XEN
    By jamjam in forum VPS Hosting
    Replies: 7
    Last Post: 06-17-2009, 01:22 PM
  5. Xen or OpenvZ
    By loyaler in forum Hosting Security and Technology
    Replies: 4
    Last Post: 08-25-2008, 09:19 AM

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •