Linux Control Groups and Namespaces Workshop

Details
https://secure.meetupstatic.com/photos/event/a/1/b/d/600_463841405.jpeg
Linux Control Groups and Namespaces Workshop
Control Groups
Control Groups provide a mechanism for aggregating / partitioning sets of tasks, and all their future children, into hierarchical groups with specialized behaviour.
Namespaces
Namespaces are a feature of the Linux kernel that isolate and virtualize system resources of a collection of processes. Examples of resources that can be virtualized include
. process IDs
. hostnames
. user IDs
. network access
. interprocess communication, and filesystems. Namespaces are a fundamental aspect of containers on Linux.
Goals of the Workshop
understand
. cgroup v2
. namespace
. filesystem interface
. sysctl tweaks
write 'C' program to
. create isolated environments
. launch programs
. collect metrics
. calculate 'kernel OOM score'
container
. how containers use 'namespace' and 'cgroups'
. code reading
. blueprint for 'write your own container' (yoco)
code
we will be writing code using system programming languages, C, C++ and Rust.
Note
• This is a "pre-requisite" for the December 9/10th Hackathon.
• This workshop may extend over to Sunday (2017/12/03) morning slot.
• You need to get your laptop with Linux installed.
• This is a "4 hour" long workshop.
All are welcome to this 'free of charge" FOSS workshop.

Linux Control Groups and Namespaces Workshop