unified_cgroup_hierarchy?

moxfan

Active Member
Aug 28, 2013
104
7
38
With the latest kernel in PVE 6.4 (5.4.114-1), is it possible or even safe to turn on the unified_cgroup_hierarchy parameter? If it is possible and safe, how to enable it (the file to enable it in and the lines to add/edit)?

This parameter is needed for per-user throttling of RAM, CPU, IO, Tasks, etc. inside LXCs.
 
Last edited:
Answering my question has proved to be easier than I'd thought :)

Just add this to /etc/default/grub to activate cgroupv2 in PVE 6.4 (caution: this will deactivate cgroupv1)
Code:
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1"
save the file, then issue this command:
Code:
update-grub ; reboot
Done.
 
  • Like
Reactions: Stoiko Ivanov
Thanks for coming back and sharing your solution :)
 
  • Like
Reactions: moxfan

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!