
Senpai - Automatic memory sizing for containers (asg2019)
Chaos Computer Club - archive feed · Johannes Weiner
September 20, 201923m 43s
Audio is streamed directly from the publisher (cdn.media.ccc.de) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
Due to virtual memory and optimistic caching strategies, true memory consumption of an application, and true utilization of a system's RAM, are mostly unknowns on modern operating systems. This has always made memory provisioning a tough and error-prone trial-and-error task, but it's aggravated with containerization, where the stated goal is thinner margins and higher resource efficiency.
Senpai is a userspace tool that harnesses recently developed Linux kernel features to automatically shrink cgroups to their smallest possible memory size without notably affecting the performance of the contained applications.
This talk goes over the motivation to develop senpai, how it works, and success stories from the Facebook fleet.
about this event: https://cfp.all-systems-go.io/ASG2019/talk/TCBLRG/
Topics
asg20191342019