LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Kloxo Community Support » First Time Users » XEN and OPENVZ
XEN and OPENVZ [message #875] Mon, 28 August 2006 07:58 Go to next message
jhamon is currently offline jhamon  United Kingdom
Messages: 357
Registered: May 2006
Master
Hi,

Can you explain briefly the advantages and disadvantages of these two systems.

Briefly what are the differences between them?


Jonathan Hamon


Jonathan Hamon
FREE for UK Businesses - Never Miss Another Call
Visit http://www.0844callmanager.com to get your FREE number and call management service

[Updated on: Wed, 30 August 2006 18:31] by Moderator

Report message to a moderator

Re: XEN and OPENVZ [message #882 is a reply to message #875] Mon, 28 August 2006 08:20 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Quote:


>
>
> Hi,
>
> Can you explain briefly the advantages and disadvantages of these two systems.
>
> Briefly what are the differences between them?
>
>
> Jonathan Hamon
>



The primary differences that YOU have to be aware of is this:

OpenVZ:
Advantages: allows overselling. Very light weight. Can accommodate more Virtual Machines in a server.

Disadvantage: There is no per vps swap.

Why this is important:

OpenVZ will KILL your application if it goes beyond the limit, and this can cause some trouble. There are people out there who want to host oracle on a 64MB vps, and with such customers, using openVZ will lead to constant application crashes, which ultimately will be blamed on the provider. (This is actually something that is common with openvz/virtuozzo hosting in general; you can check some threads at wht).

With Xen, each vps has its own swap, and thus you get an EXACT dedicated server like environment, but with lesser resources. So here, the customers applications will NOT crash, but rather it will become slower. Also, majority of the applications, like apache, spamassassin expects a lot of memory, and openVZ makes memory a very valuable commodity.

So generally my recommendation is that: For friendly customers use openVZ, and use a lot of burst memory. For not-so-friendly customers, use Xen. And that is why we are providing transparent migration. You can start a customer on openVZ, and see how it works out, and if he is getting too many application crashes, you can move him to the SAME configuration on Xen, and he should be able to do fine, though his application would be slower.


--
:: Lxhelp :: lxhelp.at.lxlabs.com :: http://lxlabs.com ::



Re: XEN and OPENVZ [message #979 is a reply to message #882] Sun, 03 September 2006 08:44 Go to previous messageGo to next message
almecho is currently offline almecho  Australia
Messages: 9
Registered: August 2006
Location: Australia
Member
The stability that's offered with guaranteed ram when using Xen in a production environment is very appealing, where the 'wait and see' approach to ram when using OpenVZ isn't necessarily going to be appropriate with some customers, especially where ram related downtime/troubleshooting issues (which can be intermittent) may be unacceptable to the customer.

What I've yet to see is any fair comparisons performance wise between the two platforms where someone has taken a server, installed OpenVZ and created a single VPS to benchmark without having to contend with other users, and then set up the same machine with Xen and done the same thing to compare the results.

I understand that the performance of a VPS running under Xen is below that of an OpenVZ VPS due to the different way in which they are virtualised, but is there any indication as to what kind of performance hit the Xen implentation causes ?
Re: XEN and OPENVZ [message #980 is a reply to message #979] Sun, 03 September 2006 09:13 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Quote:


> The stability that's offered with guaranteed ram when using Xen in a production environment is very appealing, where the 'wait and see' approach to ram when using OpenVZ isn't necessarily going to be appropriate with some customers, especially where ram related downtime/troubleshooting issues (which can be intermittent) may be unacceptable to the customer.
>
> What I've yet to see is any fair comparisons performance wise between the two platforms where someone has taken a server, installed OpenVZ and created a single VPS to benchmark without having to contend with other users, and then set up the same machine with Xen and done the same thing to compare the results.
>
> I understand that the performance of a VPS running under Xen is below that of an OpenVZ VPS due to the different way in which they are virtualised, but is there any indication as to what kind of performance hit the Xen implentation causes ?



This is the first task in our todo list. The xen people seems to be always comparing themselves to vmware, which enables them to claim 10 fold improvement in the speed, and ignores the OS level virtualization altogether. We will publish detailed reports on the exact number of VMs possible with each of the technologies. We can make a knowledgeable guess from the overheads claimed by both the virtualizations. For openvz it is 1-2%, while Xen claims an overhead of 1-2% average and 8% in some worst case scenarios, so we can average it to say 3-5%. Xen 3.0 in paravirtualized mode, you should actually get performances comparable to OS level virtualization. Strangely, the openvz folks also haven't published any concrete benchmarks regarding the comparisons.


Theoretically the overheads with Xen would be really minimal since the guest kernel is fully aware of its virtualized status, and I think as the time passes, we will get better and better performances from Xen.

Thanks.



Re: XEN and OPENVZ [message #1329 is a reply to message #875] Sun, 17 September 2006 18:43 Go to previous messageGo to next message
coolraul is currently offline coolraul  Canada
Messages: 79
Registered: August 2006
Location: Canada
Valuable Member

I would love to participate in any benchmarking so if you need a couple of servers to do this testing please let me know.
Re: XEN and OPENVZ [message #1432 is a reply to message #875] Sat, 23 September 2006 17:37 Go to previous messageGo to next message
AandM Hosting is currently offline AandM Hosting  United States
Messages: 3
Registered: September 2006
Member
If i want to switch a server over to xen from openvz (new server has 0 vps on it) do i just remove and reinstall with the xen master.sh?
Re: XEN and OPENVZ [message #1433 is a reply to message #1432] Sat, 23 September 2006 17:41 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Quote:


>
>
> If i want to switch a server over to xen from openvz (new server has 0 vps on it) do i just remove and reinstall with the xen master.sh?



No need to remove. Just reexecute the master with --virtualization-type=xen. It will say hyperMV is already installed, but you can just type 'yes' there.

Thanks.


Re: XEN and OPENVZ [message #2192 is a reply to message #875] Wed, 29 November 2006 12:51 Go to previous messageGo to next message
CleberDantas is currently offline CleberDantas  Brazil
Messages: 149
Registered: October 2006
Valuable Member
Hello,

I have the hardware with 3GB RAM. I have 6 VMs and each VM uses 500MB RAM. I am having crash in the VM and is killing processes.

Which the instability of the XEN?

Reason the XEN is not stable?

Waiting and reply!

[Updated on: Wed, 29 November 2006 12:52]

Report message to a moderator

Re: XEN and OPENVZ [message #2194 is a reply to message #2192] Wed, 29 November 2006 21:51 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Please give higher burst memory. Ask the customer to upgrade. Xen does have some issues still. We will officially announce it, when it is stable.

Re: XEN and OPENVZ [message #17180 is a reply to message #875] Thu, 29 November 2007 12:38 Go to previous messageGo to next message
infinitie is currently offline infinitie  Canada
Messages: 64
Registered: August 2007
Valuable Member
LXHELP, is there any news on the traffic posting issue?

Re: XEN and OPENVZ [message #18197 is a reply to message #17180] Mon, 17 December 2007 23:20 Go to previous messageGo to next message
LxCenter_Danny is currently offline LxCenter_Danny  Netherlands
Messages: 2068
Registered: July 2007
Location: Netherlands
Grandmaster
LxCenter Core Team Member
LxCenter Representative

infinitie wrote on Thu, 29 November 2007 18:38

LXHELP, is there any news on the traffic posting issue?



Are you in the right thread? I cant find something about that in this thread.




LxCenter - System Operations
Re: XEN and OPENVZ [message #29131 is a reply to message #875] Wed, 09 April 2008 02:29 Go to previous messageGo to next message
tommyk is currently offline tommyk  Sweden
Messages: 23
Registered: March 2008
Member
so, some time has passed since this thread was created.

is situation the same? anyone switching from xen to openvz because of performance issues? anyone found any reliable comparisons between openvz and xen with LAMP-like usage?

thanks!

/Tommy
Re: XEN and OPENVZ [message #49914 is a reply to message #875] Wed, 10 December 2008 11:47 Go to previous messageGo to next message
EricOnE is currently offline EricOnE  United States
Messages: 141
Registered: November 2008
Location: Los Angeles
Valuable Member
Does XEN provide for unique iptables within each VPS ?

Also can you oversell with XEN ?
ie. if you have 10GB of ram and setup 10VPS each with bursts that actually total more than 10GB aggregate ? Will it allow this or will it limit all VPS's to the actual total of real resources the HN has ?



EricOnE | Eric.James @ GotBlueMail.com
Linux Admin - Blue Eye Hosting . com

VPS|Dedicated|Shared Hosting|24/7 Support
YES, we fully support HyperVM

Choose your Server Co-Lo location wisely, support is what you need in the end !
Re: XEN and OPENVZ [message #49916 is a reply to message #49914] Wed, 10 December 2008 11:49 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
You can't oversell with xen, but yes, Xen is EXACTLY like dedicated, with its own kernel.



On Wed, Dec 10, 2008 at 04:47:45PM -0000, Eric James wrote:
>
>
> Does XEN provide for unique iptables within each VPS ?
>
> Also can you oversell with XEN ?
> ie. if you have 10GB of ram and setup 10VPS each with bursts that actually total more than 10GB aggregate ? Will it allow this or will it limit all VPS's to the actual total of real resources the HN has ?
>
>
> --
>
>
>
>


Re: XEN and OPENVZ [message #49921 is a reply to message #875] Wed, 10 December 2008 11:54 Go to previous messageGo to next message
EricOnE is currently offline EricOnE  United States
Messages: 141
Registered: November 2008
Location: Los Angeles
Valuable Member
Does this also apply to HN swap space or can each VPS have it's own swap within the VPS or is swap tied back to the HN's hard swap space partition ?



EricOnE | Eric.James @ GotBlueMail.com
Linux Admin - Blue Eye Hosting . com

VPS|Dedicated|Shared Hosting|24/7 Support
YES, we fully support HyperVM

Choose your Server Co-Lo location wisely, support is what you need in the end !
Re: XEN and OPENVZ [message #49924 is a reply to message #49921] Wed, 10 December 2008 11:58 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Each vps has its own swap. But yes, you can't oversell. Neither harddisk nor memory.


On Wed, Dec 10, 2008 at 04:54:31PM -0000, Eric James wrote:
>
>
> Does this also apply to HN swap space or can each VPS have it's own swap within the VPS or is swap tied back to the HN's hard swap space partition ?
>
>
> --
>
>
>
>


Re: XEN and OPENVZ [message #49925 is a reply to message #875] Wed, 10 December 2008 12:10 Go to previous messageGo to next message
EricOnE is currently offline EricOnE  United States
Messages: 141
Registered: November 2008
Location: Los Angeles
Valuable Member
Just so I'm crystal clear...

#1)
On XEN, if you have a HN with 10GB's Ram and 100GB storage the max you would be able to setup would be something like:
10 VPS's each with 1GB RAM and 10GB storage ?

#2)
In the above example can the VPS have any amount desired of that 10GB's setup as VPS swap ? ie. 8GB's storage and 2GB swap ?

#3)
How much does the HN system reserve for it's own resources that can't be allotted to VPS ?




EricOnE | Eric.James @ GotBlueMail.com
Linux Admin - Blue Eye Hosting . com

VPS|Dedicated|Shared Hosting|24/7 Support
YES, we fully support HyperVM

Choose your Server Co-Lo location wisely, support is what you need in the end !
Re: XEN and OPENVZ [message #49952 is a reply to message #49925] Wed, 10 December 2008 14:13 Go to previous messageGo to next message
Lxhelp
Messages: 23691
Registered: July 2006
The Champion
Quote:


On Wed, Dec 10, 2008 at 05:10:50PM -0000, Eric James wrote:
>
>
> Just so I'm crystal clear...
>
> #1)
> On XEN, if you have a HN with 10GB's Ram and 100GB storage the max you would be able to setup would be something like:
> 10 VPS's each with 1GB RAM and 10GB storage ?



Yes.

Quote:


>
> #2)
> In the above example can the VPS have any amount desired of that 10GB's setup as VPS swap ? ie. 8GB's storage and 2GB swap ?



Yes.

Quote:


>
> #3)
> How much does the HN system reserve for it's own resources that can't be allotted to VPS ?



HN needs around 512MB or ram.





Re: XEN and OPENVZ [message #78608 is a reply to message #875] Tue, 04 January 2011 08:20 Go to previous messageGo to next message
mazda is currently offline mazda  Thailand
Messages: 3
Registered: January 2011
Location: TH
Member
Thanks for the info........ Very Happy Very Happy Very Happy
Re: XEN and OPENVZ [message #79808 is a reply to message #78608] Tue, 15 February 2011 16:32 Go to previous messageGo to next message
semir is currently offline semir  Hungary
Messages: 976
Registered: January 2011
Location: Hungary
Senior Master
Forum Moderator
LxCenter Evangelist
I thing swap space in OpenVZ is greatly misunderstood by most people.

If you assign burst memory to a client, he _will_ get only swap, if the host memory is full! Which means OpenVZ WILL NOT kill any application until the full memory of the host AND the swap space gets filled.
And this is the most important and misunderstood point.

This means the VPS will have its FULL memory out of physical memory, unit there is enough. After that the _host_ will swap, and assign swap space for the VPS.

This basically means better service on a not fully deployed host. IMNSHO.


ProfiVPS.com Cheap VPS hosting! Buy it from me Smile
ProfiVPS.hu Megbízható, Olcsó VPS bérlés, Virtuális szerver bérlés

If I helped you, please consider putting my link on your site/blog! Thank you in advance Smile
Re: XEN and OPENVZ [message #82652 is a reply to message #79808] Thu, 28 April 2011 03:42 Go to previous messageGo to next message
alexanderkitty is currently offline alexanderkitty  Netherlands
Messages: 2
Registered: April 2011
Location: Holland
Member
^ This. I have used OpenVZ for a long time and I have never noticed any killing of applications Smile
Re: XEN and OPENVZ [message #84916 is a reply to message #82652] Thu, 09 June 2011 04:33 Go to previous messageGo to next message
jannypana is currently offline jannypana  United States
Messages: 1
Registered: June 2011
Member

For openvz it is 1-2%, while Xen claims an overhead of 1-2% average and 8% in some worst case scenarios, so we can average it to say 3-5%. Xen 3.0 in paravirtualized mode, you should actually get performances comparable to OS level virtualization. Strangely, the openvz folks also haven't published any concrete benchmarks regarding the comparisons
Re: XEN and OPENVZ [message #84924 is a reply to message #84916] Thu, 09 June 2011 06:31 Go to previous messageGo to next message
semir is currently offline semir  Hungary
Messages: 976
Registered: January 2011
Location: Hungary
Senior Master
Forum Moderator
LxCenter Evangelist
OpenVZ containers virtually consume NO resources in idle. (As the host OS is not doing paravirtaulisation.)
Openvz guys made a "real time response test" or such, it's on their wiki somewhere.


"I have never noticed any killing of applications "
Yes, and you wont until the host has swap space left.


ProfiVPS.com Cheap VPS hosting! Buy it from me Smile
ProfiVPS.hu Megbízható, Olcsó VPS bérlés, Virtuális szerver bérlés

If I helped you, please consider putting my link on your site/blog! Thank you in advance Smile
Re: XEN and OPENVZ [message #89082 is a reply to message #84924] Fri, 16 September 2011 00:31 Go to previous messageGo to next message
vijaygadde is currently offline vijaygadde  India
Messages: 6
Registered: September 2011
Location: India
Member

HI


i am using openvz on hyeprvm.can i know is this posible to install xen alos in the same hyeprvm? can you provide me some suggestions?

Thanks
Vijay


vijaygadde
Re: XEN and OPENVZ [message #89134 is a reply to message #89082] Sun, 18 September 2011 00:49 Go to previous messageGo to next message
Walter  Brazil
Messages: 865
Registered: February 2009
Location: Florianopolis / BR
Senior Master
Forum Moderator
LxCenter Project Manager

No, you cannot. You must add another server (as Slave) configured to run Xen.

Re: XEN and OPENVZ [message #96597 is a reply to message #89134] Wed, 14 March 2012 16:09 Go to previous messageGo to next message
Pakwebdeveloper is currently offline Pakwebdeveloper
Messages: 1
Registered: March 2012
Location: Pakistan
Member

OpenVZ is best. we using openVZ for our vps
Re: XEN and OPENVZ [message #106094 is a reply to message #96597] Fri, 05 April 2013 13:10 Go to previous message
firesoul453 is currently offline firesoul453  United States
Messages: 7
Registered: December 2012
Member
Thanks useful information
Previous Topic:Apache homepage on all screens
Next Topic:[FAQ] Frequently Asked Questions
Goto Forum:
  


Current Time: Thu May 23 16:43:30 EDT 2013

Total time taken to generate the page: 0.01579 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software