1 |
On Friday, April 24, 2015 10:23:01 PM lee wrote: |
2 |
> "J. Roeleveld" <joost@××××××××.org> writes: |
3 |
> > On Thursday, April 23, 2015 11:03:53 PM lee wrote: |
4 |
> > Do you have anything that you find insufficiently documented or is too |
5 |
> > difficult? |
6 |
> sure, lots |
7 |
|
8 |
Have you contacted the Xen project with this? |
9 |
|
10 |
> > Containers. |
11 |
> > Chroots don't have much when it comes to isolation. |
12 |
> |
13 |
> What exactly are the issues with containers? Ppl seem to work on them |
14 |
> and to manage to make them more secure over time. |
15 |
|
16 |
Lack of clear documentation on how to use them. All the examples online refer |
17 |
to systemd-only commands. |
18 |
|
19 |
> >> >>Which the "better" tool, or combination of tools is, depends on what |
20 |
> >> >>you |
21 |
> >> >>want to accomplish. You could use containers in a VM, too, or use |
22 |
> >> >>virtualbox along with containers to run the odd VMs that require full |
23 |
> >> >>virtualzation. |
24 |
> >> >> |
25 |
> >> > Virtualbox is nice for a quick test. I wouldn't use it for production. |
26 |
> >> |
27 |
> >> Why not? |
28 |
> > |
29 |
> > Several reasons: |
30 |
> > |
31 |
> > 1) I wouldn't trust a desktop application for a server |
32 |
> |
33 |
> So that's a gut feeling? |
34 |
|
35 |
No, a combination of experience and common sense. |
36 |
A desktop application dies when the desktop dies. |
37 |
|
38 |
> > 2) The overhead from Virtualbox is quite high (still better then VMWare's |
39 |
> > desktop versions though) |
40 |
> |
41 |
> Overhead in which way? I haven't done much with virtualbox yet and |
42 |
> merely found it rather easy to use, very useful and to just work fine. |
43 |
|
44 |
Virtualbox is easy when all you want is to quickly run a VM for a quick test. |
45 |
It isn't designed to run multiple VMs with maximum performance. |
46 |
In my experience I get on average 80% of the performance inside a Virtualbox |
47 |
VM when compared to running them on the machine directly. With Xen, I can get |
48 |
95%. |
49 |
(This is using normal work-loads, lets not talk about 3D inside a VM) |
50 |
|
51 |
> Compared to containers, the overhead xen requires is enormous, |
52 |
|
53 |
Hardly comparable. Containers run inside the same kernel. With Xen, or any |
54 |
other virtualisation technology, you run a full OS. |
55 |
|
56 |
> and it |
57 |
> doesn't give you a stable system to run VMs on because dom0 is already |
58 |
> virtualized itself. |
59 |
|
60 |
Why doesn't it provide a stable system? |
61 |
The dom0 has 1 task and 1 task only: Manage the VMs and resources provided to |
62 |
the VMs. That part can be made extremely stable. |
63 |
My Lab machine (which only runs VMs for testing and development) currently has |
64 |
an uptime of over a year. In that time I've had VMs crashing because of bad |
65 |
code inside the VM. Not noticing any issues there. Neither with stability nor |
66 |
with performance. |
67 |
My only interaction with the dom0 there is the create/destroy/start/stop/... |
68 |
VMs. |
69 |
|
70 |
> I don't know how that compares to virtualbox --- I |
71 |
> didn't have time to look into it and it just worked, allowing me to run |
72 |
> a VM on the fly on the same machine I'm working on without any ado. |
73 |
|
74 |
For that scenario, VirtualBox is quite well suited. I wouldn't run Xen on my |
75 |
desktop or laptop. |
76 |
|
77 |
> That VM was simply a copy of a VM taken from a vmware server, and the |
78 |
> copy could be used without any conversion or anything. |
79 |
|
80 |
Good luck doing that when you installed the VMWare client tools and drivers |
81 |
inside a MS Windows VM. |
82 |
|
83 |
> You can't do |
84 |
> that with xen because you'll be having lots of trouble to convert the |
85 |
> VM, to convert the machine you're working on to xen and to get it to |
86 |
> work, to work around all the problems xen brings about ... Some days |
87 |
> later you might finally have it working --- which is out of the question |
88 |
> because the VM is needed right away. And virtualbox does just that. |
89 |
|
90 |
Look into the pre-configured versions of Xen, like what Citrix offers. |
91 |
I can import VMs from VMWare as well without issue. (Apart from the VMWare |
92 |
client tools as mentioned, but Virtualbox has the same issues) |
93 |
|
94 |
> I was really surprised that virtualbox worked that well. Maybe xen will |
95 |
> get there some time. |
96 |
|
97 |
Xen already is there. |
98 |
|
99 |
Please understand that Xen and Virtualbox have their own usecases: |
100 |
|
101 |
Xen is for dedicated hosts running VMs 24/7 |
102 |
|
103 |
Virtualbox is for testing stuff quickly on a laptop/desktop |
104 |
|
105 |
The only common part is that they both run VMs. |
106 |
|
107 |
-- |
108 |
Joost |