Energy and Resource Modeling: A Comparative Analysis of Containers and Virtual Machines
DOI:
https://doi.org/10.56131/pstp.2024.28.2.323Reikšminiai žodžiai:
virtual machines, containers, resource, modeling, resource allocationSantrauka
This paper presents a comparative analysis of energy and resource utilization between
containers and virtual machines (VMs), technologies essential for modern cloud computing
environments. Containers, lightweight virtualization solutions, enable rapid deployment, efficient
scaling, and reduced overhead by sharing the host OS kernel, making them ideal for
microservices and agile development workflows. Conversely, VMs offer enhanced security and
isolation by virtualizing entire operating systems, suiting multi-tenant and legacy applications.
Through mathematical modeling, this study quantifies the differences in energy consumption and
resource efficiency of these technologies. The models utilize variables such as CPU and RAM
usage and server load to assess each technology's performance in various scenarios. Results
from simulations indicate that containers can significantly reduce infrastructure costs by
optimizing resource allocation. A sample calculation for VMs and containers was performed to
assess resource and energy demands. The results indicate that running 10 VMs requires 9.2%
more CPU resources, and 12.5% more RAM compared to containers. In terms of energy
consumption, VMs require 82% more energy than an equivalent setup of 10 containers.
Downloads
Publikuota
Kaip cituoti
Numeris
Skyrius
Licencija
Copyright (c) 2024 PROFESSIONAL STUDIES: Theory And Practice
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.