3

Generally speaking, how much faster is native system compared to docker container ?

Alex Gao
  • 2,073
  • 4
  • 24
  • 27
  • I can't put a hand on the two links I'm looking for. Q/A on SO actually! One reported a container faster for the same C source-code than the host itself. The gcc version was just newer. Another asked about disk access, I cannot find this answer neither (even though I answered it myself) and there is no difference neither. – Auzias Feb 25 '16 at 20:31
  • 4
    Possible duplicate of [What is the runtime performance cost of a Docker container](https://stackoverflow.com/questions/21889053/what-is-the-runtime-performance-cost-of-a-docker-container) – rath Oct 11 '17 at 13:57

1 Answers1

4

Docker induces no significant overhead on CPU nor memory usage, compared to a native execution (worse observation: -4%; 0% on all others)

Ref:http://blog.pierreroudier.net/2015/08/docker-vs-kvm-vs-native-performance-comparison/

Aajan
  • 927
  • 1
  • 10
  • 23