#22 systemd 247 defaults to unified hierarchy
Closed 2 years ago by dcavalca. Opened 3 years ago by dcavalca.

The current systemd 247 defaults to the unified hierarchy (i.e. cgoup2) instead of the legacy one. This isn't necessarily a problem, but it is a deviation from stock CentOS, and I'm not sure how well cgroup2 is tested/supported on the RHEL kernel. Thoughts?


I think we should get newer kernel and then it won't be that problem :)

I think it makes sense to have new defaults…

CGroup v2 is in tech preview for RHEL right now.

We should be able to use CGroup v2 by default if we can get #16 moving forward, since Podman and Kubernetes support CGroup v2 now.

fwiw, systemd 247 seems to work fine on a stock c8s VM with the default kernel, even when using cgroup2 (though I didn't test any feature). I think this is probably ok, and I'd rather default to v2 as most controllers on v1 are next to impossible to use (or plain broken). And once we get a newer kernel it'll be even better.

This has been documented in https://blog.centos.org/2021/04/centos-hyperscale-sig-quarterly-report/ as part of the systemd 247 announcement, so I think we can close it.

Metadata Update from @dcavalca:
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata