[SOLVED] Choosing a virtualization method.

Here you can discuss every aspect of Debian. Note: not for support requests!

[SOLVED] Choosing a virtualization method.

Postby cds60601 » 2018-06-17 13:59

Head_on_a_Stick wrote:
Tekmon_Xonic wrote:I don't think that 2GB of RAM is enough to run Windows 7 on top of Debian

Yes, that would be a stretch but a simple openbox desktop in Debian only requires ~500MiB so you could give 1.5GiB to Win7, theoretically.

Guide here:

https://wiki.debian.org/KVM


Interesting twist to this topic, I will start a new thread for my questions.

I would appreciate some feedback on experiences before committing on an engine to use. I have used a few in the past and I'll expand a tad below.
But first, my specs are a bit lean - Intel® Pentium(R) CPU N3700 @ 1.60GHz × 4 lappy w/8 GB ram running 64-bit Stable.

1. KVM - Until recently, I never gave it much thought until I looking over the wiki (thank you HoaS for that!). This looks promising.
2. VB - I have played with this in the past. Its a nice package but feels sluggish on my lappy so I attribute it to being somewhat bloated (I'm not sold on this one).
3. Xen - Again, I have used in the past (quite a long time ago actually) and feel that could be a possibility. Unsure since my expectations may be based on past experiences.

Any and all suggestions/experiences/help would be greatly appreciated.

Thanks and cheers
Chris
Last edited by cds60601 on 2018-06-22 02:59, edited 1 time in total.
Yeah, 220, 221. Whatever it takes.
Server: Debian 9 (Stretch) Workstation: Archlinux
User avatar
cds60601
 
Posts: 136
Joined: 2017-11-25 05:58

Re: Choosing a virtualization method.

Postby Head_on_a_Stick » 2018-06-17 14:18

If I may...
cds60601 wrote:VB

^ This uses non-free kernel modules for the guest additions and the upstream security support is so poor that Debian dropped VirtualBox for the stretch release.

cds60601 wrote:Xen

^ This is a full hyervisor solution (much like OpenBSD's vmd(8)); it's also *very* complicated:

https://wiki.debian.org/Xen

KVM is a native kernel module and I find the performance to be excellent.

I should probably note that I prefer to use `qemu-system-x86_64` directly rather than mess around with libvirt:

https://forums.bunsenlabs.org/viewtopic.php?id=1546
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8321
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Choosing a virtualization method.

Postby cds60601 » 2018-06-17 14:23

Head_on_a_Stick wrote:If I may...
cds60601 wrote:VB

^ This uses non-free kernel modules for the guest additions and the upstream security support is so poor that Debian dropped VirtualBox for the stretch release.

cds60601 wrote:Xen

^ This is a full hyervisor solution (much like OpenBSD's vmd(8)); it's also *very* complicated:

https://wiki.debian.org/Xen

KVM is a native kernel module and I find the performance to be excellent.

I should probably note that I prefer to use `qemu-system-x86_64` directly rather than mess around with libvirt:

https://forums.bunsenlabs.org/viewtopic.php?id=1546


Perfect! This is exactly what I was looking for. I must admit that based on my previous experience w/Xen - that would not be a good option for a laptop. Now if I wanted t rebuild my Debian server ... maybe. Unless Xen has changed that much over the years to be a feasible desktop app like VB of course,

Are there other virt options other that the 3 (well, 2 workable mentions above)?

Cheers
Chris
Yeah, 220, 221. Whatever it takes.
Server: Debian 9 (Stretch) Workstation: Archlinux
User avatar
cds60601
 
Posts: 136
Joined: 2017-11-25 05:58

Re: Choosing a virtualization method.

Postby Head_on_a_Stick » 2018-06-17 16:16

cds60601 wrote:Are there other virt options other that the 3 (well, 2 workable mentions above?

I think there are a few other proprietary solutions but I haven't tried those, for obvious reasons :D

You might find that containers can do what you want with a significantly lower overhead — if I only need a command line in a different userspace then I tend to prefer systemd-nspawn (https://packages.debian.org/stretch/systemd-container) over a full-blown VM.

Guide here:

viewtopic.php?f=16&t=129390

A good, old-fashioned chroot jail is another option for that sort of thing if systemd is not favored.
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8321
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Choosing a virtualization method.

Postby pendrachken » 2018-06-20 03:45

cds60601 wrote:
Head_on_a_Stick wrote:If I may...
cds60601 wrote:VB

^ This uses non-free kernel modules for the guest additions and the upstream security support is so poor that Debian dropped VirtualBox for the stretch release.

cds60601 wrote:Xen

^ This is a full hyervisor solution (much like OpenBSD's vmd(8)); it's also *very* complicated:

https://wiki.debian.org/Xen

KVM is a native kernel module and I find the performance to be excellent.

I should probably note that I prefer to use `qemu-system-x86_64` directly rather than mess around with libvirt:

https://forums.bunsenlabs.org/viewtopic.php?id=1546


Perfect! This is exactly what I was looking for. I must admit that based on my previous experience w/Xen - that would not be a good option for a laptop. Now if I wanted t rebuild my Debian server ... maybe. Unless Xen has changed that much over the years to be a feasible desktop app like VB of course,

Are there other virt options other that the 3 (well, 2 workable mentions above)?

Cheers
Chris


I use VMWare player( free for non-corporate use), but I run the opposite way these days. I run multiple Linux VMs on a single large Windows server host. Throw Intel / AMD virtualization, a couple cores, and 2-16 GB of RAM at each VM depending on what it needs and if you went full screen you would think it was on bare metal. It's worth checking out.

I obviously don't care if software is OSS / proprietary, as long as it works. YMMV.
fortune -o
Your love life will be... interesting.
:twisted: How did it know?

The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches :-P
pendrachken
 
Posts: 1331
Joined: 2007-03-04 21:10
Location: U.S.A. - WI.

Re: Choosing a virtualization method.

Postby cds60601 » 2018-06-22 02:58

Head_on_a_Stick wrote:If I may...
cds60601 wrote:VB

^ This uses non-free kernel modules for the guest additions and the upstream security support is so poor that Debian dropped VirtualBox for the stretch release.

cds60601 wrote:Xen

^ This is a full hyervisor solution (much like OpenBSD's vmd(8)); it's also *very* complicated:

https://wiki.debian.org/Xen

KVM is a native kernel module and I find the performance to be excellent.

I should probably note that I prefer to use `qemu-system-x86_64` directly rather than mess around with libvirt:

https://forums.bunsenlabs.org/viewtopic.php?id=1546


Outstanding - love the virtual lab tutorial, thank you.
Qemu is installed, creating my first image (Testing) - can't wait for the finished product.

Cheers
Chris
Yeah, 220, 221. Whatever it takes.
Server: Debian 9 (Stretch) Workstation: Archlinux
User avatar
cds60601
 
Posts: 136
Joined: 2017-11-25 05:58


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable