Exploring the Impact of Resource Management Strategies on Simulated Edge Cloud Performance: An Experimental Study
Abstract
1. Introduction
- To conduct edge computing experiments using the dedicated EdgeSimPy simulation tool, which offers a thorough and controlled environment for examining resource management strategies.
- To systematically investigate the challenges of resource management in edge cloud infrastructures.
- To present and evaluate well-known resource management algorithms in a simulated setting, each exploiting distinct characteristics to maximize resource utilization and enhance system efficiency.
- To assess the effectiveness of these algorithms using key metrics such as CPU, memory, disk usage, power consumption, and latency. The results are analyzed to extract actionable insights that inform future research and practical applications.
2. Related Work
3. Background
3.1. Edge Computing
3.2. Resource Management Algorithms
- By choosing the server with the closest resource capacity match to incoming tasks or the smallest memory block that is available, the best-fit [19] scheduling method maximizes resource allocation. By reducing resource fragmentation and waste, this tactic improves system performance and efficiency. In an edge cloud environment, the best-fit method enhances overall system throughput and responsiveness by giving resources a higher priority depending on suitability.
- By choosing the server with the greatest resource capacity to match incoming tasks or the largest memory block that is accessible, the worst-fit [19] scheduling algorithm adopts the opposite strategy from the best-fit method. This technique seeks to maximize resource consumption while minimizing resource fragmentation, despite its contradictory name. The utilization of the worst-fit method maximizes system efficiency by assigning tasks to the greatest available resources, hence mitigating the possibility of minor gaps between resources. This method ensures smoother resource management in computer systems and helps prevent excessive fragmentation, even though it may result in a not ideal resource optimization result. It is used alongside the best-fit algorithm to serve as a baseline for our setup [19].
- The power-saving algorithm [20] prioritizes reducing energy consumption by dynamically allocating resources according to workload trends and device conditions to the least power-consuming node. Because of their outdoor or remote locations, edge servers sometimes have trouble obtaining dependable power supplies, which makes energy management more difficult and calls for effective power-saving techniques. By dynamically assigning tasks based on energy-efficient servers’ availability, it optimizes energy usage without compromising performance [20].
- The location-based scheduling algorithm [21] uses geographic data to improve user experience and optimize resource consumption in edge cloud environments. This algorithm handles workloads that are dynamic in nature by dynamically allocating tasks to edge servers according to users’ geographical proximity to the servers. The method makes sure that jobs are directed to the closest edge server by using location-based data, which reduces latency and improves end-user response times. Moreover, the algorithm places the needs of the user first by attempting to provide services as quickly as possible, which enhances system responsiveness and user experience in general. Practically speaking, the location-based algorithm works by continually tracking the geographic coordinates of edge servers and users, altering workload assignments in real-time to account for shifts in server availability and user distribution. Through the use of this proactive strategy, the algorithm efficiently maximizes resource utilization and reduces reaction latency, especially in applications where latency is critical, including real-time communication. The location-based algorithm is an example of a strategic approach to resource management that is in line with the changing needs of edge computing applications because of its user-centric design and usage of location-based data.
3.3. EdgeSimPy
3.4. EdgeSimPy Architecture
3.5. EdgeSimPy Simulation Process
3.6. EdgeSimPy Limitations
3.7. Problem Statement
4. Performance Evaluation
4.1. Experimental Setup
4.2. Metrics for Evaluation
- Power consumption.
- Memory utilization.
- CPU utilization.
- Disk utilization.
- Latency.
4.3. Experimental Results
4.3.1. CPU Utilization Results
4.3.2. Memory Utilization Results
4.3.3. Disk Utilization Results
4.3.4. Power Consumption Results
4.3.5. Latency Results
4.3.6. Summary of Results
5. Validity of Experiment
5.1. Limitations
5.2. Risk Assessment
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Cao, K.; Liu, Y.; Meng, G.; Sun, Q. An overview on Edge computing research. IEEE Access 2020, 8, 85714–85728. [Google Scholar] [CrossRef]
- Krishnasamy, E.; Varrette, S.; Mucciardi, M. Edge Computing: An Overview of Framework and Applications. Or-Bilu.Uni.Lu. December 2020. Available online: https://orbilu.uni.lu/handle/10993/46573 (accessed on 9 April 2024).
- Souza, P.S.; Ferreto, T.; Calheiros, R.N. EdgeSimPy: Python-based modeling and simulation of Edge Computing Resource Management Policies. Future Gener. Comput. Syst. 2023, 148, 446–459. [Google Scholar] [CrossRef]
- Bendechache, M.; Svorobej, S.; Endo, P.T.; Lynn, T. Simulating resource management across the cloud-to-thing continuum: A survey and Future Directions. Future Internet 2020, 12, 95. [Google Scholar] [CrossRef]
- Wang, J.; Pan, J.; Esposito, F.; Calyam, P.; Yang, Z.; Mohapatra, P. Edge cloud offloading algorithms. ACM Comput. Surv. 2019, 52, 1–23. [Google Scholar] [CrossRef]
- Ghobaei-Arani, M.; Souri, A.; Rahmanian, A.A. Resource Management Approaches in fog computing: A comprehensive review. J. Grid Comput. 2019, 18, 1–42. [Google Scholar] [CrossRef]
- Lv, Z.; Qiao, L. Optimization of Collaborative Resource Allocation for Mobile Edge Computing. Comput. Commun. 2020, 161, 19–27. [Google Scholar] [CrossRef]
- Cao, K.; Li, L.; Cui, Y.; Wei, T.; Hu, S. Exploring placement of heterogeneous edge servers for response time minimization in mobile edge-cloud computing. IEEE Trans. Ind. Inform. 2021, 17, 494–503. [Google Scholar] [CrossRef]
- Salaht, F.A.; Desprez, F.; Lebre, A. An overview of service placement problem in fog and Edge Computing. ACM Comput. Surv. 2020, 53, 1–35. [Google Scholar] [CrossRef]
- Margariti, S.V.; Dimakopoulos, V.V.; Tsoumanis, G. Modeling and simulation tools for Fog Computing—A comprehensive survey from a cost perspective. Future Internet 2020, 12, 89. [Google Scholar] [CrossRef]
- Cruz, P.; Achir, N.; Viana, A.C. On the edge of the deployment: A survey on multi-access Edge Computing. ACM Comput. Surv. 2022, 55, 1–34. [Google Scholar] [CrossRef]
- Darrous, J.; Lambert, T.; Ibrahim, S. On the importance of container image placement for service provisioning in the edge. In Proceedings of the 2019 28th International Conference on Computer Communication and Networks (ICCCN), Valencia, Spain, 29 July–1 August 2019. [Google Scholar] [CrossRef]
- Roges, L.; Ferreto, T. Dynamic provisioning of container registries in edge computing infrastructures. In Proceedings of the Anais do XXIV Simpósio em Sistemas Computacionais de Alto Desempenho (WSCAD 2023), Porto Alegre, Brasil, 17 October 2023. [Google Scholar] [CrossRef]
- Naha, R.K.; Garg, S.; Georgakopoulos, D.; Jayaraman, P.P.; Gao, L.; Xiang, Y.; Ranjan, R. Fog computing: Survey of trends, Architectures, requirements, and Research Directions. IEEE Access 2018, 6, 47980–48009. [Google Scholar] [CrossRef]
- Hong, C.-H.; Varghese, B. Resource management in fog/edge computing: A Survey on Architectures, Infrastructure, and Algorithms. ACM Comput. Surv. 2019, 52, 1–37. [Google Scholar] [CrossRef]
- Hamdan, S.; Ayyash, M.; Almajali, S. Edge-computing architectures for internet of things applications: A survey. Sensors 2020, 20, 6441. [Google Scholar] [CrossRef]
- Mijuskovic, A.; Chiumento, A.; Bemthuis, R.; Aldea, A.; Havinga, P. Resource Management Techniques for Cloud/Fog and Edge Computing: An Evaluation Framework and classification. Sensors 2021, 21, 1832. [Google Scholar] [CrossRef]
- Luo, Q.; Hu, S.; Li, C.; Li, G.; Shi, W. Resource scheduling in edge computing: A survey. IEEE Commun. Surv. Tutor. 2021, 23, 2131–2165. [Google Scholar] [CrossRef]
- Gebali, F. Computer Communication Networks; Springer: New York, NY, USA, 2008. [Google Scholar]
- Rubin, F.; Souza, P.; Ferreto, T. Reducing power consumption during server maintenance on edge computing infrastructures. In Proceedings of the 38th ACM/SIGAPP Symposium on Applied Computing, Tallinn, Estonia, 27–31 March 2023. [Google Scholar] [CrossRef]
- Souza, P.S.; Ferreto, T.C.; Rossi, F.D.; Calheiros, R.N. Location-aware maintenance strategies for edge computing infrastructures. IEEE Commun. Lett. 2022, 26, 848–852. [Google Scholar] [CrossRef]
- Wang, C.; Li, R.; Li, W.; Qiu, C.; Wang, X. SimEdgeIntel: An open-source simulation platform for Resource Management in edge intelligence. J. Syst. Archit. 2021, 115, 102016. [Google Scholar] [CrossRef]
- Goyal, T.; Singh, A.; Agrawal, A. Cloudsim: Simulator for cloud computing infrastructure and modeling. Procedia Eng. 2012, 38, 3566–3572. [Google Scholar] [CrossRef]
- Zeng, X.; Garg, S.K.; Strazdins, P.; Jayaraman, P.P.; Georgakopoulos, D.; Ranjan, R. IOTSim: A simulator for analysing IOT Applications. J. Syst. Archit. 2017, 72, 93–107. [Google Scholar] [CrossRef]
- Nurseitov, N.; Paulson, M.; Reynolds, R.; Izurieta, C. Comparison of json and xml data interchange formats: A case study. In Proceedings of the International Conference on Computer Applications in Industry and Engineering, San Francisco, CA, USA, 4–6 November 2009; pp. 157–162. [Google Scholar]
- Aral, A.; De Maio, V.; Brandic, I. Ares: Reliable and sustainable edge provisioning for Wireless Sensor Networks. IEEE Trans. Sustain. Comput. 2022, 7, 761–773. [Google Scholar] [CrossRef]
- Suzen, A.A.; Duman, B.; Sen, B. Benchmark Analysis of jetson TX2, Jetson Nano and Raspberry Pi using Deep-cnn. In Proceedings of the 2020 International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), Ankara, Turkey, 26–27 June 2020. [Google Scholar] [CrossRef]
- Aslanpour, M.S.; Gill, S.S.; Toosi, A.N. Performance evaluation metrics for cloud, fog and edge computing: A review, taxonomy, benchmarks and standards for future research. Internet Things 2020, 12, 100273. [Google Scholar] [CrossRef]
Requirement | Description |
---|---|
Scalability | Ability to address a large number of edge devices of different types and capabilities with appropriate deployment and communicating protocols |
Security | Privacy preservation for security tokens and support for integrity checks within the infrastructure |
Heterogeneity | Support for a high degree of heterogeneity within hardware/software |
Volatility | Support for volatile availability and mobile hardware/software components |
Data Protection | GDPR compliance, ensuring all data are kept locally and on-the-fly encrypted |
Infrastructure Performance | Very-low-latency, lightweight publish–subscribe network protocol such as MQTT. High-performance containerized resources with fast (zero-touch) provisioning allowing easy system upgrades |
Application Portability | Unified architecture view via MEC compliance enabling Function as a Service (FaaS) capabilities |
Data Analytics | Supports for data management and data analytics pipeline engine |
Algorithms | Description |
---|---|
Best-fit algorithm [19] | Allocates tasks to the edge server with the closest-matching available resources, minimizing resource wastage and maximizing efficiency |
Worst-fit Algorithm [19] | Assigns incoming tasks to the edge server with the greatest available excess capacity, aiming to minimize resource fragmentation and maximize system stability, even if it results in suboptimal resource utilization |
Power-saving algorithm [20] | Designed to reduce energy consumption and promote sustainability in edge cloud environments by assigning workload to servers with the lowest power consumption |
Location-based algorithm [21] | Considers the geographical proximity of tasks to edge servers when making allocation decisions. It aims to minimize latency and network traffic by assigning tasks to the nearest available server, optimizing response times for edge applications |
Simulator | Task Scheduling | Service Migration | Maintenance Operation | Mobility Support | Network Flow Scheduling |
---|---|---|---|---|---|
SimEdgeIntel [22] | No | Yes | No | Yes | Yes |
CloudSim [23] | Yes | No | No | Yes | Yes |
IOTSim [24] | Yes | No | No | Yes | Yes |
EdgeSimPy [3] | Yes | Yes | Yes | Yes | Yes |
Servers | CPU Cores | Memory (MB) | Disk (MB) | Min Power Consumption (Watts) | Max Power Consumption (Watts) |
---|---|---|---|---|---|
Edge server 1 (Raspberry Pi) | 4 | 8192 | 32,768 | 2.56 | 7.3 |
Edge server 2 (Raspberry Pi) | 4 | 8192 | 32,768 | 2.56 | 7.3 |
Edge server 3 (Raspberry Pi) | 4 | 8192 | 32,768 | 2.56 | 7.3 |
Edge server 4 (Raspberry Pi) | 4 | 8192 | 32,768 | 2.56 | 7.3 |
Edge server 5 (Jetson TX2) | 4 | 8192 | 32,768 | 7.5 | 15 |
Edge server 6 (Jetson TX2) | 4 | 8192 | 32,768 | 7.5 | 15 |
Algorithms | Best Algorithm for Each Metric |
---|---|
Average CPU utilization (cores) | Location-based algorithm had the lowest core use of the algorithms. It was 0.15% more efficient from the power-saving algorithm |
Average Memory utilization (MB) | Location-based algorithm had the lowest memory use of the algorithms, and it was 0.19% more efficient than the power-saving algorithm |
Average Disk Utilization (%) | Best-fit algorithm had the lowest average disk utilization and was 38.1% more efficient than the power-saving algorithm |
Average Power Consumption (W) | Location-based algorithm had the lowest power consumption. It was 1.1% more efficient than the power saving algorithm and 5.08% more efficient than the worst-fit algorithm |
Average Latency (ms) | Location-based algorithm had the lowest response time and was 30.82% more efficient than the other algorithms |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Kaftantzis, N.; Kogias, D.G.; Patrikakis, C.Z. Exploring the Impact of Resource Management Strategies on Simulated Edge Cloud Performance: An Experimental Study. Network 2024, 4, 498-522. https://doi.org/10.3390/network4040025
Kaftantzis N, Kogias DG, Patrikakis CZ. Exploring the Impact of Resource Management Strategies on Simulated Edge Cloud Performance: An Experimental Study. Network. 2024; 4(4):498-522. https://doi.org/10.3390/network4040025
Chicago/Turabian StyleKaftantzis, Nikolaos, Dimitrios G. Kogias, and Charalampos Z. Patrikakis. 2024. "Exploring the Impact of Resource Management Strategies on Simulated Edge Cloud Performance: An Experimental Study" Network 4, no. 4: 498-522. https://doi.org/10.3390/network4040025
APA StyleKaftantzis, N., Kogias, D. G., & Patrikakis, C. Z. (2024). Exploring the Impact of Resource Management Strategies on Simulated Edge Cloud Performance: An Experimental Study. Network, 4(4), 498-522. https://doi.org/10.3390/network4040025