LISA17 - Linux Container Performance Analysis

preview_player
Показать описание
Brendan Gregg from Netflix describes analyzing the peformance of Linux containers. While this should be easy in theory, Brendan looks at how many tools aren't yet namespace aware and how you can work around that to analyze individual containers on a busy system.

Linux Container Performance Analysis

Brendan Gregg, Netflix

Containers pose interesting challenges for performance monitoring and analysis, requiring new analysis methodologies and tooling. Resource-oriented analysis, as is common with systems performance tools and GUIs, must now account for both hardware limits and soft limits, as implemented using cgroups. A reverse diagnosis methodology can be applied to identify whether a container is resource constrained, and by which hard or soft resource. The interaction between the host and containers can also be examined, and noisy neighbors identified or exonerated. Performance tooling can need special usage or workarounds to function properly from within a container or on the host, to deal with different privilege levels and name spaces. At Netflix, we're using containers for some microservices, and care very much about analyzing and tuning our containers to be as fast and efficient as possible. This talk will show you how to identify bottlenecks in the host or container configuration, in the applications by profiling in a container environment, and how to dig deeper into kernel and container internals.

Рекомендации по теме