https://scholars.lib.ntu.edu.tw/handle/123456789/118999
標題: | 基於程式相態特性的異質系統效能分析 Characterization of Program Phases for Heterogeneous Systems with Virtual Platforms |
作者: | 吳仁捷 Wu, Jen-Chieh |
關鍵字: | 程式相態;程式分析;裝置友善度;Program phases;Profiling tool;GPU friendliness | 公開日期: | 2016 | 摘要: | 面對不熟悉的程式時,程式行為分析工具扮演著重要的角色。面對複雜的程式,能夠針對程式各段不同的行為做出分析,也成為重要的課題。先前的研究聚焦在分析程式的各個函式或是迴圈,然而這樣的分析忽略了在函式及迴圈的內部也存在著不同的行為。 在這份研究中,我們使用程式相態判別(Program Phase Detection)的技術做為將程式切分的依據,並建立了以此為基礎的分析工具。更進一步,我們藉由機器學習預測每個程式相態的GPU友善度,驗證了程式相態在某些高階特徵上確實存在群聚效果,其預測準確度為94%。最後我們藉由實際的例子,說明以程式相態為基礎的分析工具確實可以偵測出函式及迴圈內部的不同行為。 When we first met an unfamiliar program, the profiling tool plays an important role in understanding program behavior. As software applications become more and more complicated, to profile each section with different behavior in the program is crucial. Previous studies focus on profiling each function or loop in the program, however, which might ignore the fact that different behaviors happen inside a loop or a function. In this study, we use program phase detection to partition the program and build up a profiling tool based on it. Furthermore, we verified the grouping effect of program phases on some high-level features by predicting GPU friendliness of each program phase with machine learning model. The accuracy of prediction comes to 94%. At last, we take real applications as test cases, showing that the profiling tool based on program phase detection is able to detect behavior changing inside a loop or a function. |
URI: | http://ntur.lib.ntu.edu.tw//handle/246246/275368 | DOI: | 10.6342/NTU201602721 | Rights: | 論文公開時間: 2016/8/30 論文使用權限: 同意無償授權 |
顯示於: | 資訊工程學系 |
檔案 | 描述 | 大小 | 格式 | |
---|---|---|---|---|
ntu-105-R03922116-1.pdf | 23.32 kB | Adobe PDF | 檢視/開啟 |
在 IR 系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。