What’s new with RHEL 7 CGroups?

Share this link

Since RHEL 6, CGroups have been a work in progress. So, in RHEL 7 features evolved through new Systemd commands like systemd-cgls, systemd-cgtop, and mainly systemctl set-property.

Still through Systemd, RHEL 7.0 brought the CPUShares (percentage of CPU), MemoryLimit (memory quota), and BlockIOWeight (percentage of block IO) main properties, allowing you to set some constraints on system resources.

RHEL 7.2 added StartupCPUShares, StartupBlockIOWeight, and most importantly CPUQuota.

Marc Richter, Technical Account Manager at Red Hat, recently published a series of articles helping you better understand CGroups:

But CGroups are still evolving: Chris Down from Facebook presented the new CGroupsv2 interface at the 2017 FOSDEM conference at the beginning of February. This new interface changes the way the CGroups hierarchy works and globally removes several existing inconsistencies. This interface is stable since the kernel 4.5 and requires a recent version of Systemd (>=v226) not available in RHEL 7 until now (but unofficial options exist).

As usual, you can find all these details and more at the CGroups page.

Posted in RHEL7

Upcoming Events (Local Time)

There are no events.

RHCSA7: Task of the day

Allowed time: 5 minutes.
Create a new user account called "bob" with password "redhat" and set expiration in one week.

RHCE7: Task of the day

Allowed time: 15 minutes.
Configure a Samba server called MYSERVER, belonging to the MYGROUP group, sharing the /shared directory with the name "shared".

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...