Slow Docker Compile Performance Figure

Patrick

Administrator
Staff member
Dec 21, 2010
12,003
4,988
113
Today I did a small test. I tried using our Linux Kernel compile script on the Intel Xeon E5-2630L V3 in two different modes. First was bare metal, second was using a Docker image. Both were Ubuntu Xenial based and the script times compile not any of the pre-requisites. Nothing else was running on the machine.terminal

It turns out that doing the linux kernel compile benchmark was 12.5% slower.

Each one takes >10 minutes and we use the fifth run to let the cores sufficiently heat up and get some heat soak. Even looking at the record of the first four compiles it seems to be the same difference.

I remember when we were profiling applications for Linux-Bench most were very close (+/- 2%), but there were a few that were significantly slower in Docker. That was the major reason for not using Docker with Linux-Bench.

Has anyone else found applications that are running significantly slower in Docker than on bare metal?
 

TuxDude

Well-Known Member
Sep 17, 2011
615
336
63
I haven't noticed any differences in the few containers I run, though my uses so far probably wouldn't show anything anyways. But I'm curious if it could be related to the layered storage for the container, and if there are any differences between different docker storage back-ends.
 
  • Like
Reactions: Jeggs101