RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1953515 - Make cgroupv2 as default in RHEL9.0
Summary: Make cgroupv2 as default in RHEL9.0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: kernel
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Waiman Long
QA Contact: Chao Ye
Jaroslav Klech
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-26 09:43 UTC by Chao Ye
Modified: 2021-10-26 17:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
.`cgroup-v2` enabled by default in RHEL 9 The control groups version 2 (`cgroup-v2`) feature implements a single hierarchy model that simplifies the management of control groups. Also, it ensures that a process can only be a member of a single control group at a time. Deep integration with `systemd` improves the end-user experience when configuring resource control on a RHEL system. Development of new features is mostly done for `cgroup-v2`, which has some features that are missing in `cgroup-v1`. Similarly, `cgroup-v1` contains some legacy features that are missing in `cgroup-v2`. Also, the control interfaces are different. Therefore, third party software with direct dependency on `cgroup-v1` may not run properly in the `cgroup-v2` environment. To use `cgroup-v1`, you need to add the following parameters to the kernel command-line: ---- systemd.unified_cgroup_hierarchy=0 systemd.legacy_systemd_cgroup_controller ---- NOTE: Both `cgroup-v1` and `cgroup-v2` are fully enabled in the kernel. There is no default control group version from the kernel point of view, and is decided by `systemd` to mount at startup.
Clone Of:
Environment:
Last Closed: 2021-10-19 01:28:28 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Chao Ye 2021-04-26 09:43:02 UTC
Description of problem:
Tracking bug for cgroupv2 default enablement in RHEL9.0

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Waiman Long 2021-04-26 14:46:03 UTC
(In reply to Chao Ye from comment #0)
> Description of problem:
> Tracking bug for cgroupv2 default enablement in RHEL9.0

Please note that both cgroup v1 and v2 are fully enabled in the kernel. There is no default from the kernel point of view. The cgroup default is what systemd decides to mount. If it mounts cgroup v2 at startup, v2 is the default. If it mounts cgroup v1 instead, v1 will be the default.

-Longman


Note You need to log in before you can comment on or make changes to this bug.