Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊網路與多媒體研究所
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/98625
標題: 基於 SimPoint/LLVM-MCA 效能分析的排隊理論資源分配方法
Queueing Theory-Based Resource Allocation based on our SimPoint/LLVM-MCA Performance Analysis
作者: 張盛翔
Sheng-Hsiang Chang
指導教授: 廖世偉
Shih-Wei Liao
關鍵字: LLVM-MCA,Simpoint,處理器資源調整,
LLVM-MCA,Simpoint,Processor Resource Tuning,
出版年 : 2025
學位: 碩士
摘要: 為解決大型程式碼分析中所面臨的高昂模擬成本問題,本研究提出一套高效率的效能估算框架,整合 LLVM-MCA、SimPoint,以及兩種資源配置策略:模擬退火(SA)與基於排隊理論的資源分配(QTRA)。當程式規模擴大時,傳統的全追蹤模擬將導致極高的運算時間與資源消耗,因此本研究採用 SimPoint 技術選出具代表性的程式區段,以大幅減少模擬範圍,同時保留原始程式行為的統計特徵。
本方法在 CoreMark 基準測試上進行驗證。實驗結果顯示,QTRA 能產生穩定且具可解釋性的資源配置趨勢,適用於成本敏感與可擴展的設計環境;而 SA 雖能偶爾探索出較佳效能組合,但其隨機特性導致結果波動。最後透過 SimPoint 加權區間估算的週期數與完整 LLVM-MCA 模擬結果相比,其誤差僅約在 -0.75% 至 -8.51% 之間,證實其在大規模程式分析中具有準確性與效率兼具的優勢。本研究提供一種針對大型程式之微架構設計與分析的可行方法,有效降低模擬負擔。
To address the high simulation overhead associated with large-scale program analysis, this study proposes an efficient performance estimation framework that integrates LLVM-MCA, SimPoint, and two resource configuration strategies: Simulated Annealing (SA) and Queueing-Theory-based Resource Allocation (QTRA). As program size increases, traditional full-trace simulation becomes computationally infeasible due to excessive runtime and resource usage. Therefore, this work leverages SimPoint to identify representative program intervals, significantly reducing the simulation scope while preserving the statistical characteristics of the original execution behavior.
The proposed framework is validated using the CoreMark benchmark. Experimental results show that QTRA produces stable and interpretable resource allocation trends, making it suitable for cost-sensitive and scalable architectural design. In contrast, SA can occasionally discover better-performing configurations, but its stochastic nature introduces variability. Finally, when comparing SimPoint-based cycle estimates with full-trace LLVM-MCA simulation, the observed error ranges from -0.75% to -8.51%, confirming the effectiveness and accuracy of this method for large-scale program analysis. Overall, this study provides a practical and efficient approach for microarchitectural optimization under resource constraints.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/98625
DOI: 10.6342/NTU202503193
全文授權: 未授權
電子全文公開日期: N/A
顯示於系所單位:資訊網路與多媒體研究所

文件中的檔案:
檔案 大小格式 
ntu-113-2.pdf
  未授權公開取用
5.23 MBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved