Тёмный

An introduction to control groups (cgroups) version 2 - Michael Kerrisk - NDC TechTown 2021 

NDC Conferences
Подписаться 192 тыс.
Просмотров 11 тыс.
50% 1

Control groups (cgroups) allow us to limit and measure the resources used by groups of process. They are one of the fundamental building blocks of container frameworks, as well as a number of other interesting tools such as Flatpak and Firejail. We have (finally) reached the point where cgroups version 2 is supplanting cgroups version 1, as most major Linux distributions make the switch.
In this presentation, we will look at how cgroups work, from the perspective of the future. That is to say, I will ignore cgroups v1, and explore how cgroups work starting fresh from a version 2 perspective. Topics we’ll cover include creating and destroying cgroups, moving processes into cgroups, setting resource limits on cgroups, enabling and disabling controllers, and managing different resources to different levels of granularity. No previous knowledge of cgroups will be assumed.

Развлечения

Опубликовано:

 

2 ноя 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@FrederikoCosta
@FrederikoCosta 2 года назад
This talk, by itself, is worth 10x more than any Aws reinvent talk.
@victoryosikwemhe2280
@victoryosikwemhe2280 Год назад
100%
@crikxouba
@crikxouba 2 месяца назад
And for the price of one reinvent ticket talk, you can pay for one of his courses, which would be so much more useful.
@chainer22
@chainer22 Год назад
Probably one of the clearest explanation of cgroup out there. Thank you!
@TheKarantan
@TheKarantan Год назад
My thoughts exactly. Also, I loved the demos.
@tommasoborgato
@tommasoborgato 7 месяцев назад
Great cgroups V2 explanation! Couldn't find anything better
@jzburns1990
@jzburns1990 Год назад
Fantastic talk, fantastic resources from Michaels homepage
@kgsrivastava
@kgsrivastava 2 года назад
Excellent video sir. It's the best I have seen on cgroups. The way you explain is awesome. The pace at which you speak is not rushed like other videos and hence easy to understand.
@hardas81
@hardas81 2 года назад
Excellent presentation! Thank you so much! Not only did you explain everything perfectly, you managed to spark my curiosity to learn more. See you on the next video :)
@dassyareg7587
@dassyareg7587 Год назад
This is just awesome. Great job, Michael.
@victoryosikwemhe2280
@victoryosikwemhe2280 Год назад
Thank you so much for this. It is really helpful to understand how this works
@MichaelKerrisk
@MichaelKerrisk 2 года назад
See also the follow-on presentation at ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Clr_MQwaJtA.html
@jonnytheponny5753
@jonnytheponny5753 2 года назад
Thanks so much for the absolutely great and informative Talk, this talk (Part 1) is amazing and so helpful. Thanks again!
@Shri
@Shri Год назад
Thank you Sir!
@Devzx
@Devzx Год назад
Amazing talk, really helped solidify how cgroups work! Thank you!
@Shri
@Shri Год назад
Brilliant talk!
@uberwebd9824
@uberwebd9824 2 года назад
I love the way you teach - thank you!
@hardikrajpal2410
@hardikrajpal2410 Год назад
Any idea where we can get the cpu_burner program used at 42:48?
@uberwebd9824
@uberwebd9824 2 года назад
at 19:36 shouldn't it have blcoked after 3 sleeps ? (for loop + shell + 3 sleeps = 5 procs)
@christianburke4220
@christianburke4220 2 года назад
If echo is built in, I imagine a construct like for is built in as well. I wonder if that's the reason for the apparently disparate styles on for loops in different shells? They are not standard utilities?
@MichaelKerrisk
@MichaelKerrisk 2 года назад
@@christianburke4220 Yes, your explanation is correct. 'for' is a shell built-in, and so does not result in a separate process.
@pixelPlex
@pixelPlex 2 года назад
Does the sub cgroup thing ( ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kcnFQgg9ToY.html ) work with the posix_spawn function?
@karatebreakfast6908
@karatebreakfast6908 Год назад
47:56 ".....But why male models?"
@daniel_andrade
@daniel_andrade Год назад
In bash we can do `$ echo $$ | sudo tee /sys/fs/cgroup/grp1/cgroup.procs` then anything run on that shell will execute in grp1.
Далее
ГЕНИИ МАРКЕТИНГА 😂
00:35
Просмотров 1,4 млн
Understanding user namespaces - Michael Kerrisk
53:30
How to Write a Linux Daemon from Start to Finish!
50:06
Namespace and Cgroups Overview
19:26
Просмотров 4,6 тыс.