Design and Implementation of GPU Pass-Through System Based on OpenStack
Abstract
:1. Introduction
- (1)
- This paper proposes a construction plan for GPU pass-through based on OpenStack—this is not merely the basic information required to install OpenStack. Rather, it refers to the detailed exposition of how to implement GPU pass-through in the OpenStack platform, which usually involves specific configuration steps and technical details. These are likely not standard content in an OpenStack installation guide, but additional instructions tailored for the specific functionality of GPU pass-through.
- (2)
- This paper provides a comprehensive overview of the design and implementation process for GPU pass-through—this is not merely the well-known information presented in all courses for installing OpenStack. The “comprehensive overview” likely includes in-depth design considerations specific to GPU pass-through technology, implementation steps, potential challenges, and solutions, which may go beyond the scope of standard OpenStack installation courses.
- (3)
- It circumvents the performance degradation and operational complexity brought about by traditional virtualization, providing exceptional computing power for high-performance tasks. This is indeed one of the potential advantages or goals of OpenStack, but the core contribution of the paper lies in how it demonstrates the achievement of this goal through GPU pass-through technology within an OpenStack environment.
2. Related Work
2.1. Introduction to GPU Pass-Through Technologies in OpenStack
2.2. GPU Pass-Through with VFIO
3. Analysis of GPU Pass-Through
3.1. Environmental Requirements
3.2. Application Requirements
4. Design of GPU Pass-Through System
4.1. OpenStack Architecture Design
4.2. OpenStack Cloud Host Design
4.3. Design of GPU Pass-Through
4.3.1. VFIO Design
4.3.2. Video/Audio Design
5. Graphics Card Pass-Through System Implementation
5.1. OpenStack Cloud Platform Implementation
5.1.1. Keystone Component Implementation
5.1.2. Glance Component Implementation
5.1.3. Placement Component Implementation
5.1.4. Nova Component Implementation
5.1.5. Neutron Component Implementation
5.1.6. Dashboard Component Implementation
5.2. OpenStack GPU Pass-Through Implementation
6. System Testing
6.1. OpenStack Cloud Platform Testing
6.2. OpenStack GPU Pass-Through Testing
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Ramesh, R.; Yogesh, V.; Uday, K. Evaluating GPU Performance for Deep Learning Workloads in Virtualized Environment. In Proceedings of the 2019 International Conference on High Performance Computing Simulation (HPCS), Dublin, Ireland, 15–19 July 2019; Volume 7, pp. 15–19. [Google Scholar] [CrossRef]
- Oliveira, L.; Martins, P.; Abbasi, M.; Caldeira, F. Cisco NFV on Red Hat OpenStack Platform; Springer: Cham, Switzerland, 2022. [Google Scholar] [CrossRef]
- Wang, Z.; Tian, W.; Cui, B. RESTlogic: Detecting Logic Vulnerabilities in Cloud REST APIs. Comput. Mater. Contin. 2024, 78, 047051. [Google Scholar] [CrossRef]
- Iserte, S.; Prades, J.; Reaño, C.; Silla, F. Improving the management efficiency of GPU workloads in data centers through GPU virtualization. Concurr. Comput.-Pract. Exp. 2021, 33, e5275. [Google Scholar] [CrossRef]
- Chen, Q.; Oh, J.; Kim, S.; Kim, Y. Design of an adaptive GPU sharing and scheduling scheme in container-based cluster. Clust. Comput.-THE J. Netw. Softw. Tools Appl. 2019, 7, 2179–2191. [Google Scholar] [CrossRef]
- Song, G.; Nie, Y.; Chen, G.; Tong, Y. Design and Implementation of virtual simulation experiment platform for computer specialized courses. J. Phys. Conf. Ser. 2020, 1693, 012169. [Google Scholar] [CrossRef]
- Kim, K.; Lee, K. An Implementation of Open Source-Based Software as a Service (SaaS) to Produce TOA and TOC Reflectance of High-Resolution KOMPSAT-3/3A Satellite Image. Remote Sens. 2021, 13, 4550. [Google Scholar] [CrossRef]
- Tripathi, A.K.; Agrawal, S.; Gupta, R.D. GeoCloud4SDI: A cloud enabled open framework for development of spatial data infrastructure at city level. Earth Sci. Inform. 2022, 16, 481–500. [Google Scholar] [CrossRef]
- Anshuj, G.; Purushottam, K.; Uday, K.; Hari, S.; Lan, V. Empirical Analysis of Hardware-Assisted GPU Virtualization. In Proceedings of the 2019 IEEE 26th International Conference on High Performance Computing, Data, and Analytics (HiPC), IEEE, Hyderabad, India, 17–20 December 2019. [Google Scholar] [CrossRef]
- Yingzi, W.; Xiang, F.; Jue, H.; Lei, W. Application of GPU Virtualization Technology in Big Data Processing. In Proceedings of the 2021 IEEE Conference on Telecommunications, Optics and Computer Science (TOCS), IEEE, Shenyang, China, 10–11 December 2021. [Google Scholar] [CrossRef]
- Zhao, L.; Shang, Z.; Tan, J.; Zhou, M.; Zhang, M.; Gu, D.; Zhang, T.; Tang, Y.Y. Siamese networks with an online reweighted example for imbalanced data learning. Pattern Recognit. J. Pattern Recognit. Soc. 2022, 132, 108947. [Google Scholar] [CrossRef]
- Ting, G.; Shen, Z.; Bin, G.; Jian, C.; Dong, L.; Sheng, L. GPU PCD: Design and Implementation of Virtual GPU on Private Cloud Desktop. In Proceedings of the 2022 IEEE 2nd International Conference on Educational Technology (ICET), IEEE, Beijing, China, 25–27 June 2022. [Google Scholar] [CrossRef]
- Wang, Z.; Miao, J.; Yu, J.; Zhu, G. Performance Analysis of NVIDIA GPU Virtualization in NARI Desktop Cloud. In Proceedings of the 2019 3rd International Conference on Data Science and Business Analytics (ICDSBA), IEEE, Istanbul, Turkey, 11–12 October 2019. [Google Scholar] [CrossRef]
- Ziyang, W.; Fang, Z.; Jing, L.; Guang, F.; Jian, D. SEGIVE: A Practical Framework of Secure GPU Execution in Virtualization Environment. In Proceedings of the 2020 IEEE 39th International Performance Computing and Communications Conference (IPCCC), IEEE, Austin, TX, USA, 6–8 November 2020. [Google Scholar] [CrossRef]
- Zhao, L.; Shang, Z.; Zhao, L.; Zhang, T.; Tang, Y.Y. Software Defect Prediction via Cost-sensitive Siamese Parallel Fully-connected Neural Networks. Neurocomputing 2019, 352, 64–74. [Google Scholar] [CrossRef]
- Huang, C.K.; Shen, S.H. Enabling Service Cache in Edge Clouds. ACM Trans. Internet Things 2021, 2, 18. [Google Scholar] [CrossRef]
- Lei, C.; Ming, X.; Jian, L. Monitoring System of OpenStack Cloud Platform Based on Prometheus. In Proceedings of the 2020 International Conference on Computer Vision, Image and DeepLearning (CVIDL), IEEE, Chongqing, China, 10–12 July 2020. [Google Scholar] [CrossRef]
- Kaur, K.; Mangat, V.; Kumar, K. A review on Virtualized Infrastructure Managers with management and orchestration features in NFV architecture. Comput. Netw. 2022, 217, 109281. [Google Scholar] [CrossRef]
- Vishal, K.; Srushti, S.; Mohammed, M.; Narayan, D.; Hiremath, P. Dynamic Live VM Migration Mechanism in OpenStack-Based Cloud. In Proceedings of the 2022 International Conference on Computer Communication and Informatics (ICCCI), IEEE, Coimbatore, India, 25–27 January 2022. [Google Scholar] [CrossRef]
- Zhao, L.; Shang, Z.; Qin, A.; Zhang, T.; Zhao, L.; Wei, Y.; Tang, Y.Y. A cost-sensitive meta-learning classifier: SPFCNN-Miner. Future Gener. Comput. Syst. 2019, 100, 1031–1043. [Google Scholar] [CrossRef]
- Tissir, N.; Elkafhali, S.; Aboutabit, N. How Much Your Cloud Management Platform Is Secure? OpenStack Use Case. Innov. Smart Cities Appl. 2020, 183, 1117–1129. [Google Scholar] [CrossRef]
- Henning, T.; Ridho, R.; Muchammad, H.; Khakim, G.; Rizka, W.; Made, D. OpenStack Implementation using Multinode Deployment Method for Private Cloud Computing Infrastructure. In Proceedings of the 2023 International Seminar on Intelligent Technology and Its Applications (ISITIA), IEEE, Surabaya, Indonesia, 26–27 July 2023. [Google Scholar] [CrossRef]
- Zhao, L.; Hu, G.; Xu, Y. Educational Resource Private Cloud Platform Based on OpenStack. Computers 2024, 13, 241. [Google Scholar] [CrossRef]
- Lin, W.; Wu, Y.M.; Jiao, N. Design and Implementation of Software-Defined Data Center (SDDC) for Medical Colleges and Universities. Mob. Inf. Syst. 2022, 2022, 9139257. [Google Scholar] [CrossRef]
- Noor, J.; Ratul, R.H.; Basher, M.S.; Soumik, J.A.; Sadman, S.; Rozario, N.J.; Reaz, R.; Chellappan, S.; Al Islam, A.B.M.A. Secure Processing-aware Media Storage and Archival (SPMSA). Future Gener. Comput. Syst. 2024, 159, 290–306. [Google Scholar] [CrossRef]
- Abbas, K.; Afaq, M.; Khan, T.A.; Rafiq, A.; Iqbal, J.; Islam, I.U.; Song, W.C. An efficient SDN-based LTE-WiFi spectrum aggregation system for heterogeneous 5G networks. Trans. Emerg. Telecommun. Technol. 2020, 33, e3943. [Google Scholar] [CrossRef]
- Zhao, L.; Shang, Z.; Tan, J.; Luo, X.; Zhang, T.; Wei, Y.; Tang, Y.Y. Adaptive parameter estimation of GMM and its application in clustering. Future Gener. Comput. Syst. 2020, 106, 250–259. [Google Scholar] [CrossRef]
- Saffran, M.; Mishra, S. Security Validation in OpenStack: A Comprehensive Evaluation. J. Cybersecur. Inf. Manag. 2024, 14, 79. [Google Scholar] [CrossRef]
- Vorobeva, I.A.; Panov, A.V.; Safronov, A.A.; Sazonov, A.I. Cloud Computing Models for Business. Int. J. Emerg. Technol. Adv. Eng. 2022, 12, 163–172. [Google Scholar] [CrossRef] [PubMed]
- Zhang, G.; Good, K.; Shi, W. OpenStack Swift: An Ideal Bit-Level Object Storage System for Digital Preservation. Int. J. Digit. Curation 2022, 17, 19. [Google Scholar] [CrossRef]
- Joshi, N. Technique for Balanced Load Balancing in Cloud Computing Environment. Int. J. Adv. Comput. Sci. Appl. 2022, 13, 110–118. [Google Scholar] [CrossRef]
- Walters, J.P.; Younge, A.J.; Kang, D.I.; Yao, K.T.; Kang, M.; Crago, S.P.; Fox, G.C. GPU passthrough performance: A comparison of KVM, Xen, VMWare ESXi, and LXC for CUDA and openCL applications. In Proceedings of the 2014 IEEE 7th International Conference on Cloud Computing (CLOUD), Anchorage, AK, USA, 27 June–2 July 2014. [Google Scholar] [CrossRef]
- Shrinidhi, A.; Sagar, K.; Surabhi, N.; Suyash, K.; Narayan, G. Dynamic Virtual Machine Consolidation for Energy Efficiency in OpenStack-based Cloud. In Proceedings of the 2023 14th International Conference on Computing Communication and Networking Technologies (ICCCNT), IEEE, Delhi, India, 6–8 July 2023. [Google Scholar] [CrossRef]
- Adetiba, E.; Akanle, M.; Akande, V.; Badejo, J.; Nzanzu, V.P.; Molo, M.J.; Oguntosin, V.; Oshin, O.; Adebiyi, E. FEDGEN Testbed: A Federated Genomics Private Cloud Infrastructure for Precision Medicine and Artificial Intelligence Research; Springer: Cham, Switzerland, 2022. [Google Scholar] [CrossRef]
CPU | RAM | HARD DISK | Graphics Card |
---|---|---|---|
Intel Xeon E5-2666 V3 20-Core processor * 2 | DDR4 2400T 32G * 5 | 128 SSD * 1; 512 SATA * 1; 2T * 2 | 1050 * 1 |
GPU in OpenStack | NVIDIA vGPU | GPU in VMware | |
---|---|---|---|
Advantages | Good performance and flexibility, scalability, low cost, and good economic benefits | High performance, great compatibility, ample driver support, and specialized utilities | A comprehensive virtualization solution, easy to use, easy to manage, and highly compatible |
Disadvantages | Intricate configuration, demanding technical skills for implementation | Significant hardware dependency, substantial costs, and proprietary technology restricts its flexible usage | High software commercial costs, limited hardware compatibility, technological blockade, and difficulty in scalability |
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. |
© 2025 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
Zhao, L.; Jin, Y.; Hu, G.; Zhou, W.; Wei, H.; Li, R.; Zhu, X.; Xu, Y.; Jin, J.; Li, Q. Design and Implementation of GPU Pass-Through System Based on OpenStack. Computation 2025, 13, 38. https://doi.org/10.3390/computation13020038
Zhao L, Jin Y, Hu G, Zhou W, Wei H, Li R, Zhu X, Xu Y, Jin J, Li Q. Design and Implementation of GPU Pass-Through System Based on OpenStack. Computation. 2025; 13(2):38. https://doi.org/10.3390/computation13020038
Chicago/Turabian StyleZhao, Linchang, Yu Jin, Guoqing Hu, Wenxi Zhou, Hao Wei, Ruiping Li, Xu Zhu, Yongchi Xu, Jiulin Jin, and Qianbo Li. 2025. "Design and Implementation of GPU Pass-Through System Based on OpenStack" Computation 13, no. 2: 38. https://doi.org/10.3390/computation13020038
APA StyleZhao, L., Jin, Y., Hu, G., Zhou, W., Wei, H., Li, R., Zhu, X., Xu, Y., Jin, J., & Li, Q. (2025). Design and Implementation of GPU Pass-Through System Based on OpenStack. Computation, 13(2), 38. https://doi.org/10.3390/computation13020038