Loading…
August 22nd - 24th in Toronto, Canada
Register Now for LinuxCon+ContainerCon North America 2016!
Monday, August 22 • 2:00pm - 2:50pm
Time to Rethink /Proc - Kirill Kolyshkin, Open VZ/Virtuozzo

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

If you a sysadmin, chances are high you’ve seen a very slow ps or non-working top. If you are a developer trying to parse /proc/pid/* files, you know it’s a mess. While developing and using OpenVZ and CRIU, we feel this pain too, so we found a way to cure it!

This talk presents a new Linux Kernel interface to collect information about processes, named task-diag. It discusses multiple shortcomings of the current interface, and shows how the new one avoids those.

In particular, task-diag employs binary format, and uses flexible means to specify which kinds of information and for which tasks is required. Modelled after sock-diag, it uses the request-response model and netlink message format.
Tests of the new interface (using modified procps utilities) demonstrate up to 10x speedup. Other users of the new API, notably CRIU and perf, also proved it is fast and viable.

Speakers
KK

Kirill Kolyshkin

OpenVZ / Virtuozzo
I work for Virtuozzo, doing some development and research around containers (incuding, but not limited to OpenVZ, Docker and CRIU).


Monday August 22, 2016 2:00pm - 2:50pm EDT
Regatta