How does Docker affect energy consumption? Evaluating workloads in and out of Docker containers

Eddie Antonio Santos, Carson McLean, Christopher Solinas, Abram Hindle

2018/07/13

How does Docker affect energy consumption? Evaluating workloads in and out of Docker containers

Authors

Eddie Antonio Santos, Carson McLean, Christopher Solinas, Abram Hindle

Venue

Abstract

Context: Virtual machines provide isolation of services at the cost of hypervisors and more resource usage. This spurred the growth of systems like Docker that enable single hosts to isolate several applications, similar to VMs, within a low-overhead abstraction called containers. Motivation: Although containers tout low overhead performance, how much do they increase energy use? Methodology: This work statistically compares the energy consumption of three application workloads in Docker and on bare-metal Linux. Results: In all cases, there was a statistically significant (t-test and Wilcoxon p < 0.05) increase in energy consumption when running tests in Docker, mostly due to the performance of I/O system calls. Developers worried about I/O overhead could consider baremetal deployments over Docker container deployments.

Bibtex

@article{santos2018JSS-Docker-Energy,
 abstract = {Context: Virtual machines provide isolation of services at the cost of hypervisors and more resource usage.  This spurred the growth of systems like Docker that enable single hosts to isolate several applications, similar to VMs, within a low-overhead abstraction called containers.
 Motivation: Although containers tout low overhead performance, how much do they increase energy use?
 Methodology: This work statistically compares the energy consumption of three application workloads in Docker and on bare-metal Linux.
 Results: In all cases, there was a statistically significant (t-test and Wilcoxon p < 0.05) increase in energy consumption when running tests in Docker, mostly due to the performance of I/O system calls. Developers worried about I/O overhead could consider baremetal deployments over Docker container deployments.},
 accepted = {2018-07-13},
 author = {Eddie Antonio Santos and Carson McLean and Christopher Solinas and Abram Hindle},
 authors = {Eddie Antonio Santos, Carson McLean, Christopher Solinas, Abram Hindle},
 code = {santos2018JSS-Docker-Energy},
 day = {31},
 journal = {Journal of Software Systems},
 journalid = {JSS-D-17-00355R2},
 month = {May},
 pagerange = {1--14},
 pages = {1--14},
 published = {2018-07-13},
 role = { Researcher / co-author},
 title = {How does Docker affect energy consumption? Evaluating workloads in and out of Docker containers},
 type = {article},
 url = {http://softwareprocess.ca/pubs/santos2018JSS-Docker-Energy.pdf},
 venue = {Journal of Software Systems},
 year = {2018}
}