LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-11-2007, 01:25 AM   #1
netlogic
Member
 
Registered: Jun 2007
Posts: 36

Rep: Reputation: 15
XenSource vs VMWARE


I always have been a Vmware person, but I am wondering if I am missing anything. Anyone here used Xensource at your work? Can you make any good supporting arguments if Xen is better than Vmware?

Thanks
 
Old 09-11-2007, 03:33 AM   #2
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
I didn't use xen, however I read some article mention if we want to run Windows in xen, we need to have new type of processor. Like Centrino duo or xeon. However, due to the hardwar resource is share by all client os, so xen have better performance.

Vmware, is kind of userfriendly tools. I like it very much. At this moment we can obtain both for free.
 
Old 09-11-2007, 08:17 AM   #3
Khawk
LQ Newbie
 
Registered: Feb 2005
Posts: 21

Rep: Reputation: 15
As far as I know Xen and VMware have totally different approach towards virtualization i.e. Xen uses paravirtualization whereas VMware uses native/full virtualization.
paravirtualization provides special layer ( I guess its called Hypervisor) to access the hardware directly, this results in better performance but requires modification in Guest OS.
In order to use unmodified Guest OS using paravirtualization technique, the underlying hardware must support H/W level virtulization such as Intel-VT support.

On the other hand, native virtualization works by fully simulating the hardware this resulting in using Guest OS without any modifications but results in relatively lower performance.

You might also wanna look VirtualIron, a new product in virtualization which uses Xen and Qemu behind the scenes.

Hope it helps.

Ciao
hawk
------------------------------------------------
http://www.o3magazine.com
"The focus of o3 is on the use of Free and Open Source (FOSS) software in Enterprise and Business environments."
 
Old 09-15-2007, 08:30 PM   #4
netlogic
Member
 
Registered: Jun 2007
Posts: 36

Original Poster
Rep: Reputation: 15
Would servers running Xen products gain a substantial speed boost by utilizing paravirtualization? I thought these chips are designed so you don’t have to paravirtualized. I thought the purpose of these enhanced VT chips was give you more access to the hardware. I thought paravirtualization was the software approached to VT chips. I am assuming these new chips are made so extra control of routing of device memory and irqs, so the hardwares can access them from the multiple channels. I haven’t read it about it yet. I briefly overheard it through a podcast. I am way too busy to keep up with all product trends. These new enhanced features seem nice, but I wonder how far we are to full 3D support through VM. It will be ideal for Desktop migrations. So, how are the features in Xen? Does it have more controls and virtual device options? How does it share process load among other VMs? Does it seem better than Vmware? I wish there is a way certain VM machine can’t dominate all the process loads like prevent testing VM from dominating production VM. Like assign 25% of the resources (cpu, memory, load, etc) to testing and 75% to production.
 
Old 09-15-2007, 09:17 PM   #5
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
Quote:
Originally Posted by netlogic View Post
Would servers running Xen products gain a substantial speed boost by utilizing paravirtualization?
Yes, it give better performance

I thought these chips are designed so you don’t have to paravirtualized.
You still need, because you need to start another virtual OS

I thought the purpose of these enhanced VT chips was give you more access to the hardware.
There is many purpose, just the technology include it in.

I thought paravirtualization was the software approached to VT chips.
You can say, the kernel.

I am assuming these new chips are made so extra control of routing of device memory and irqs, so the hardwares can access them from the multiple channels.
Actually xen able to run mutiple OSes even with older hardware, provided we have necessary kernel. Since we can't access microsoft kernel, then we need new kind of processor which support the virtualization easier.

I haven’t read it about it yet. I briefly overheard it through a podcast. I am way too busy to keep up with all product trends. These new enhanced features seem nice, but I wonder how far we are to full 3D support through VM. It will be ideal for Desktop migrations. So, how are the features in Xen?
Currently xen able to start multiple OSes, and we can see it through vnc.

Does it have more controls and virtual device options? How does it share process load among other VMs?
Yes, you can assign it to use separate hard drive, you can allocate memory for particular virtual machines.

Does it seem better than Vmware?
Depends, for vmware workstation and server, yes. I think not for higher end vmware products.

I wish there is a way certain VM machine can’t dominate all the process loads like prevent testing VM from dominating production VM. Like assign 25% of the resources (cpu, memory, load, etc) to testing and 75% to production.


Anyway, I did't use Xen (I study it before during initial release, however I failed to install it). I'm happy with vmware because of I have 1 centrino single core processor, not able to run Windows in Xen.

Regards,
Ks
 
Old 09-16-2007, 02:22 PM   #6
earthgecko
LQ Newbie
 
Registered: Sep 2007
Distribution: ubuntu and centos
Posts: 21

Rep: Reputation: 0
I would suggest if you are not flavour centric and are looking for a linux server virtualisation option, then my choice is OpenVZ, hands down. It has true native performance, unlike VMWare which has NEAR native perfomance.

A fairly good comparsion of virtual options is at http://en.wikipedia.org/wiki/Compari...rtual_machines

OpenVZ on CentOS is a doddle. VMWare I find quie cumbersome, whereas Xen lost me at their Windows licensing version and the fact that it requires HyperVisor support.

OpenVZ runs on a PIII server in a flash or a Dual Xeon Quad core just as well. It needs no latest and greatest and that is why it runs native.

OpenVZ is an absolute pleasure!!! Well done to the development team.
 
Old 09-18-2007, 01:37 AM   #7
netlogic
Member
 
Registered: Jun 2007
Posts: 36

Original Poster
Rep: Reputation: 15
I stopped using RHEL many years ago, but I will give it a shot. It seems like based on searches on newsgroups, many people seem to enjoy it. Thanks for the info. I will install it on my home server before I do some damages at the client site.
 
Old 09-19-2007, 03:47 AM   #8
earthgecko
LQ Newbie
 
Registered: Sep 2007
Distribution: ubuntu and centos
Posts: 21

Rep: Reputation: 0
Well then here is a quick howto build a CentOS OpenVZ server and two Virtual Environments (VEs), just I case it helps you. OF COURSE this has the IPs I used, they should be replaced with whatever IPs you use (this is not necessarily for your benefit netlogic, more for the random person that may stumble upon this and try it )

#### OpenVZ server build ####

# Install minimal CentOS with disabled SELinux

yum -y update
cd /etc/yum.repos.d
wget http://download.openvz.org/openvz.repo
rpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ
yum install ovzkernel-smp
### OR (I found that yum worked on one system but had to use rpm on another)
rpm -ihv ovzkernel-2.6.18-8.1.8.el5.028stab039.1.i686.rpm

# /etc/sysctl.conf file. Here is the relevant part of the file;
#please edit it accordingly. Only lines with two comments are
#commented out lines with one comment are essentially uncommented lines.

vi /etc/sysctl.conf
## On Hardware Node we generally need
## packet forwarding enabled and proxy arp disabled
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
## Enables source route verification
net.ipv4.conf.all.rp_filter = 1
## Enables the magic-sysrq key
kernel.sysrq = 1
## TCP Explict Congestion Notification
##net.ipv4.tcp_ecn = 0
## we do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0

#SELinux should be disabled. To that effect, put the following line
#to /etc/sysconfig/selinux: SELINUX=disabled

shutdown -r -t 1 now

yum -y install vzctl vzquota
/sbin/service vz start
yum -y install vzpkg vzyum vzrpm43-python vzrpm44-python
yum search vztmpl
yum -y install vztmpl-centos-4.i386
vzpkgcache centos-4-i386-minimal
rpm -Uvh http://download.openvz.org/contrib/u...0-2.noarch.rpm
rpm -Uvh ftp://ftp.pbone.net/mirror/ftp.sourc...0-1.noarch.rpm

# To create and start a VE, run the following commands:
# vzctl create VEID --ostemplate osname
# vzctl set VEID --ipadd a.b.c.d --save
# vzctl start VEID
#Here VEID is the numeric ID for the VE; osname is the name of the OS template for the VE, and a.b.c.d is the IP address to be assigned to the VE.
#Example:
vzctl create 1921682188 --ostemplate centos-4-i386-minimal
vzctl set 1921682188 --ipadd 192.168.2.188 --save
vzctl start 1921682188

#Your freshly-created VE should be up and running now; you can see its processes:
vzctl exec 1921682188 ps ax

#To enter VE give the following command:
vzctl enter 1921682188

#To exit from VE, just type exit and press enter:
exit

#To stop the VE:
vzctl stop 1921682188

#And to destroy VE:
vzctl destroy 1921682188

###### Cloning a VE

# OLDVE=1921682188 NEWVE=1921682189 # Just an example
vzctl stop 1921682188
mkdir /vz/root/1921682189
cp /etc/vz/conf/1921682189.conf /etc/vz/conf/1921682189.conf
mkdir /vz/private/1921682189
pushd /vz/private/1921682188; tar c --numeric-owner * | tar x --numeric-owner -C /vz/private/1921682189; popd
vi /etc/vz/conf/1921682189.conf
# Change the IP_ADDRESS
vzctl start 1921682189
vzctl start 1921682188

#Because the base VE is a minimal CentOS system it is handy to have yum, below is a script that installs all of yum's dependancies and yum.
#Please note that the version numbers below may need updating!!!

####################
##
## Misc and YUM installs
##
####################

#correct your GATEWAY, as it will probably NOT be the default!!!
mv /etc/sysconfig/network /etc/sysconfig/network.original
touch /etc/sysconfig/network
echo "NETWORKING="yes"" >> /etc/sysconfig/network
echo "GATEWAY="xx.xx.xx.xX"" >> /etc/sysconfig/network
#Where xx.xx.xx.xx is the IP of your gateway
# Add nameserver
touch /etc/resolv.conf
echo "nameserver xx.xx.xx.xx" >> /etc/resolv.conf
#Where xx.xx.xx.xx is the IP of your nameserver, do it twice if there are two nameservers
service network restart

rpm -Uvh http://mirror.centos.org/centos-4/4/...1.4-3.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/....3-13.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...-14.4.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...16-10.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...16-10.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...5.7-4.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...entos.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...3.6-2.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...1.2.1.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...7.1-4.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...onptl.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...8-2.noarch.rpm
rpm -Uvh http://mirror.centos.org/centos-4/4/...tos.noarch.rpm
yum -y update
yum -y install wget
rpm -Uvh http://download.openvz.org/contrib/u...0-2.noarch.rpm


Have fun, go surfing

Last edited by earthgecko; 09-19-2007 at 03:49 AM.
 
Old 09-25-2007, 06:41 AM   #9
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
I installed both Xen and VMware. Xen on my desktop PC, VMware on the Notebook. Why?
Well, first of all only the desktop PC has and AMD processor with the virtualization extentions - the notebook has only a PentiumM.
Second, I run servers (incl. Windows) on he desktop and in such a case you get best performance using Xen.
Third, I do a little bit of multimedia on the notebook and as Xen does not support yet audio nor accellerated 2 or 3D graphics (not sure about USB connections and other stuff), only VMware comes into the picture.
 
Old 09-29-2007, 05:04 PM   #10
funderburg
LQ Newbie
 
Registered: Sep 2007
Posts: 6

Rep: Reputation: 0
Just a small note. The latest versions of VMware Workstation support some sort of paravirtualization.

From the docs:

"If you have a VMware VMI (Virtual Machine Interface) enabled kernel in the guest operating system, you might see improved performance if you enable paravirtual support in the virtual machine."

We use Xen in our development environments for ease of support but it's never proved stable enough to use in our production environment. There we use plain VMware server.
 
Old 10-05-2007, 08:50 AM   #11
netman4ttm
Member
 
Registered: Aug 2007
Distribution: FreeBSD 8.0 xubuntu
Posts: 49

Rep: Reputation: 16
Which version of VMWare are you talking about?
My experience has been that VMWare running on bare iron beats anything out there; hands down. The free version has provided good; performance on Ubuntu 6.06. The free version is running 1 WinNT Back Office server, 2 FreeBSD 5.5 servers (one for OpenVPN the other for Samba)and 1 NT workstation for NetOP. The hardware is an IBM x Series 336 with 2 gig of ram. Our uptime has been over a year with no performance issues and with over 40 users on the Samba server and 5 to 10 on the others.
Our experience with the GSX version is even better. We were able to consolidate 1 Oracle and 3 MySQL servers into one.
Unfortunately, my RedHat experience was early in the game for them and compared to VMWare not really a match.
 
Old 10-05-2007, 11:33 AM   #12
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
We use VMWare on RHEL5 despite it having Xen available. Xen just doesn't compare to VMWare for our needs, and paravirtualization is slower than full virtualization.

Xen's configuration utilities are nowhere near as rich as VMWare's.

If you're going to spend money, get VMWare ESX, if you want free go with VMWare Server.

At this point in time I have yet to see any reason to mess with Xen, all our trials with it provided no extra functionality over VMWare and a introduced a lot more hassle.
 
Old 10-05-2007, 02:52 PM   #13
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
Interestingly I have OpenSuSE 10.2 Xen running on AMD Opteron box and find paravirtualisation much faster than full virtualisation - very close to host performance for networking and disk. Limited set of management tools as yet compared with VMWare and may not be stable enough for production use - depends on what you want it for - I'm using it in a test environment currently.
 
Old 11-16-2007, 07:59 AM   #14
vmguru007
LQ Newbie
 
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
Lightbulb VMware Infrastructure 3 vs Citrix Xen Enterprise

Hi all,

I agree with all you of that both Xen and VMware has his advantages and disadvantages. I have came across a good comparison which show most of these and I hope it will help.

ITComparison.com VMware Infrastructure 3 VS Citrix Xen Enterprise.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SLES 10 XENSource Question awkward Linux - Software 0 08-06-2007 03:02 PM
LXer: Xensource expands its lineup LXer Syndicated Linux News 0 12-18-2006 06:54 AM
LXer: Xensource And VMware Join Forces On Common Approach To ... LXer Syndicated Linux News 0 08-21-2006 12:33 PM
LXer: Vmware, XenSource Join Virtualization Forces For Linux LXer Syndicated Linux News 1 08-12-2006 04:57 AM
LXer: XenSource, VMware Conflict Holds Back Linux Virtualization LXer Syndicated Linux News 0 07-28-2006 10:54 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration