Hi,
I've been using LXC for a while now, though I've noticed two things:
- Load Average is not the container load average, instead its host
- Reported CPU usage (inside of the container, with tools like htop and vmstat) are not of the container itself, instead the host core that it was assigned to
I'm aware that LXC is not full virtualization/isolation, like QEMU, though I'm still curious of the possibility for such stuff.
As far as I know, the load average can be "fixed" with a startup parameter, but got no clues as to the reported cpu usage, and if its even possible.
So my question is:
Is it possible to isolate CPU usage inside of a LXC container, so that it reports only its own?
If it is possible, is it possible inside of Proxmox?
Thank you in advance!
I've been using LXC for a while now, though I've noticed two things:
- Load Average is not the container load average, instead its host
- Reported CPU usage (inside of the container, with tools like htop and vmstat) are not of the container itself, instead the host core that it was assigned to
I'm aware that LXC is not full virtualization/isolation, like QEMU, though I'm still curious of the possibility for such stuff.
As far as I know, the load average can be "fixed" with a startup parameter, but got no clues as to the reported cpu usage, and if its even possible.
So my question is:
Is it possible to isolate CPU usage inside of a LXC container, so that it reports only its own?
If it is possible, is it possible inside of Proxmox?
Thank you in advance!