Iam currently only using KVM/QEMU and not familiar with benchmark tools. I may switch to LXC/LXD and did search for some hours but cannot find a clearly answer about performance comparision between them.
I can only find old benchmarks and realize they seem did not use KVM in combination with QEMU and passthrough hardware such as SSD/HDD to get the best result with KVM.
For my purpose, I wanna run a NAS (based on Ubuntu with some HDDs and using qBittorrent) and a Webserver (manually compiling every packages). They 2 whatever using KVM or LXC/LXD will run their system parition on their own dedicated SSD. I currently mount a physical ssd to NAS for system parition and passthrough sata controller for HDDs, and Webserver it has only 1 NVMe so I simply passthrough NVMe controller to its KVM.
And I have some question need you to help me with
1. KVM/QEMU performance compares to LXC/LXD in CPU, RAM and especially Disk IO.
2. Can LXC/LXD mount physical disk directly? Cause I wanna keep all my HDDs data also with its ext4, as I use no benefits of ZFS.
3. Should I use LXC/LXD for NAS? I don't use RAID at all, my NAS is only for qBit and local sharing mainly.
4. Should I use LXC/LXD for Webserver purpose? I always manual compile OpenSSL, PHP, Apache, HAProxy and usually keep them up to date. I also wanna upgrade Debian to the latest version as well.
It's a long post now... Thank you.
I can only find old benchmarks and realize they seem did not use KVM in combination with QEMU and passthrough hardware such as SSD/HDD to get the best result with KVM.
For my purpose, I wanna run a NAS (based on Ubuntu with some HDDs and using qBittorrent) and a Webserver (manually compiling every packages). They 2 whatever using KVM or LXC/LXD will run their system parition on their own dedicated SSD. I currently mount a physical ssd to NAS for system parition and passthrough sata controller for HDDs, and Webserver it has only 1 NVMe so I simply passthrough NVMe controller to its KVM.
And I have some question need you to help me with
1. KVM/QEMU performance compares to LXC/LXD in CPU, RAM and especially Disk IO.
2. Can LXC/LXD mount physical disk directly? Cause I wanna keep all my HDDs data also with its ext4, as I use no benefits of ZFS.
3. Should I use LXC/LXD for NAS? I don't use RAID at all, my NAS is only for qBit and local sharing mainly.
4. Should I use LXC/LXD for Webserver purpose? I always manual compile OpenSSL, PHP, Apache, HAProxy and usually keep them up to date. I also wanna upgrade Debian to the latest version as well.
It's a long post now... Thank you.