Comment on Over engineering my homelab so I don't pay cloud providers
MangoPenguin@lemmy.blahaj.zone 1 day agoThat sounds neat!
I’ve always read the performance hit of a VM is pretty minimal, like 1% or less on most tasks. Is it really that much faster for you?
F04118F@feddit.nl 1 day ago
I’m not actually sure because I haven’t measured it. But I’ve read that while CPU and memory overhead is small, disk IO is much faster without virtualization.
MangoPenguin@lemmy.blahaj.zone 1 day ago
It could be depending on the underlying filesystem and how it’s set up, I’ve run into that before.
But my self hosted stuff doesn’t need particularly fast disk IO, so I don’t really notice even if there is a bottleneck lol
MotoAsh@lemmy.world 1 day ago
It definitely depends. If you use qcow2 files for your disks, they’re a copy-on-write format, which is slower than most file systems inherently. If the host system is also a copy-on-write file system, then it doubles your IO again.
If you’re using raw disks/partitions, there is minimal overhead that usually comes down to usually miniscule driver differences.
MangoPenguin@lemmy.blahaj.zone 1 day ago
Yeah I’m running ZFS with raw disks, and most things are in containers anyways, just a few VMs for Windows or stuff that doesn’t like containers.