Chapter 11: Understanding cgroups Version 1
In this chapter, we'll introduce you to Control Groups, more commonly called cgroups
. (More specifically, we'll be looking at cgroups Version 1.) You'll learn what cgroups are, how they're constructed, and how you can benefit by taking advantage of them. We'll also briefly look at the history of cgroups.
Now, I have to tell you that discussing cgroups can become quite complex and convoluted. You might have already seen some online cgroups tutorials that do nothing but make your head hurt. My goal is to strip away as much complexity as possible and provide you with just enough information to help you manage resources on a systemd machine.
Specific topics include:
- Understanding the history of cgroups
- Understanding the purpose of cgroups
- Understanding the structure of cgroups Version 1
- Understanding the cgroup Version 1 filesystem
All right – if you're ready, let's get...