* [pve-devel] how to enable cgroupv2 for lxc ?
@ 2020-10-29 12:44 Alexandre Derumier
2020-10-29 13:23 ` Stoiko Ivanov
0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Derumier @ 2020-10-29 12:44 UTC (permalink / raw)
To: pve-devel
Hi,
I'm stil working on rdd && new pressure stats.
pressure stats in cgroup are only available in cgroupv2.
so it's working for qemu, but I don't have counter for lxc as it's
still using cgroupv1.
I see that wolfgang have already add support for cgroupv2 in LXC::Cgroups,
I would like to enable it to test if I can get correct pressure info.
does somebody known how to enable it ? some sysctl or grub option maybe ?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [pve-devel] how to enable cgroupv2 for lxc ?
2020-10-29 12:44 [pve-devel] how to enable cgroupv2 for lxc ? Alexandre Derumier
@ 2020-10-29 13:23 ` Stoiko Ivanov
0 siblings, 0 replies; 2+ messages in thread
From: Stoiko Ivanov @ 2020-10-29 13:23 UTC (permalink / raw)
To: Alexandre Derumier; +Cc: Proxmox VE development discussion
Hi,
On Thu, 29 Oct 2020 13:44:05 +0100
Alexandre Derumier <aderumier@odiso.com> wrote:
> Hi,
> I'm stil working on rdd && new pressure stats.
>
> pressure stats in cgroup are only available in cgroupv2.
> so it's working for qemu, but I don't have counter for lxc as it's
> still using cgroupv1.
>
> I see that wolfgang have already add support for cgroupv2 in LXC::Cgroups,
> I would like to enable it to test if I can get correct pressure info.
>
> does somebody known how to enable it ? some sysctl or grub option maybe ?
adding systemd.unified_cgroup_hierarchy=1 to the kernel commandline
(/etc/default/grub or /etc/kernel/cmdline (ZFS on UEFI) ) should work:
https://wiki.debian.org/LXC/CGroupV2
>
> _______________________________________________
> pve-devel mailing list
> pve-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-29 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29 12:44 [pve-devel] how to enable cgroupv2 for lxc ? Alexandre Derumier
2020-10-29 13:23 ` Stoiko Ivanov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal