Updated
At a glance
- LXC: shared kernel, lowest overhead, Linux only
- KVM: own kernel per VM, strongest isolation of the three virtual options
- Dedicated: whole machine, no neighbors
- Proxmox on a dedicated server gives you LXC and KVM together
Comparison table
| LXC container | KVM virtual machine | Dedicated server | |
|---|---|---|---|
| What it is | Isolated Linux userspace on the host kernel | Full virtual machine with virtual hardware | A physical server for you alone |
| Kernel | Shared with the host | Its own kernel per VM | Its own, on bare metal |
| Guest operating systems | Linux only | Linux, Windows, BSD and others | Anything the hardware supports |
| Isolation | Namespaces and cgroups; the kernel is a shared attack surface | Hardware-assisted VM boundary | Physical: no other tenants |
| Overhead | Lowest, starts in seconds | Small with virtio drivers | None |
| Custom kernel or modules | No, it is the host's kernel | Yes | Yes |
| Performance predictability | Depends on neighbors and limits | Depends on neighbors and CPU allocation | Highest |
| Density per host | Highest | Medium | One tenant |
| Typical tools | Proxmox (pct), LXD, Incus | Proxmox (qm), libvirt, QEMU | IPMI/iDRAC, your own OS install |
Dedicated server: the whole machine
A dedicated server gives you complete control of the hardware and removes the noisy-neighbor question: CPU, RAM, disks and network port are yours. It is the right tool for large databases, heavy virtualization hosts, steady high-load services and anything that needs hardware-level control.
Our dedicated servers are hosted in the Pomezia data center near Rome. Remote management is through IPMI/iDRAC, the operating system is installed by you, and each server comes with an IPv4 address and an IPv6 /48 subnet. Plans are listed from € 100.00/month + VAT, and more detail is on the dedicated servers in Italy page.
LXC: efficient containers for Linux
LXC containers run as isolated process groups on the host kernel. There is no hardware emulation and no second kernel, so they start in seconds, use little memory and let you pack many services onto one host. Resource limits are applied with cgroups and can often be changed while the container runs.
The trade-offs follow from the shared kernel: guests must be Linux, they cannot load their own kernel modules, and a kernel flaw affects every container on the host. Unprivileged containers reduce the risk, but they are not equal to a VM boundary. Some tools need extra host configuration, for example TUN/TAP in a Proxmox LXC container.
KVM: full virtual machines
KVM turns the Linux kernel into a hypervisor. Each virtual machine has its own kernel, virtual hardware and operating system, so you can run Windows next to Linux, use any kernel version or load modules freely. The isolation boundary is enforced with hardware virtualization, which makes KVM the usual choice when tenants do not trust each other or when compliance asks for separation.
With paravirtual virtio drivers the overhead is small, and tuning is covered in KVM VPS disk and network tuning. A VM needs more memory per instance than a container because it carries a full operating system.
Combining them on one host
You do not have to pick one. A common layout is a dedicated server running Proxmox: LXC containers for lightweight Linux services you trust, KVM virtual machines for Windows, for anything that needs its own kernel, and for workloads from other people. Proxmox documentation recommends running application containers such as Docker inside a VM rather than inside an LXC container.
Decision checklist
- Need Windows, BSD or your own kernel? Use KVM or a dedicated server.
- Running code you do not fully trust, or hosting other people? Use KVM, or a dedicated server per tenant.
- Many small Linux services under your control, and density matters? Use LXC.
- Need guaranteed, steady CPU, RAM and disk throughput, or hardware access? Use a dedicated server.
- Do not want to manage hardware or a hypervisor? Use a VPS: see the VPS in Italy page.
Frequently asked questions
Is LXC faster than KVM?
LXC has lower overhead because there is no second kernel and no hardware emulation, but with virtio drivers the difference for many workloads is small. Benchmark your own workload.
Can I run Docker inside an LXC container?
It can be made to work, but Proxmox recommends running application containers such as Docker inside a KVM virtual machine instead of an LXC container.
Can I run Windows in LXC?
No. LXC containers share the Linux host kernel, so guests must be Linux. Use KVM for Windows.
Is KVM more secure than LXC?
KVM gives a stronger boundary between guests because each VM has its own kernel behind hardware virtualization. A container shares the host kernel, so a kernel vulnerability can affect all of them.
When do I need a dedicated server?
When you need the whole machine: steady performance without neighbors, hardware control, or a host to run your own hypervisors and containers.
