Skip navigation

DSpace JSPUI

DSpace preserves and enables easy and open access to all types of digital content including text, images, moving images, mpegs and data sets

Learn More
DSpace logo
English
中文
  • Browse
    • Communities
      & Collections
    • Publication Year
    • Author
    • Title
    • Subject
    • Advisor
  • Search TDR
  • Rights Q&A
    • My Page
    • Receive email
      updates
    • Edit Profile
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊網路與多媒體研究所
Please use this identifier to cite or link to this item: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/98625
Title: 基於 SimPoint/LLVM-MCA 效能分析的排隊理論資源分配方法
Queueing Theory-Based Resource Allocation based on our SimPoint/LLVM-MCA Performance Analysis
Authors: 張盛翔
Sheng-Hsiang Chang
Advisor: 廖世偉
Shih-Wei Liao
Keyword: LLVM-MCA,Simpoint,處理器資源調整,
LLVM-MCA,Simpoint,Processor Resource Tuning,
Publication Year : 2025
Degree: 碩士
Abstract: 為解決大型程式碼分析中所面臨的高昂模擬成本問題,本研究提出一套高效率的效能估算框架,整合 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
Fulltext Rights: 未授權
metadata.dc.date.embargo-lift: N/A
Appears in Collections:資訊網路與多媒體研究所

Files in This Item:
File SizeFormat 
ntu-113-2.pdf
  Restricted Access
5.23 MBAdobe PDF
Show full item record


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

社群連結
聯絡資訊
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