Online Service-Time Allocation Strategy for Balancing Energy Consumption and Queuing Delay of a MEC Server
Abstract
:1. Introduction
- We consider a service-time allocation problem at a MES. We formulate a time-averaged energy-minimization problem with an average queuing delay constraint. The formulated problem is complex because it involves information on the input dynamics for future time slots when determining an optimal allocation strategy. Thus, using the Lyapunov approach, we transform it into a per-time-slot optimization problem and devise an online service time allocation method.
- Unlike other Lyapunov-based methods that use only the observed queue length at the beginning of a time slot, we explicitly consider the dynamics of an input process by predicting the amount of workload that will be imposed on each queue during each time slot. For the prediction, we use a long short-term memory (LSTM) model [20], which is a deep learning model widely used in predicting time series data [21,22]. Through simulation studies, we show that we can strike a better balance between the average energy consumption and average queuing delay than with a conventional Lyapunov-based method.
- We devise a service-time allocation algorithm whose complexity is , where N is the set of queues managed by a MES. Most optimization-based methods use an iterative process to resolve the formulated problem. However, the iterative process requires time to converge. For example, the convergence time of a subgradient method with a constant step size is known to be [23], where is the difference between the termination point and an optimal point. Thus, the time complexity of the conventional method is , which is greater than that of ours.
- By providing a weight parameter on the importance of the energy consumption, our method enables a MEC system operator to control the correct balance between the energy consumption and queuing delay according to his/her operational purpose.
2. Related Works
2.1. Resource Management Methods in a MEC System
2.2. Technical Approaches
3. System Model and Problem Formulation
4. Online Resource Allocation Method
4.1. Per-Time-Slot Optimization Problem
4.2. Online Service Time Allocation Method
Algorithm 1 Online service time allocation algorithm |
|
4.3. Properties
5. Performance Evaluation
5.1. Task Arrival Prediction Using LSTM
5.2. Performance Comparisons
5.3. Parameter Effect
5.4. Scalability
6. Conclusions and Future Works
Author Contributions
Funding
Conflicts of Interest
Abbreviations
N | A set of task classes |
The CPU frequency of a MES | |
The length of a time slot | |
The workload stored in queue i at the start of time slot t | |
The proportion of time that a MES serves a queue i during a time slot t | |
The number of CPU cycles used to serve a queue i during a time slot t | |
The amount of energy consumed by a MES to serve queue i during a time slot t | |
The amount of energy consumed by a MES during time slot t | |
The workload newly imposed on queue i during time slot t | |
The long-term time-averaged queuing latency | |
The queue length threshold of queue i | |
The virtual queue i during time slot t |
References
- Mao, Y.; You, C.; Zhang, J.; Huang, K.; Letaief, K.B. A Survey on Mobile Edge Computing: The Communication Perspective. IEEE Commun. Surv. Tutor. 2017, 19, 2322–2358. [Google Scholar] [CrossRef] [Green Version]
- Spinelli, F.; Mancuso, V. Toward Enabled Industrial Verticals in 5G: A Survey on MEC-Based Approaches to Provisioning and Flexibility. IEEE Commun. Surv. Tutor. 2021, 23, 596–630. [Google Scholar] [CrossRef]
- Sarrigiannis, I.; Ramantas, K.; Kartsakli, E.; Mekikis, P.-V.; Antonopoulos, A.; Verikoukis, C. Online VNF Lifecycle Management in an MEC-Enabled 5G IoT Architecture. IEEE Internet Things J. 2020, 7, 4183–4194. [Google Scholar] [CrossRef]
- Siriwardhana, Y.; Porambage, P.; Liyanage, M.; Ylianttila, M. A Survey on Mobile Augmented Reality with 5G Mobile Edge Computing: Architectures, Applications, and Technical Aspects. IEEE Internet Things J. 2021, 23, 1160–1192. [Google Scholar] [CrossRef]
- Mach, P.; Becvar, Z. Mobile Edge Computing: A Survey on Architecture and Computation Offloading. IEEE Commun. Surv. Tutor. 2017, 19, 1628–1656. [Google Scholar] [CrossRef] [Green Version]
- Sana, M.; Merluzzi, M.; Pietro, N.d.; Strinati, E.C. Energy Efficient Edge Computing: When Lyapunov Meets Distributed Reinforcement Learning. In Proceedings of the IEEE International Conference on Communications Workshops (ICC Workshops), Montreal, QC, Canada, 14–23 June 2021. [Google Scholar]
- Zhang, X.; Pal, A.; Debroy, S. Deep Reinforcement Learning Based Energy-efficient Task Offloading for Secondary Mobile Edge Systems. In Proceedings of the IEEE 45th LCN Symposium on Emerging Topics in Networking (LCN Symposium), Sydney, Australia, 16–19 November 2020. [Google Scholar]
- Tu, Y.; Chen, H.; Yan, L.; Zhou, X. Task Offloading Based on LSTM Prediction and Deep Reinforcement Learning for Efficient Edge Computing in IoT. Future Internet 2022, 14, 30. [Google Scholar] [CrossRef]
- Nath, S.; Wu, J. Dynamic Computation Offloading and Resource Allocation for Multi-user Mobile Edge Computing. In Proceedings of the IEEE Global Communications Conference (GLOBECOM), Taipei, Taiwan, 7–11 December 2020. [Google Scholar]
- Wang, S.; Xu, J.; Zhang, N.; Liu, Y. A Survey on Service Migration in Mobile Edge Computing. IEEE Access 2018, 6, 23511–23528. [Google Scholar] [CrossRef]
- Liu, C.; Tang, F.; Hu, Y.; Li, K.; Tang, Z.; Li, K. Distributed Task Migration Optimization in MEC by Extending Multi-Agent Deep Reinforcement Learning Approach. IEEE Trans. Parallel Distrib. Syst. 2021, 32, 1603–1614. [Google Scholar] [CrossRef]
- Zhang, W.-Z.; Elgendy, I.A.; Hammad, M.; Iliyasu, A.M.; Du, X.; Guizani, M.; El-Latif, A.A.A. Secure and Optimized Load Balancing for Multitier IoT and Edge-Cloud Computing Systems. IEEE Internet Things J. 2021, 8, 8119–8132. [Google Scholar] [CrossRef]
- Zhang, F.; Wang, M.M. Stochastic Congestion Game for Load Balancing in Mobile-Edge Computing. IEEE Internet Things J. 2021, 8, 778–790. [Google Scholar] [CrossRef]
- Park, J.; Lim, Y. Balancing Loads among MEC Servers by Task Redirection to Enhance the Resource Efficiency of MEC Systems. Appl. Sci. 2021, 11, 7589. [Google Scholar] [CrossRef]
- Huang, M.; Liu, W.; Wang, T.; Liu, A.; Zhang, S. A Cloud–MEC Collaborative Task Offloading Scheme with Service Orchestration. IEEE Internet Things J. 2020, 7, 5792–5805. [Google Scholar] [CrossRef]
- Sohee, B.; Seungyul, H.; Youngchul, S. A Reinforcement Learning Formulation of the Lyapunov Optimization: Application to Edge Computing Systems with Queue Stability. arXiv 2020, arXiv:2012.07279. [Google Scholar]
- Porambage, P.; Okwuibe, J.; Liyanage, M.; Ylianttila, M.; Taleb, T. Survey on Multi-Access Edge Computing for Internet of Things Realization. IEEE Commun. Surv. Tutor. 2018, 20, 2961–2991. [Google Scholar] [CrossRef] [Green Version]
- 3GPP TS 23.203. Technical Specification Group Services and System Aspects; Policy and Charging Control Architecture, V17.2.0., 3GPP. 2021. Available online: https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=810 (accessed on 15 February 2022).
- IETF RFC 4594, Configuration Guidelines for DiffServ Service Classes, IETF. 2006. Available online: https://www.rfc-editor.org/info/rfc4594 (accessed on 15 February 2022).
- Greff, K.; Srivastava, R.K.; Koutník, J.; Steunebrink, B.R.; Schmidhuber, J. LSTM: A Search Space Odyssey. IEEE Trans. Neural Netw. Learn. Syst. 2015, 28, 2222–2232. [Google Scholar] [CrossRef] [Green Version]
- Schmidhuber, J.; Wierstra, D.; Gomez, F. Evolino: Hybrid Neuroevolution/Optimal Linear Search for Sequence Learning. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), Edinburgh, UK, 30 July–5 August 2005. [Google Scholar]
- Zhao, Z.; Chen, W.; Wu, X.; Chen, P.C.Y.; Liu, J. LSTM Network: A Deep Learning Approach for Short-term Traffic Forecast. IET Intell. Transp. Syst. 2017, 11, 68–75. [Google Scholar] [CrossRef] [Green Version]
- Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
- Ma, Y.; Liang, W.; Huang, M.; Xu, W.; Guo, S. Virtual Network Function Service Provisioning in MEC via Trading Off the Usages between Computing and Communication Resources. IEEE Trans. Cloud Comput. 2020, 2020, 1–15. [Google Scholar] [CrossRef]
- Huang, X.; He, L.; Wang, L.; Li, F. Towards 5G: Joint Optimization of Video Segment Caching, Transcoding and Resource Allocation for Adaptive Video Streaming in a Multi-Access Edge Computing Network. IEEE Trans. Veh. Technol. 2021, 70, 10909–10924. [Google Scholar] [CrossRef]
- Guo, C.; He, W.; Li, G.Y. Optimal Fairness-Aware Resource Supply and Demand Management for Mobile Edge Computing. IEEE Wirel. Commun. Lett. 2021, 10, 678–682. [Google Scholar] [CrossRef]
- Liu, B.; Liu, C.; Peng, M. Resource Allocation for Energy-Efficient MEC in NOMA-Enabled Massive IoT Networks. IEEE J. Sel. Areas Commun. 2021, 39, 1015–1027. [Google Scholar] [CrossRef]
- Feng, L.; Li, W.; Lin, Y.; Zhu, L.; Guo, S.; Zhen, Z. Joint Computation Offloading and URLLC Resource Allocation for Collaborative MEC Assisted Cellular-V2X Networks. IEEE Access 2020, 8, 24914–24926. [Google Scholar] [CrossRef]
- Wang, K.; Ding, Z.; So, D.K.C.; Karagiannidis, G.K. Stackelberg Game of Energy Consumption and Latency in MEC Systems with NOMA. IEEE Trans. Commun. 2021, 69, 2191–2206. [Google Scholar] [CrossRef]
- Yang, X.; Luo, H.; Sun, Y.; Zou, J.; Guizani, M. Coalitional Game-Based Cooperative Computation Offloading in MEC for Reusable Tasks. IEEE Internet Things J. 2021, 8, 12968–12982. [Google Scholar] [CrossRef]
- Moura, J.; Hutchison, D. Game Theory for Multi-Access Edge Computing: Survey, Use Cases, and Future Trends. IEEE Commun. Surv. Tutor. 2019, 21, 260–288. [Google Scholar] [CrossRef] [Green Version]
- Zhang, Y.; Zhou, X.; Teng, Y.; Fang, J.; Zheng, W. Resource Allocation for Multi-User MEC System: Machine Learning Approaches. In Proceedings of the International Conference on Computational Science and Computational Intelligence (CSCI), Las Vegas, NV, USA, 12–14 December 2018. [Google Scholar]
- Peng, H.; Shen, X.S. DDPG-based Resource Management for MEC/UAV-Assisted Vehicular Networks. In Proceedings of the IEEE Vehicular Technology Conference (VTC), Victoria, BC, Canada, 18 November–16 December 2020. [Google Scholar]
- Chou, P.-Y.; Chen, W.-Y.; Wang, C.-Y.; Hwang, R.-H.; Chen, W.-T. Deep Reinforcement Learning for MEC Streaming with Joint User Association and Resource Management. In Proceedings of the IEEE International Conference on Communications (ICC), Dublin, Ireland, 7–11 June 2020. [Google Scholar]
- Matheron, G.; Perrin, N.; Sigaud, O. The Problem with DDPG: Understanding Failures in Deterministic Environments with Sparse Rewards. arXiv 2019, arXiv:1911.11679. [Google Scholar]
- Zhang, Q.; Gui, L.; Hou, F.; Chen, J.; Zhu, S.; Tian, F. Dynamic Task Offloading and Resource Allocation for Mobile-Edge Computing in Dense Cloud RAN. IEEE Internet Things J. 2020, 7, 3282–3299. [Google Scholar] [CrossRef]
- Vijayashree, K.V.; Anjuka, A. Fluid Queue Driven by an Queue Subject to Bernoulli-Schedule-Controlled Vacation and Vacation Interruption. Hindawi Adv. Oper. Res. 2016, 2016, 1–11. [Google Scholar] [CrossRef] [Green Version]
- Burd, T.D.; Brodersen, R.W. Processor Design for Portable Systems. J. Vlsi Signal Process. Syst. Signal Image Video Technol. 1996, 13, 203–221. [Google Scholar] [CrossRef]
- Neely, M.J. Stochastic Network Optimization with Application to Communication and Queuing Systems; Morgan & Claypool: San Rafael, CA, USA, 2010. [Google Scholar]
- Telecom Italia. Telecommunications—SMS, Call, Internet—MI, Havard Dataverse. 2015. Available online: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/EGZHFV (accessed on 10 January 2022).
- Qiu, X.; Zhang, W.; Chen, W.; Zheng, Z. Distributed and Collective Deep Reinforcement Learning for Computation Offloading: A Practical Perspective. IEEE Trans. Parallel Distrib. Syst. 2021, 32, 1085–1101. [Google Scholar] [CrossRef]
- Wang, S.; Zhang, X.; Yan, Z.; Wang, W. Cooperative Edge Computing with Sleep Control under Nonuniform Traffic in Mobile Edge Networks. IEEE Internet Things J. 2019, 6, 4295–4306. [Google Scholar] [CrossRef]
Parameters | Values |
---|---|
Learning rate | 0.01 |
Number of epochs | 3000 |
Input size | 3 to 5 |
Hidden size | 5 |
Activation function | ReLU |
Optimization function | Adam |
Class 1 | Class 2 | Class 3 | ||||
---|---|---|---|---|---|---|
Avg. | Std. Dev. | Avg. | Std. Dev. | Avg. | Std. Dev. | |
0.1022 | 0.0875 | 0.1182 | 0.1069 | 0.0738 | 0.0662 | |
0.0957 | 0.0767 | 0.1152 | 0.1016 | 0.0889 | 0.0795 | |
0.1057 | 0.0836 | 0.1249 | 0.0948 | 0.0931 | 0.0709 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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
Park, J.; Lim, Y. Online Service-Time Allocation Strategy for Balancing Energy Consumption and Queuing Delay of a MEC Server. Appl. Sci. 2022, 12, 4539. https://doi.org/10.3390/app12094539
Park J, Lim Y. Online Service-Time Allocation Strategy for Balancing Energy Consumption and Queuing Delay of a MEC Server. Applied Sciences. 2022; 12(9):4539. https://doi.org/10.3390/app12094539
Chicago/Turabian StylePark, Jaesung, and Yujin Lim. 2022. "Online Service-Time Allocation Strategy for Balancing Energy Consumption and Queuing Delay of a MEC Server" Applied Sciences 12, no. 9: 4539. https://doi.org/10.3390/app12094539
APA StylePark, J., & Lim, Y. (2022). Online Service-Time Allocation Strategy for Balancing Energy Consumption and Queuing Delay of a MEC Server. Applied Sciences, 12(9), 4539. https://doi.org/10.3390/app12094539