Tux

...making Linux just a little more fun!

UML and vmware

J.Bakshi [j.bakshi at icmail.net]
Fri, 1 Dec 2006 22:54:42 +0530

Hi list,

Hope everyone is well here :-) I am little bit confused and seeking your guidance. I like to run a virtual machine for experiment with different S/W. Both UML and vmware are there. I like the S/W which gives less overhead to the CPU. occupies less Ram. Provides faster speed and performance. In this scenario which will be better ? could any one suggest ?

PS: Assume that both the virtual machines running with exactly same number of applications.

Please CC to me.

thanks...


Top    Back


Thomas Adam [thomas.adam22 at gmail.com]
Thu, 28 Dec 2006 15:37:19 +0000

On 01/12/06, J.Bakshi <j.bakshi@icmail.net> wrote:

> Hi list,
>
> Hope everyone is well here :-)
> I am little bit confused and seeking your guidance. I like to run a virtual
> machine for experiment with different S/W. Both UML and vmware are there. I
> like the S/W which gives less overhead to the CPU. occupies less Ram.
> Provides faster speed and performance. In this scenario which will be
> better ? could any one suggest ?

Ah, subjectivity is what you want. I use both VMWare and UML at work. We're just switching over to using UML since that's less strain on the box that the VMWare server runs. We found that testing our own software inside VMWare to be a little hit and miss -- notably that VMWare crashes a lot, and doesn't always emulate the hardware aspects as best it might.

So far UML is working out for us great.

Apart from a "me too" reply, was there anything specific you wanted to know?

-- Thomas Adam


Top    Back


[j.bakshi at icmail.net]
Thu, 28 Dec 2006 20:48:44 -0800

----- Original Message Follows -----

From: "Thomas Adam" <thomas.adam22@gmail.com>
To: "The Answer Gang" <tag@lists.linuxgazette.net>
Cc: j.bakshi@icmail.net
Subject: Re: [TAG] UML and vmware
Date: Thu, 28 Dec 2006 15:37:19 +0000

[[[ I have snipped portions of this reply - Kat ]]]

> Ah, subjectivity is what you want.  I use both VMWare and
> UML at work.
>  We're just switching over to using UML since that's less
> strain on the box that the VMWare server runs.  We found
> that testing our own software inside VMWare to be a little
> hit and miss -- notably that VMWare crashes a lot, and
> doesn't always emulate the hardware aspects as best it
> might.
> 
> So far UML is working out for us great.
> 
Thanks a lot Thomas for the discussion. Based on this discussion I like to try UML :-) thanks once again.


Top    Back


Mulyadi Santosa [mulyadi.santosa at gmail.com]
Tue, 02 Jan 2007 15:48:09 +0700

Hi...

> Hope everyone is well here :-)
> I am little bit confused and seeking your guidance. I like to run a virtual 
> machine for experiment with different S/W. Both UML and vmware are there. I 
> like the S/W which gives less overhead to the CPU. occupies less Ram. 
> Provides faster speed and performance. In this scenario which will be 
> better ? could any one suggest ?
>
> PS: Assume that both the virtual machines running with exactly same number of 
> applications.
>   

between UML and VMware, maybe I tend to pick UML. To get the best of UML, I suggest to patch your host kernel with the latest SKAS3 patch. I heard the patch is already merged with mainline kernel, but I am not so sure. You can also grab the Blaisorblade patchset, this patchset includes all the latest patch for UML to be applied on host and the guest. Basically UML may works better because there is less instruction translation involved, it just intercepts the system calls and throw it back to UML kernel. On the contrary, VMWare intercepts privileged instructions and simulate the work with other unpriviledged instruction. So we can say, UML is lighter compared to VMWare, but maybe the situation can change if both support the Intel VT/ AMD pacifica technology flawlessly

But if you somehow are unable to patch the host kernel, you can try SKAS0 mode. It performs less than SKAS3, but still better than the old TT mode.

Besides them, I also suggest you to take a look on Linux Vserver, Qemu+kqemu/kvm, Xen and openVZ. We can't talk much about them within this short e-mail, so I just encourage you to see in case one of them fits better with your need.

regards,

Mulyadi


Top    Back


[j.bakshi at icmail.net]
Tue, 02 Jan 2007 20:59:14 -0800

----- Original Message Follows -----

From: Mulyadi Santosa <mulyadi.santosa@gmail.com>
To: The Answer Gang <tag@lists.linuxgazette.net>
Cc: j.bakshi@icmail.net
Subject: Re: [TAG] UML and vmware
Date: Tue, 02 Jan 2007 15:48:09 +0700
> Hi...

[[[ I have snipped portions of this reply - Kat ]]]

> regards,
> 
> Mulyadi
> 
Thanks a lot for your suggestive discussion. Most of the users have voted for UML, so I think I should go for UML. and yes I have also heard about Xen but don't have any idea about how superior xen is than UML. thanks.

> 


Top    Back


Kapil Hari Paranjape [kapil at imsc.res.in]
Wed, 3 Jan 2007 11:06:47 +0530

On Tue, 02 Jan 2007, j.bakshi@icmail.net wrote:

> Thanks a lot for your suggestive discussion.  Most of the
> users have voted for UML, so I think I should
> go for UML. and yes I have also heard about Xen but don't
> have any idea about how superior xen is than UML.
> thanks.

The Xen site and the wikipedia have some nice tables explaining some of the differences between the different virtualisations available. Here is a brief summary:

1. chroot: Shares process space. File system access is restricted. Further restrictions can be imposed by the use of capabilities. Does not need kernel changes.

2. vserver: Access to process space is restricted. The use of capabilities and contexts is made simpler by vserver-utils. Needs kernel changes.

3. UML: run linux as a separate process with a mix of virtual and real hardware. Can optimize this process as it is also "linux". Does not need root privilege to run. Kernel changes not required but are useful.

4. Qemu, VMWare etc.: Run any O/S as a separate process with a mix of virtual and real hardware. Harder to optimize but due to some recent changes to CPU support for virtualisation this can be run a bit faster than it could be before. Does not need root privilege to run.

5. Xen: run linux and other O/S's as separate processes with lower overhead by means of the Xen virtualisation interface. This can also make use the CPU support for virtualisation. Needs changes to "base" kernel to run.

In the case of 3-5 the "process" kernel version can be different from the "base" kernel.

Regards,

Kapil. --


Top    Back


[j.bakshi at icmail.net]
Wed, 03 Jan 2007 02:12:09 -0800

----- Original Message Follows -----

From: Kapil Hari Paranjape <kapil@imsc.res.in>
To: j.bakshi@icmail.net
Cc: The Answer Gang <tag@lists.linuxgazette.net>
Subject: Re: [TAG] UML and vmware
Date: Wed, 3 Jan 2007 11:06:47 +0530
> On Tue, 02 Jan 2007, j.bakshi@icmail.net wrote:
> > Thanks a lot for your suggestive discussion.  Most of
> > the users have voted for UML, so I think I should
> > go for UML. and yes I have also heard about Xen but
> > don't have any idea about how superior xen is than UML.
> > thanks.
> 
> The Xen site and the wikipedia have some nice tables
> explaining some of the differences between the different
> virtualisations available. Here is a brief summary:

[[[ I have snipped portions of this reply - Kat ]]]

wow !! this is a great mini article :-) thanks a lot for sharing the information.

with best regards,


Top    Back