CPU resource allocation with cgroups v2 and systemd

Time
2025年8月09日 16:00 ~ 16:30
Speaker
James Thomas
Room
TR211
Collaborative Notes
https://hackmd.io/SJJat5-_ee
EnglishElementary
Miscellaneous Open Source Topics

Abstract

Cgroups are a Kernel feature that allow system designers to define specific resource allocations to groups of applications in a hierarchically manner. This session will demonstrate the use of cgroupsv2 on a resource constrained system, and how these can be configured in via systemd, to demonstrate how these can be used to prevent rogue processes from consuming all the available resources, and what can also be done to constrain real-time tasks.

About the Speaker

James Thomas

James Thomas

Senior software engineer at Codethink Ltd with a large amount of background in building, deploying, and testing embedded GNU/Linux systems. Particular interests include automated tests, open source graphics, and building systems from scratch.