透過您的圖書館登入
IP:3.131.13.194
  • 學位論文

異質系統架構之系統虛擬化及圖形運算單元排程

HSA System Virtualization and GPU Scheduling

指導教授 : 洪士灝

摘要


為了提高系統效能,現今的電腦系統結合了多核心的中央處理單元(CPU)和多重的硬體加速處理器(Accelerator)來更有效率的執行應用程式,此為異質性系統運算。為了更進一步的提升異質性系統運算的效能,HSA基金會提出了一個新架構名為異質系統架構(Heterogeneous System Architecture,HSA),意在提升異質系統的效能。為了更加有效利用此一架構,我們嘗試將其虛擬化,若有了虛擬化技術,可以使其不管是在效能或是安全上都能有所提升。 為此在本篇論文中,我們為HSA提出了一個系統虛擬化的架構。基於此架構下,我們提出了數個圖形運算單元(GPU)的排程方法以有效使用GPU去提升系統虛擬化效能。另外,我們實作了GPU的環境切換(context switch),並將其運用在GPU的排程中,嘗試更進一步提升GPU效能。最後,我們也實作了一個圖形運算單元的時間計算基準,以檢測排程優劣。 實驗結果得知,在有context switch的功能下,GPU的排程效率較佳,對於系統虛擬化的GPU效能亦能有所提升。

並列摘要


Heterogeneous computing has been proposed to incorporate specialized processing capabilities (e.g. GPU, DSP and FPGA) in order to handle particular tasks. However, there are some drawbacks of current heterogeneous computing. In order to improve the performance, HSA foundation proposed the Heterogeneous System Architecture (HSA). In this thesis work, we investigate on the techniques for virtualizing an HSA platform to support various types of usages with virtual machines. We first delivered a system that emulates system virtualization of HSA. Second, we proposed some GPU scheduling policies of HSA to utilize the GPU. Third, we implement the GPU context switch and apply to scheduling policies. Finally, We designed a simple timing model to evaluate GPU scheduling policies. Experimental results show that GPU scheduling polices with context switch are important, and better policies increase the performance of GPU for HSA virtualizaion.

並列關鍵字

HSA Virtualization Virtual Machine GPU Scheduling

參考文獻


[1] Jiun-Hung Ding, Wei-Chung Hsu, Bai-Cheng Jeng, Shih-Hao Hung and Yeh-Ching
Chung, “HSAemu – A Full System Emulator for HSA Platforms,” in International
2014), 2014.
[2] M. Pearce, S. Zeadally, and R. Hunt, “Virtualization: Issues, Security Threats, and
Available: http://doi.acm.org/10.1145/2431211.2431216

延伸閱讀