XEN vs. OpenVZ

Chris Worner

Well-known member
Joined
Apr 15, 2016
Messages
331
Best answers
0
Ratings
31
Points
28
#1
I don't really understand what XEN or OpenVZ is? just want to hear your comparisons and which virtualization is better?
 
Joined
May 12, 2016
Messages
50
Best answers
0
Ratings
8
Points
8
#2
Better is XEN, because its fully virtualised, and have 100% guaranteed resources.
 

RDO Servers

Well-known member
Joined
Apr 3, 2015
Messages
1,027
Best answers
1
Ratings
416 3
Points
83
#3
Both are methods of server virtualization (splitting a physical server into multiple virtual servers).

The biggest difference is in the resources you get.

OpenVZ is cheaper, but typically oversold since you only get shared resources.
The host can take a server with 64Gb of ram, and put 100 VPS's on it, each with 1Gb of ram.

XEN & KVM are typically a bit more expensive, but provide dedicated resources on a non-oversold server.
If the host server has 64Gb of RAM, it will only hold 64, 1Gb VPS's.
 
Joined
Mar 10, 2016
Messages
17
Best answers
0
Ratings
4
Points
0
#4
I don't really understand what XEN or OpenVZ is? just want to hear your comparisons and which virtualization is better?
Always better to use XEN instead of openVZ because with XEN server you will receive kernel with every vm which is not possible in openVZ vm.
 

Chris Worner

Well-known member
Joined
Apr 15, 2016
Messages
331
Best answers
0
Ratings
31
Points
28
#5
Both are methods of server virtualization (splitting a physical server into multiple virtual servers).

The biggest difference is in the resources you get.

OpenVZ is cheaper, but typically oversold since you only get shared resources.
The host can take a server with 64Gb of ram, and put 100 VPS's on it, each with 1Gb of ram.

XEN & KVM are typically a bit more expensive, but provide dedicated resources on a non-oversold server.
If the host server has 64Gb of RAM, it will only hold 64, 1Gb VPS's.
Are XEN and KVM the same? and it just uses for web hosting providers who need these to manage their hosting?

Always better to use XEN instead of openVZ because with XEN server you will receive kernel with every vm which is not possible in openVZ vm.
But XEN seems always offering higher price while OpenVZ is cheap and showing you good features.
 

RDO Servers

Well-known member
Joined
Apr 3, 2015
Messages
1,027
Best answers
1
Ratings
416 3
Points
83
#6
Are XEN and KVM the same? and it just uses for web hosting providers who need these to manage their hosting?
Not the same, but very similar. Virtualization is used anytime you want to split a physical into multiple virtual servers. It is not just for hosting, a lot of companies use it on their internal servers also.

But XEN seems always offering higher price while OpenVZ is cheap and showing you good features.
Features, yes.
Best performance, no

A OpenVZ VPS is basically shared hosting with root access. Your sharing resources with other users on the server so if they have a traffic spike or other problem, it can negatively affect your VPS.
 
Joined
Jun 28, 2016
Messages
21
Best answers
0
Ratings
2
Points
0
#7
For enduser the same XEN or OpenVZ
XEN reserved 100% CPU and RAM but sometimes providers limited IOPS CPU process and more other
 
Joined
Jul 15, 2016
Messages
23
Best answers
0
Ratings
25
Points
0
#8
There exist different ways of virtualization - so dividing a big server into smaller virtualized servers:

para-virtualization: e.g. XEN, KVM, Hyper-V, VMware

Para-virtualized systems divide their resources into Virtual Machines (VMs) with guaranteed resources / resource limits. These VMs contain their own operating system and can use dedicated parts of the CPU, RAM and Disk.
That means that even if the host system (which powers the underlying server itself) is Linux, you can run Windows in the VMs. Or vice-versa. Since the whole system is kind of emulated. Para-Virtualization in comparison to full- or hardware-virtualization does make use of specific device drivers for better performance and efficiency. Still, you'll need to resource enough space for the OS for every VM. So if Windows needs a 32 GB disk partition to run, you need that amount of space for every VM running on one server.

Container virtualization: e.g. Virtuozzo, OpenVZ, LXC, Docker, rkt

Container technology is more light-weight than para-virtualization since it reuses the system below. This is also the reason why you cannot run Windows Containers on top of Linux and vice-versa. You can only run Linux on Linux and Windows on Windows. Since containers reuse the host system, you need much less disk space then with para-virtualization since you do not have to copy the OS for every container. Also dynamic resource allocation / sharing is much easier which makes especially Virtuozzo the most used virtualization technology by hosting companies. They can overbook servers (run more containers than resources are theoretically available (e.g. sum of virtual ram is more then physical ram of the underlying server). In practice this can also be an advantage: first, you get these virtual servers much cheaper (and you almost never exceed your booked resources anyway - at least not permanently) and second, hosters often give you boost credits based on Virtuozzo, which allows your server to consume even more resources temporarily than you pay (if nobody else currently requires these resources).

In terms of flexibility, I would always use para-virtualized systems like XEN or KVM because they feel like real hardware and you can install whatever you want on them - even virtualizing again.

In terms of price, containers are unbeatable since the resource overhead is damn small and hosters can offer them at a much lower price. And let's be honest, when do you really need the full power permanently? And if you need more power? Take a bigger container or scale your site across multiple containers with load-balancing.
 

VirtuBox

Global Mod
Staff Member
Joined
May 3, 2016
Messages
1,517
Best answers
4
Ratings
392 12
Points
83
#9
Sometime there is nothing better than a good benchmark to make a comparison.
Made this morning with Proxmox
----------------------------------------------------------------------------------

Debian 8 KVM

_07/25/2016
```
CPU model: Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz
Number of cores: 2
CPU frequency: 3699.998 MHz
Total amount of RAM: 3965 MB
Total amount of swap: 1707 MB
System uptime: 12 min,
I/O speed: 8 GB/s
Bzip 25MB: 3.72s
Download 100MB file: 106MB/s

------------------------------------------------------------------------------------

Debian 8 LXC

_07/25/2016
```
CPU model: Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz
Number of cores: 8
CPU frequency: 3436.375 MHz
Total amount of RAM: 4096 MB
Total amount of swap: 512 MB
System uptime: 35 min,
I/O speed: 249 MB/s
Bzip 25MB: 3.67s
Download 100MB file: 110MB/s
```
 
Joined
Jan 24, 2016
Messages
34
Best answers
0
Ratings
1
Points
0
#10
Openvz is not that bad as it looks. This virtualization uses much less resources to run VPS conteiners.

By the way, it is possible to oversell absolutely all virtulizations, Openvz, xen, kvm, vm-ware, etc...
 
Joined
Jul 2, 2016
Messages
17
Best answers
0
Ratings
2
Points
3
#11
Talking by facts, Xen is good for users and bad for host. 100% HW virtualization, no overselling, limited number of vps, better stable performance and chance to have positive impact on client base. Users will be much satisfied.

OpenVZ is bad for users but very good for host. Shared HW resources, allows overselling, unlimited number of vps, variable performance and chances to have negative impact on client base. Only light task users will be satisfied and heavy users will usually complain.

If I were you, I will opt for any 100% hw virtualization either its Xen or any other. Satisfaction of client base is much important for business. Cheers
 
Joined
Jan 24, 2016
Messages
34
Best answers
0
Ratings
1
Points
0
#12
bacloud
Really? It is possible to oversell XEN. Renew your knowledge.
 

HostColor

Corporate Member
Corporate Member
Joined
Jul 27, 2016
Messages
193
Best answers
1
Ratings
36 1
Points
28
#13
@Chris Worner OpenVZ allows distribution of the unused competing resources. this means that if you got allocated 8 GB RAM on a virtual server, but you use 4 GB on average, other 4GB to be used by someone else in a different Container (OpenVZ VPS). This is not possible with Xen virtualization. So it makes sense that Xen based services to be more expensive.
 

PallaviG

New member
Joined
Jul 27, 2016
Messages
10
Best answers
0
Ratings
1
Points
0
#14
The key differences between OpenVZ and XEN are as below -
1. OpenVZ requires few resources while XEN requires more resources.
2. OpenVZ has hard memory limit (no swap space) while XEN has soft memory limit (swap space with performance penalty).
3. OpenVZ has limited netfilter (iptables) modifications while XEN has full iptables access.
 

VirtuBox

Global Mod
Staff Member
Joined
May 3, 2016
Messages
1,517
Best answers
4
Ratings
392 12
Points
83
#15
The first issue with OpenVZ or LXC is the security when you use another container technology like docker.
OpenVZ shouldn't be used anymore by hosting providers. It doesn't provide enough isolation for VPS, and the resources cannot be guaranteed.

When I buy a VPS, I don't want to pay $5 for up to 2GB RAM. KVM, Xen or VMware are currently the only solutions to provide a stable virtualization.
Each of them have pro/cons but the resources are guaranteed, and the ability to oversell limited compared to OpenVZ
 

Luxin Host

Well-known member
Joined
Jun 26, 2016
Messages
544
Best answers
0
Ratings
103
Points
43
#16
above are really good explanations. to add I would highly suggest you try KVM. its very stable and common technology being used constantly because of its features.
While it comes down to your needs, KVM usually covers most of your needs.
 

VirtuBox

Global Mod
Staff Member
Joined
May 3, 2016
Messages
1,517
Best answers
4
Ratings
392 12
Points
83
#18
XEN is used for Windows VPS, because they have always include features for that.
But VMware offer better performances with Windows, and KVM too, so using XEN now is not the best solution available.
Ask to your provider what is the virtualization used.
 

racksandcloud

Well-known member
Joined
May 18, 2017
Messages
89
Best answers
0
Ratings
13
Points
0
#20
I don't really understand what XEN or OpenVZ is? just want to hear your comparisons and which virtualization is better?
We recommend xen virtualization because its fully virtualization, Which allows you to install any OS in vps and Provides totally dedicated CPU resources, fully independent Logical Disk Volume, fully independent Kernel install and related modules, High level of customization

Openvz is shared kernel virtualization which wont allow you to install other OS on it as well as don't allow to install any kernel modules and that is why price is more affordable than XEN.
 

HostBastic

Well-known member
Joined
Nov 17, 2016
Messages
316
Best answers
1
Ratings
39 2
Points
28
#23
Xen is a full virtualization and can run other OS which are not Unix based like Windows and the resources are dedicated. While OpenVZ is shared resources and its container based virtualization which can run only Unix based OS. Performance wise a non-oversold OpenVZ VPS and a Xen VPS both running linux with the same server node hardware should run equally fast.
 

macklong

Active member
Joined
Jun 17, 2016
Messages
67
Best answers
0
Ratings
4
Points
0
#24
Openvz = Shared everything of a dedicated server. And the Openvz load is distributed on the whole server.

XEN = Only unshared use RAM and CPU. So the VPS load wont distribute to the main server and other VPS are not get affected.

KVM = Use every thing dedicatedly. But except the networking.

If you say Overselling > if the Dedi owner wanted he still can oversell on KVM, XEN and OpenVZ. But it's depends what the Dedi admin wanted.

Thanks
 

phil22

New member
Joined
Sep 24, 2017
Messages
5
Best answers
0
Points
0
#25
Both have differences and similarities. If compatibility is concerned, I'll go for XEN because it can be installed without any additional modification.
 
Newer Threads
Replies
15
Views
1,953
Replies
7
Views
1,441
Replies
10
Views
1,603
Replies
12
Views
1,028
Replies
5
Views
716
Latest Threads
  • Awaiting approval
Replies
0
Views
1
  • Deleted
  • Deleted by Localnode
  • Reason: Wrong section
Replies
0
Views
4
  • Deleted
  • Deleted by fwh
Replies
0
Views
1

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top