this post was submitted on 27 Apr 2024
164 points (97.7% liked)

Linux

46777 readers
1873 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 32 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 3 months ago (1 children)

(Posted in response to Virtual box and VMware)

What? Is there some new controversy going on ?

[–] [email protected] 4 points 3 months ago (2 children)

Oh, people recommend VirtualBox all the time and it's awful.

[–] [email protected] 5 points 3 months ago

Ah well, I've used Virtualbox, Vmware and KVM and I found them all useful for my purposes. Vmware is very slick and has an edge on easy Gfx acceleration for Windows guests but since they're now owned by Broadcom that might become a problem.

I'm happy with Virtualbox on my desktop and KVM on a few servers. I don't really care to take sides.

[–] [email protected] 1 points 2 months ago (1 children)

What's awful about it? Genuinely asking

[–] [email protected] 2 points 2 months ago (1 children)

Performance compared to KVM is really poor. And it handles graphics poorly.

[–] [email protected] 1 points 2 months ago

I've tried QEMU for this, I'll try KVM one of these days

[–] [email protected] 3 points 3 months ago (2 children)

Is there an equivalent or something similar to "Use host i/o cache" that VirtualBox have? Last time I tried virt-manager the install time of the vm was incredibly slow because of the terrible write speed to my hdd. Vbox fixes that issue with the host i/o cache setting.

[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

Usually setting the cache mode to "none" gives the best performance, assuming you're using the virtio interface, instead of SATA/SCSI. This is a common mistake most newbies make when installing Windows, because virt-manager defaults to the latter, which gives poor perfomance. The same goes for the network btw, you'd want to use the virtio network interface instead of the emulated NIC. So before you install a Windows guest, make sure you change both those interfaces.

After changing the hardware interfaces, what you'd need to do (with Windows guests) is you'd need to supply the [virtio drivers](https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md, which you'll need to provided to the Windows setup (via the virtio driver ISO) when prompted.

But if you've already installed Windows, you'll need to install all the virtio drivers first and then update the interfaces after you've powered off the VM.

And in case you were wondering, this isn't an issue with Linux guests, since virt-manager defaults to virtio hardware, and drivers aren't an issue either.

[–] [email protected] 2 points 3 months ago (2 children)

What is the difference between Virtual Machine Manager and Proxmos?

[–] [email protected] 17 points 3 months ago (2 children)

Proxmox is an entire distro just for running virtual machines, with a web UI. Virt-manager is a program you install on a normal machine

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago) (1 children)

Aah.. Isn't that what called a bare metal OS?

[–] [email protected] 6 points 3 months ago (1 children)

A bare metal OS is an OS running outside of a hypervisor. Virt-manager is a class 1 hypervisor that allows you to host guest operating systems. ( Run vms )

[–] [email protected] 4 points 3 months ago (3 children)

Hey sorry for the confusion. What I meant is Proxmos is considered as a bare metal hypervisor and Virt manager is a hypervisor inside an OS, right?

[–] [email protected] 4 points 3 months ago (1 children)

Technically no, both use kvm virtualization which is included in the Linux kernal, so both are "bare metal hypervisors" other wise know as class 1 hypervisors. Distinctions can be confusing 😂

[–] [email protected] 2 points 3 months ago (1 children)

Oh dear... I really thought I understood what bare metal means... But looks like this is beyond my tech comprehension

[–] [email protected] 2 points 3 months ago (1 children)

Bare metal is "kernel running on hardware" I think. KVM is a kernel feature, so the virtualization is done in kernel space (?) and on the hardware.

[–] [email protected] 1 points 3 months ago (1 children)

Well this can be a starting point of a rabbit hole. Time to spend hours reading stuff that I don't really understand.

[–] [email protected] 1 points 3 months ago

TL;DR: use what is in the kernel, without strange out of tree kernel modules like for VirtualBox, and use KVM, i.e. on fedora virt-manager qemu qemu-kvm

[–] possiblylinux127 2 points 3 months ago (1 children)

*Proxmox

Virtual manager is a application that connects to libvirtd in the back end. Think of it as a web browser or file manager for VMs.

Proxmox VE is an entire OS built for virtualization on dedicated servers. It also has support for clusters and live VM migrations between hosts. It is in essence a server OS designed to run in a data center (or homelab) of some kind. If is sort of equivalent to vSphere but they charge you per CPU socket for enterprise support and stability

[–] [email protected] 1 points 3 months ago (1 children)

Well this thread clearly established that I neither have technical knowledge and I don't pay attention to spelling...

Jokes aside this is a good explanation. I have seen admins using vSphere and it kind of makes sense. I'm just starting to scratch the surface of homelab, and now started out with a raspberry pie. My dream is a full fledged self sustaining homelab.

[–] possiblylinux127 1 points 3 months ago (1 children)

If you ever want to get a Proxmox cluster go for 3-5 identical machines. I have a 3 totally different machines and it creates headaches

[–] [email protected] 1 points 3 months ago (1 children)

What kind of headaches are you having? I've been running two completely different machines in a cluster with a pi as a Qdevice to keep quorum and it's been incredibly stable for years.

[–] possiblylinux127 1 points 3 months ago* (last edited 3 months ago) (1 children)

One device decided to be finicky and the biggest storage array is all on one system.

It really sucks you can't do HA with BTRFS. It is more reliable than ZFS due to licensing

[–] [email protected] 1 points 3 months ago (1 children)

What's the licensing part you mentioned? Can you elaborate a little?

[–] possiblylinux127 1 points 3 months ago

OpenZFS is not GPL compatible so it can never be baked into the kernel in the same way BTRFS can. I've run into issues where I've needed to downgrade the kernel but if I do the system won't boot.

Btrfs also doesn't need any special software to work as it is completely native and baked in.

[–] [email protected] 2 points 3 months ago

They both use KVM in the end, so they are both Type 1 hypervisors.

Loading the KVM kernel module turn your kernel into the bare metal hypervisor.

[–] [email protected] 1 points 3 months ago (1 children)

It's really just Debian with more packages preinstalled, but yeah, the idea is that you have an OS that has the primary purpose of virtualizing other machines.

[–] [email protected] 4 points 3 months ago (1 children)

It’s really just Debian with more packages preinstalled

And a custom kernel with ZFS support

[–] [email protected] 3 points 3 months ago (1 children)

Oh right, they ship a modified kernel, didn't think of this. I also didn't know about the zfs thing, my homelab uses btrfs.

[–] [email protected] 1 points 3 months ago

I'm also using btrfs, but I originally wanted ZFS before seeing that it was only available through FUSE on my distro.

That's why I even noticed ZFS was one of the features of Proxmox :)

[–] possiblylinux127 7 points 3 months ago

Apples and oranges really. They underlying tech is the same but Proxmox is an entire platform