Understanding the improvements in cgroup Version 2
Version 2 is a bit more streamlined and simpler to understand. At the time of writing, Fedora, Arch, and Debian 11 are the only three Linux distros of which I know that run cgroup Version 2 by default (that will likely change by the time you read this).
Note
It is possible to convert RHEL 8-type distros, such as Alma and Rocky, over to a pure Version 2 setup. Unfortunately, the RHEL-type distros use an older implementation of Version 2 that still doesn't have all of the resource controllers that we need enabled. So, to see everything that we need to see, we'll use Fedora.
To begin, let's log in to the Fedora machine and create a user account for my buddy Pogo (Pogo is the awesome opossum who comes in through my cat door at night to chow down on the cat food – Yes,seriously.) Then,Then, have Pogo log in from a remote terminal (Note that on Fedora, you might have to start and enable the sshd
service first...