Skip to content

Docker performance

Test method

1
2
3
4
5
# Target plays a 1080p video in a loop
# Collect CPU utilization and generate charts
apt-get install sysstat
sar -u 1 60 -o tmp1
sadf -T  -g ./tmp1  --  > test1.svg

Results

1080p30fps mjpeg/http

Bare metal (saturated)

test1

Docker (saturated)

test4

720p60fps mjpeg/http

Bare metal (stable at 48fps)

test2

Docker (stable at 48fps)

test5

720p30fps h.264/webrtc

Bare metal (saturated with minor fluctuations)

test3

Docker (saturated with minor fluctuations)

test6