Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
Containers in the upstream kernel
(as compared to VZ kernel)
Containers in the upstream kernel
(as compared to VZ kernel)
...
Who we are?Who we are?
• OpenVZ is an open source implementation of Linux containers
• Kir Kolyshkin - leading OpenVZ for ...
OpenVZ contribution to the Linux kernel:OpenVZ contribution to the Linux kernel:
v2.6.13v2.6.16v2.6.19v2.6.22v2.6.25v2.6.2...
Is OpenVZ kernel upstreamed yet?
● Yes!
● About 60%
● Biggest pieces:
– NET and PID namespaces
– Memory cgroup, device cgr...
Virtuozzo kernel changes (LOC)Virtuozzo kernel changes (LOC)
RHEL5 (2.6.18) RHEL6 (2.6.32) RHEL7 (3.10)
0
70000
140000
210...
Things we (still) need to add 1/2
● Ploop and related ext4 changes
● Memory management and accounting
– backport of kmemcg...
Things we (still) need to add 2/2
● Network: venet, iptables (marks)
● FUSE upstream backports
● Printk virtualization
● /...
Any patches? Questions?Any patches? Questions?
Kir Kolyshkin kir@openvz.org, @kolyshkin
Sergey Bronnikov sergeyb@openvz.or...
Prochain SlideShare
Chargement dans…5
×

What's missing from upstream kernel containers?

723 vues

Publié le

While we ported OpenVZ from RHEL6 (2.6.32) to RHEL7 (3.10) kernel, we discovered what pieces needed for OpenVZ are still missing from the upstream kernel.
Presented during Containers Microconference at Linux Plumbers 2015, Seattle.

Publié dans : Logiciels
  • Soyez le premier à commenter

What's missing from upstream kernel containers?

  1. 1. Containers in the upstream kernel (as compared to VZ kernel) Containers in the upstream kernel (as compared to VZ kernel) Kir Kolyshkin, Sergey Bronnikov
  2. 2. Who we are?Who we are? • OpenVZ is an open source implementation of Linux containers • Kir Kolyshkin - leading OpenVZ for 10 years • Sergey Bronnikov - community manager of OpenVZ project
  3. 3. OpenVZ contribution to the Linux kernel:OpenVZ contribution to the Linux kernel: v2.6.13v2.6.16v2.6.19v2.6.22v2.6.25v2.6.28v2.6.31v2.6.34v2.6.37 v3.0 v3.3 v3.6 v3.9 v3.12 v3.15 v3.18 HEAD 0 100 200 300 400 2000+ commits
  4. 4. Is OpenVZ kernel upstreamed yet? ● Yes! ● About 60% ● Biggest pieces: – NET and PID namespaces – Memory cgroup, device cgroup – CRIU – NFS virtualization
  5. 5. Virtuozzo kernel changes (LOC)Virtuozzo kernel changes (LOC) RHEL5 (2.6.18) RHEL6 (2.6.32) RHEL7 (3.10) 0 70000 140000 210000 280000 264,641 202,746 66,324
  6. 6. Things we (still) need to add 1/2 ● Ploop and related ext4 changes ● Memory management and accounting – backport of kmemcg – idle memory tracking (for vcmmd) – network buffers memory accounting – OOM killer virtualization ● /sys and /proc virtualization
  7. 7. Things we (still) need to add 2/2 ● Network: venet, iptables (marks) ● FUSE upstream backports ● Printk virtualization ● /dev/console virtualization ● Time namespace (for monotonic timers wrt migration) ● Misc legacy (vziolimit, vzlist, vzredir, vznetstat, beancounters...) – Beancounters: numiptent, numfile, numproc
  8. 8. Any patches? Questions?Any patches? Questions? Kir Kolyshkin kir@openvz.org, @kolyshkin Sergey Bronnikov sergeyb@openvz.org, @estet

×