Performance Regressions in Containerized Web Services: An Experimental Investigation

Authors

  • Finn McManaway Department of Electrical Engineering and Computer Science, University of Kansas, Lawrence, KS, USA. Author
  • Gaetano Seifert School of Information Technology, University of Cincinnati, Cincinnati, OH, USA. Author
  • Helge Johann School of Computing, Clemson University, Clemson, SC, USA. Author

Keywords:

container performance; cgroups; network virtualization; overlay filesystems; performance regression; experimental methodology

Abstract

Containerized deployment is now a common architecture for web services, yet performance regressions after containerization are frequently discussed as if a single generic container overhead explained them. This article frames the problem as a controlled experimental investigation of mechanism-specific regressions. It develops a regression decomposition in which containerized service time is separated into CPU scheduling, network virtualization, filesystem and overlay, memory-reclaim, orchestration, and interference components, each evaluated against a declared reference deployment. The central contribution is a factorial measurement framework that links deployment choices such as CPU quota and pinning, host versus bridge networking, volume versus overlay storage, memory limits, and orchestration policy to observable latency and throughput effects while controlling for workload intensity, request size, cache state, and host variability. Analytical expressions are developed for quota-induced utilization, packet-path cost, copy-up storage cost, and neighbor interference, and these are connected to a statistical model for effect estimation and replication. The framework clarifies why regressions are conditional rather than universal: small requests amplify fixed per-request overhead, quota throttling produces nonlinear queueing delay, overlay writes create first-write penalties, and shared kernel resources make isolation incomplete. The resulting diagnostic logic helps distinguish inherent container overhead from configuration-induced regression and from measurement artifacts, and it provides a rigorous basis for reproducible experiments and uncertainty-aware interpretation.

References

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

2. 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 (ISPASS) (pp. 171–172). IEEE. https://doi.org/10.1109/ISPASS.2015.7095802

3. Morabito, R., Kjällman, J., & Komu, M. (2015). Hypervisors vs. lightweight virtualization: A performance comparison. In 2015 IEEE International Conference on Cloud Engineering (IC2E) (pp. 386–393). IEEE. https://doi.org/10.1109/IC2E.2015.74

4. 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

5. Pahl, C. (2015). Containerization and the PaaS cloud. IEEE Cloud Computing, 2(3), 24–31. https://doi.org/10.1109/MCC.2015.51

6. Bernstein, D. (2014). Containers and cloud: From LXC to Docker to Kubernetes. IEEE Cloud Computing, 1(3), 81–84. https://doi.org/10.1109/MCC.2014.51

7. Soltesz, S., Pötzl, H., Fiuczynski, M. E., Bavier, A., & Peterson, L. (2007). Container-based operating system virtualization: A scalable, high-performance alternative to hypervisors. ACM SIGOPS Operating Systems Review, 41(3), 275–287. https://doi.org/10.1145/1272998.1273025

8. Barham, P., Dragovic, B., Fraser, K., Hand, S., Harris, T., Ho, A., Neugebauer, R., Pratt, I., & Warfield, A. (2003). Xen and the art of virtualization. ACM SIGOPS Operating Systems Review, 37(5), 164–177. https://doi.org/10.1145/945445.945462

9. Kozhirbayev, Z., & Sinnott, R. O. (2017). A performance comparison of container-based technologies for the Cloud. Future Generation Computer Systems, 68, 175–182. https://doi.org/10.1016/j.future.2016.10.023

10. Joy, A. M. (2015). Performance comparison between Linux containers and virtual machines. In 2015 International Conference on Advances in Computer Engineering and Applications (ICACEA) (pp. 342–346). IEEE.

11. Menage, P. B. (2006). Adding generic process containers to the Linux kernel. In Proceedings of the Linux Symposium (Vol. 2, pp. 45–57).

12. Pfaff, B., Pettit, J., Koponen, T., Jackson, E., Zhou, A., Rajahalme, J., Gross, J., Wang, A., Stringer, J., Shelar, P., Amidon, K., & Casado, M. (2015). The design and implementation of Open vSwitch. In 12th USENIX Symposium on Networked Systems Design and Implementation (NSDI 15) (pp. 117–130). USENIX Association.

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

14. 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 (ASPLOS '09) (pp. 265–276). ACM. https://doi.org/10.1145/1508244.1508275

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

16. 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 (SC '15) (pp. 1–12). ACM. https://doi.org/10.1145/2807591.2807644

17. 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 (ASPLOS '13) (pp. 219–228). ACM. https://doi.org/10.1145/2451116.2451141

18. Rosen, R. (2013). Linux containers and the future cloud. Linux Journal, 2013(232), 4.

19. Rzadca, K., Findeisen, P., Swiderski, J., Zych, P., Broniek, P., Kusmierek, J., Nowak, A., Stachowiak, P., & Wilkes, J. (2020). Autopilot: Workload autoscaling at Google. In Proceedings of the Fifteenth European Conference on Computer Systems (EuroSys '20) (Article 16). ACM. https://doi.org/10.1145/3342195.3387524

20. Tirmazi, M., Barker, A., Deng, N., Haque, M. E., Qin, Z., Hand, S., Harchol-Balter, M., & Wilkes, J. (2020). Borg: The next generation. In Proceedings of the Fifteenth European Conference on Computer Systems (EuroSys '20) (Article 30). ACM. https://doi.org/10.1145/3342195.3387517

21. Luksa, M. (2017). Kubernetes in Action. Manning Publications.

22. Hightower, K., Burns, B., & Beda, J. (2017). Kubernetes: Up and Running. O'Reilly Media.

23. Zhang, Q., Liu, L., Pu, C., Dou, Q., Wu, L., & Zhou, W. (2018). A comparative study of containers and virtual machines in big data environment. In 2018 IEEE International Conference on Cloud Computing (CLOUD) (pp. 178–185). IEEE.

24. Manco, F., Lupu, C., Schmidt, F., Mendes, J., Kuenzer, S., Sati, S., Raiciu, C., & Huici, F. (2017). My VM is lighter (and safer) than your container. In Proceedings of the 26th Symposium on Operating Systems Principles (SOSP '17) (pp. 218–233). ACM. https://doi.org/10.1145/3132747.3132763

Downloads

Published

2022-06-13