Virtualization host
What do people use as a host for virtulisation? I've run qemu-kvm under slackware 14.2 with some success, but any guest with a DM heavier than XCFE is a no go and I have failed miserably to pass through the GPU on this machine. At the moment the I'm having trouble with the video not getting through. Not sure whether this is slackware, the 5.1.8 kernel I;ve installed or something else.
I'm going to use my old machine as a host as I don't want this machine messed up again. Any thoughts on what would be painless as a host? Slackware 14.2 with stock kernel? Slackware-current with stock kernel? Debian Arch or: Proxmox xcp-ng I'm just wondering what other people do for relatively pain free virtualization? |
I run Virtualbox on FreeBSD as a host with multiple guests. The only guest with a "desktop" is BlackArch though: the other guests I run are hackable VMs, most of which are headless. I don't run a desktop of any sort except for BlackArch and that uses Fluxbox so performance is fast virtualized or not.
Sorry, not sure that is helpful... |
I use VirtualBox at home and Proxmox at work. Either way, use a system with a reasonable CPU that supports virtualization extensions. My home system is a 4-core i4-6400. No problems running VMs. At work the Proxmox systems are dual socket, multi-core Xeons. No problems running VMs. :) I do not tinker with GPU pass-through on either platform.
I use an Ubuntu MATE desktop VM at home to remote into work. No issues at all. For example, today I spent 8 hours straight cranking and testing. Long on my bucket list is learning KVM and virt-manager and moving away from VirtualBox. Some day.... Quote:
|
Virtualization host
+1 more for Virtualbox. I use it on my work machine without issues.
|
Quote:
I had trouble getting Xen working with NetBSD 7, mainly because the NetBSD team are only now catching up with Linux on the graphics front. I'm hoping to get back to Xen when NetBSD 9 is released, although I am keeping an eye on nvmm as well, NetBSD's new virtual machine monitor. I'm happy to use Slackware as a guest system but getting a Xen+Slackware host working was painful. Then again I had a new board and I was unfamiliar with UEFI and grub at the time, so mea culpa in some ways. I was trying to boot the Xen dom0 from raid-1 with LVM and just couldn't get it going. As far as PCI and graphics passthru is concerned, I had these working smoothly with NetBSD 6 and Xen, but not with 7. It was ridiculously simple getting it all to work, while anything similar in Linux with KVM is ridiculously complex. Take a look at FreeBSD, Alpine or OpenSUSE for a Xen host. OpenSUSE documentation is very good. Graphics passthru should work on a Linux Xen host. Just use the xl commands and plain config files for creating your domUs; don't bother with the byzantine mess that is virt-manager and libvirt. If Linux can make something more complicated than it needs to be they will surely do so. edit -- So far nvmm is for AMD CPUs only; NetBSD also has HAXM which works for Intel CPUs. |
Quote:
Make sure that you use the virtio video driver. |
For a "bare metal" hypervisor, I've had great success with VMware ESXi. It ran without interruption, and with daily use for years at a time on a box I was once in charge of administering.
|
I've been using VirtualBox, installed from the all distributions *.run installer. I still use the latest of the 5.* series, because I had problems with the mouse cursor with the 6.* release and other issues. The Kernel 4.4.172 issue has been fixed in the latest 5.* releases, too.
Hardware-wise, I had been using an FX4100 for a very long time, however last year I did a 'budget upgrade' to FX8350 with 16GB RAM. |
Quote:
|
Quote:
|
Quote:
|
Quote:
I'm ssh-ing into slackware current with X forwarding. But for some reason Firefox graphics do not like that, and I'd like not to be restricted, so I'm thinking again of the virtualisation option. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Thanks all. It looks like there are some good options.
NetBSD/Alipne/OpenSUSE + Xen for one way. VirtualBox as the other - if I try this on Slackware I'll do it on a clean(ish) install. I'll likely give both a go. From looking on the web at xcp-ng and Proxmox these look interesting but are more aimed at servers. Intesting for later but I'll not go that route right now. Thanks, Pete |
I'm somewhat behind the times - for me, server-side is Slackware 14.1 running Xen 4.5.1 (from SlackBuilds). This is at work but at a very small company. I installed it in 2015 and since then I only switched the host machine once (but kept the same software configuration). It runs 5 domU instances (4 Slackware 14.1 and 1 Windows 7). On occasion I start a NetBSD or another Windows instance for different needs/experiments.
All regular domU instances are using partitions on a RAID1 array - I think it gives better performance than regular files; I don't have guest (storage) snapshots, but I have good enough backups. My main reason was that it's free and feels "light" on resources. It also feels simpler/better documented than other options. I like its configuration files and it fits quite well with Slackware. I should move to newer versions (both Xen and Slackware) but all the virtualized machines are in my administration so I don't worry too much about security issues regarding guest-host interactions (and of course, time is always lacking). The main reason for virtualization was energy savings (power/cooling). It's easier to cool one big..-ish computer than it was to power and cool 5. Not to mention less hardware issues. The only server still on bare metal is the company fileserver (also Slackware 14.1/Samba). The performance for those under Xen feels ok, but there aren't heavy loads involved. Side-note: The Windows 7 installation functions as license server for an accounting package. This required qemu which takes around 15% of CPU on dom0 by itself, despite the guest not doing much. Another thing I like about XEN was that it helps with maintenance - in fact I did a somewhat unorthodox move of all guests from one host to another using drbd (shared storage) at one point; this still resulted in 1-2 minutes of downtime because in testing I couldn't get it to move running guests reliably between hosts. Shutting down the guests on one host and starting them up on the other worked fine, though. |
my system (laptop):
i7-4810MQ RAM 32GB 2xSSD (Samsung) video hybrid with host intel video in use host OS Slackware-current with latest kernels (just for fun, does not matter for VM) VM VirtualBox 5.x (from Oracle site - just works better) tested VirtualBox 6.x but disk access performance below 5.x current guests: Slackware-current (for safe testing upgrades) OpenIndiana MX Linux (some software accesibility) Funtoo (getting rid of this - too much problems with updates) FreeBSD (my first personal OS since mid 90') Windows 8.1 (photo editing software) all work well: sound is available and works with youtube/music (no stuttering), youtube/movies visible sound delay video no issues hope this will help |
All times are GMT -5. The time now is 04:31 PM. |