Reproducing Performance Benchmarks in Docker-Based Research Environments

Authors

  • Shauna Deehan Department of Computer Science, University of Houston, Houston, TX, USA. Author
  • Jaroslaw Bachmann Department of Computer Science, George Mason University, Fairfax, VA, USA. Author

Keywords:

Docker, performance benchmarking, reproducibility, container isolation, statistical equivalence, research environments

Abstract

Docker has become a standard packaging mechanism for research software, yet the availability of a container image does not by itself make a performance benchmark reproducible. A Docker container shares the host kernel, scheduler, page cache, and storage and network stacks, so measured performance depends jointly on the image contents, runtime configuration, host state, and concurrent workload. This paper develops a methodological framework for reproducing performance benchmarks in Docker-based research environments and treats reproduction as a statistical equivalence problem rather than a binary question of whether an artifact runs. The framework specifies a benchmark contract that fixes the metric, workload, image digest, runtime version, kernel and cgroup configuration, host calibration, run order, and equivalence margin. It then models observed performance as a function of workload, container configuration, runtime, host platform, and environmental noise, and decomposes divergence between original and reproduced results into identifiable sources. Resource isolation is analyzed through CPU bandwidth quotas, overlay filesystem overhead, and shared-kernel effects, while measurement variability is handled through randomized run order, warm-up control, and equivalence testing. The main contribution is an analytically grounded protocol that distinguishes artifact reproducibility from performance reproducibility and makes the conditions of a successful reproduction explicit. The approach is applicable to benchmarking studies in computational science and systems research that use Docker for deployment but require defensible performance claims.

References

1. Boettiger, C. (2015). An introduction to Docker for reproducible research. ACM SIGOPS Operating Systems Review, 49(1), 71–79. https://doi.org/10.1145/2723872.2723882

2. Merkel, D. (2014). Docker: Lightweight Linux containers for consistent development and deployment. Linux Journal, 2014(239), 2.

3. Di Tommaso, P., Palumbo, E., Chatzou, M., Prieto, P., Heuer, M. L., & Notredame, C. (2015). The impact of Docker containers on the performance of genomic pipelines. PeerJ, 3, e1273. https://doi.org/10.7717/peerj.1273

4. Felter, W., Ferreira, A., Rajamony, R., & Rubio, J. (2015). An updated performance comparison of virtual machines and Linux containers. In 2015 IEEE International Symposium on Performance Analysis of Systems and Software (pp. 171–172). IEEE. https://doi.org/10.1109/ISPASS.2015.7095807

5. Kurtzer, G. M., Sochat, V., & Bauer, M. W. (2017). Singularity: Scientific containers for mobility of compute. PLoS ONE, 12(5), e0177459. https://doi.org/10.1371/journal.pone.0177459

6. Pahl, C., Brogi, A., Soldani, J., & Jamshidi, P. (2019). Cloud container technologies: A state-of-the-art review. IEEE Transactions on Cloud Computing, 7(3), 677–692. https://doi.org/10.1109/TCC.2017.2702586

7. Georges, A., Buytaert, D., & Eeckhout, L. (2007). Statistically rigorous Java performance evaluation. In Proceedings of the 22nd Annual ACM SIGPLAN Conference on Object-Oriented Programming Systems and Applications (pp. 57–76). ACM. https://doi.org/10.1145/1297027.1297033

8. Hoefler, T., & Belli, R. (2015). Scientific benchmarking of parallel computing systems: Twelve ways to tell the masses when reporting performance results. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (pp. 1–12). ACM. https://doi.org/10.1145/2807591.2807644

9. Mytkowicz, T., Diwan, A., Hauswirth, M., & Sweeney, P. F. (2009). Producing wrong data without doing anything obviously wrong! In Proceedings of the 14th International Conference on Architectural Support for Programming Languages and Operating Systems (pp. 265–276). ACM. https://doi.org/10.1145/1508244.1508275

10. Curtsinger, C., & Berger, E. D. (2013). STABILIZER: Statistically sound performance evaluation. In Proceedings of the 18th International Conference on Architectural Support for Programming Languages and Operating Systems (pp. 219–228). ACM. https://doi.org/10.1145/2451116.2451141

11. Beyer, D., Löwe, S., & Wendler, P. (2019). Reliable benchmarking: Requirements and state of the art. International Journal on Software Tools for Technology Transfer, 21(1), 1–21. https://doi.org/10.1007/s10009-017-0466-1

12. Kalibera, T., & Jones, R. (2013). Rigorous benchmarking in reasonable time. In Proceedings of the 2013 International Symposium on Memory Management (pp. 63–74). ACM. https://doi.org/10.1145/2464157.2464160

13. Lilja, D. J. (2000). Measuring computer performance: A practitioner's guide. Cambridge University Press.

14. Jain, R. (1991). The art of computer systems performance analysis: Techniques for experimental design, measurement, simulation, and modeling. Wiley.

15. Burns, B., Grant, B., Oppenheimer, D., Brewer, E., & Wilkes, J. (2016). Borg, Omega, and Kubernetes. Communications of the ACM, 59(5), 50–57. https://doi.org/10.1145/2890784

16. Hindman, B., Konwinski, A., Zaharia, M., Ghodsi, A., Joseph, A. D., Katz, R., Shenker, S., & Stoica, I. (2011). Mesos: A platform for fine-grained resource sharing in the data center. In Proceedings of the 8th USENIX Symposium on Networked Systems Design and Implementation (pp. 295–308). USENIX Association.

17. Arnautov, S., Trach, B., Gregor, F., Knauth, T., Martin, A., Priebe, C., Lind, J., Muth, K., Hiesgen, R., Kapitza, R., & Fetzer, C. (2016). SCONE: Secure Linux containers with Intel SGX. In 12th USENIX Symposium on Operating Systems Design and Implementation (pp. 689–703). USENIX Association.

18. Ruiz, C., Jeanvoine, E., & Nussbaum, L. (2015). Performance evaluation of containers for HPC. In Euro-Par 2015: Parallel Processing Workshops (pp. 775–786). Springer. https://doi.org/10.1007/978-3-319-27308-2_62

Downloads

Published

2021-09-16