Chapter 13: Understanding cgroup Version 2
In this chapter, we'll look at cgroup Version 2. We'll see how it's different from cgroups Version 1, and how it improves upon Version 1. After that, we'll take a brief look at how to work with it. We'll wrap up by converting the AlmaLinux machine to use cgroup Version 2. Learning how to use cgroup Version 2 will be very helpful to developers of new software, as well as to Linux administrators who want to be prepared for the future.
By the way, that's not a typo that you see in the chapter title. One of the Version 2 changes is in the official name of the technology. So, we have cgroups Version 1, and cgroup Version 2. Strange, but true. (I didn't explain this before, because I didn't want to create more confusion).
Specific topics in this chapter include:
- Understanding the need for Version 2
- Understanding the improvements in Version 2
- Setting resource limits on rootless containers...