How much CPU performance for a LXC

May 25, 2021
38
4
13
Essen, Germany
Hello,

I think about a new privat HomeLab server. When it comes to the CPU performance I am unsure how scaled, in sense of the cores / threads the CPU should be.
Okay, for VM it is easy, but how should i calculate the needed performance for an LXC?

I planed a small HomeLab for one persist VM (2 virtual cores are okay), optional one more for testing systems. Then I need around 12 persist LXCs (for SDN Software, HomeAssist, BitWarden, PiHole, etc.) and i think about ressources fro 8 - 12 more LXCs.

In what range I have to think for finding the right CPU? 4 / 8 cores, 8 / 16 cores, two sockets?? How much power is needed for one LXC?

Thanks and regards
 
Thats really hard to tell and primarily depends on the software you want to run inside the LXCs as the LXCs share the kernel with the host so you get really low overhead.
For VMs you don't want to overprovision too much CPU and don't overprovision RAM at all. And in general, the more cores your got, get better PVE can hypervise the vCPU so the CPU queues up less and gets more responsive.
I personally try to don't have more then 4 vCPUs per physical CPU thread.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!