Prime Time for Linux Containers...fast, faster, fastest 2 8 16 0 10000 20000 30000 40000 50000 60000...
Transcript of Prime Time for Linux Containers...fast, faster, fastest 2 8 16 0 10000 20000 30000 40000 50000 60000...
Prime Timefor
Linux Containers
Source:: http://www.parallels.com/eu/products/pvc46/info/virtualization/
why ?
fast, faster, fastest
fast, faster, fastest
1 8 16 320
50
100
150
200
File I/O: Write
Thre ads
Mb
Linux container
KVM
source: Boden Russell, IBM 2014
fast, faster, fastest
2 8 160
10000
20000
30000
40000
50000
60000
MySQL OLTP Read Transactions
Thre ads
Tota
l Tr
ansa
ctio
ns
Linux container
KVM
source: Boden Russell, IBM 2014
docker KVM0
20
40
60
80
100
120
140
6,59
124,45
Average Server Reboot Time
Tim
e In
Se
con
ds
18.9x faster
Linux container KVM source: Boden Russell, IBM 2014
resource usage
resource usage
3x memory savings
26x cpu savings
3.22x smaller imagessource: Boden Russell, IBM 2014
widely used
widely used
how it works ?
cgroups
capabilities
kernel namespaces
apparmor/selinux/seccomp
unprivileged containers
userspace tools
LXC
lmctfy(let me contain that for you)
OpenVZ
libvirt
docker, openstack, vagrant, ...
LXC 1.0LXC 1.0
part of ubuntu 14.04 LTS→ 5 years support
liblxc API
unprivileged containers
prebuilt containers→ jenkins.linuxcontainers.org
container nesting
cgmanager→ for cgroup-mgmt
showtime
hall 6, booth F08cmitasch AT thomas-krenn.com
References
http://commons.wikimedia.org/wiki/File:Ferrari_550_maranello_cote.jpg
http://commons.wikimedia.org/wiki/File:Ferrari_550_maranello_moteur2.jpg
http://de.slideshare.net/BodenRussell/realizing-linux-containerslxc
https://www.flickr.com/photos/familymwr/5112942164
https://www.flickr.com/photos/hannahtucker/6783438230/
http://openclipart.org/detail/172657/jerrycan-yellow-by-eternaltyro-172657
http://openclipart.org/detail/38851/oil-droplet-by-mbalax
http://openclipart.org/detail/39703/television-comic-style-by-rg1024
http://upload.wikimedia.org/wikipedia/commons/f/f7/Campagnolo_1968_Tool_Kit_Wooden_Box_-_(1).jpg
http://hobo-geek.blogspot.com.es/2012/08/the-best-linux-distribution-2012.htm