Responsive image
博碩士論文 etd-0811117-123237 詳細資訊
Title page for etd-0811117-123237
論文名稱
Title
對於QEMU-SystemC所模擬之多處理器目標平台之效能分析
Performance Analysis for Multiprocessor Target Platform in QEMU-SystemC
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
49
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2017-07-07
繳交日期
Date of Submission
2017-09-11
關鍵字
Keywords
多處理器、效能分析、軟硬體協同驗證、仿真模擬器、硬體模擬器
SystemC, QEMU, SW/HW Co-Verification, Performance Analysis, Multiprocessor
統計
Statistics
本論文已被瀏覽 5670 次,被下載 56
The thesis/dissertation has been browsed 5670 times, has been downloaded 56 times.
中文摘要
隨著嵌入式系統的快速發展,系統功能越來越多且晶片速度越來越快,多核心架構已經成為一項趨勢,然而由於複雜的多核心架構使得軟硬體的效能分析與驗證變得更加困難,導致系統效能分析與整合驗證的時間過長。電子系統層級(ESL
)工具不僅可以大幅減少軟硬體設計的時間,也可提早對於產品的效能以及穩定度加以改善。QEMU-SystemC是一個軟硬體驗證模擬平台,其完整的系統行為模擬使得可以在上面執行較複雜的軟體,如作業系統。因應多處理器架構的普及化,QEMU可模擬許多多處理器架構,然而由於設計上的限制,例如:動態轉譯與TB(Translation Block) Chaining機制造成效能分析上的困難。因此,本論文題出在QEMU-SystemC平台中之多處理器效能分析方法,藉由在TB中嵌入效能分析指令,使得可以在不破壞模擬架構的情形下,動態追蹤正在執行的TB資訊,並透過多處理器之時間模型與多處理器之間的時間同步機制來評估多處理器平台下之系統執行時間。另外,在加入效能分析的方法後,勢必會增加模擬時間成本,因此我們提出三種不同時間精確度的模擬層級,依據時間評估的準確度不同所造成的模擬時間成本也不同,藉此讓使用者在模擬時間與評估準確度之間做取捨。
Abstract
With the development of embedded systems, there are more and more functions in the system and the chip speed increasingly faster and faster. Multiprocessor architecture has become the trend of chip design. The complexity of the multiprocessor architecture makes the hardware and software performance analysis and verification more difficult, it resulting in the time for system performance analysis and integration verication time is too long. Electronic system level (ESL) tools can not only significantly reduce the time for designing hardware and software, but also can improve the performance and stability in early. QEMU-SystemC is a simulation platform for hardware/software verification that can simulate a complete system behavior so that some complex software such as OS can run on the platform. With the popularity of multi-processor architecture, QEMU can emulate many multi-processor architectures, however, due to the constraints of design, such as: Dynamic Translation and Translation Block Chaining mechanism that make performance analysis difficult. Therefore, this thesis presents a multiprocessor performance analysis method in QEMU-SystemC platform that can trace the TB information in runtime by insert some instructions to the TB without destroyting the simulator architecture. And it can evaluate the system execution time by using multiprocessor timing models and the multiprocessor timing synchronization mechanism. Besides, the performance analysis model must increase the cost of simulation time. Therefore, we proposed three simulation mode that simulate at different timing accuracy. The cost of simulation time depends on the different timing accuracy.
目次 Table of Contents
論文審定書 i
中文摘要 iii
Abstract iv
Contents v
List of Figures vii
List of Tables viii
Chapter 1. Introduction 1
1.1 Motivation 1
1.2 Background 1
Chapter 2. Related Works 4
2.1 Preliminary ESL Simulation Tools 4
2.1.1 QEMU 4
2.1.2 SystemC 6
2.1.3 QEMU-SystemC Co-Simulation Platform 6
2.2 Simulation-Based Performance Analysis 7
2.2.1 Cycle-Accurate Simuation 7
2.2.2 Functional-Accurate Simulation 7
2.3 Performance Measurement Tools 7
2.4 QEMU Timing Models 8
Chapter 3. Multi-Processor Timing Analysis in QEMU-SystemC 9
3.1 Real-Time Executed TB Tracing 10
3.2 Multi-Processor Timing Model 12
3.3 Multi-Processor Timing Synchronization in QEMU 13
3.4 Versatile Timing Evaluation 15
3.4.1 Evaluation Modes 16
3.4.1.1 Accurate Mode 17
3.4.1.2 Approximate Mode 17
3.4.2 Selective Software Module Analysis 18
Chapter 4. Visualization of Timed QEMU-SystemC Multiprocessor Simulation 21
Chapter 5. Experiment Result 24
5.1 Overhead of Real-time TB Tracing 24
5.2 Evaluation Accuracy and Overhead 27
Chapter 6. Conclusion 36
Chapter 7. Future Work 37
References 38
參考文獻 References
[1] QEMU, http://www.qemu.org/
[2] SystemC, http://www.eda.org/downloads/standards/systemc
[3] M.R. Guthaus, J.S. Ringenberg, D. Ernst, “MiBench: A free, commercially representative embedded benchmark suite,” Proceedings of the Fourth Annual IEEE International Workshop on Workload Characterization, 2001. pp. 3­14.
[4] ARM CoreTile ExpressTM A15x2 A7x3 Technical Reference Manual,
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0503i/DDI0503I_v2p_ca15_ a7_tc2_trm.pdf
[5] M. Mont´on, A. Portero, M. Moreno, B. Mart´ınez, and J. Carrabina, “Mixed SW/SystemC SoC emulation framework,” in Proceedings of IEEE International Symposium on Industrial Electronics, June 2007, pp. 2338–2341.
[6] Chun-Hao Wang, “Heterogeneous QEMU-SystemC Integration for Timed CPU/CACHE/MMU/DRAM/Component Simulation: A case study in 3D Graphic SoC ,” Department of Computer Science & Engineering National Sun Yat-Sen University Master Thesis, 2012.
[7] M. A. Z. Alves, C. Villavieja, M. Diener, F. B. Moreire, and P. O. A. Navaux, “SiNUCA: A Validated Micro-Architecture Simulator,” High Performance Computing and Communication (HPCC), Aug 2015.
[8] Perf tool, https://perf.wiki.kernel.org/index.php/Main_Page
[9] time(1) - Linux user’s manual, http://man7.org/linux/man-pages/man1/time.1.html
[10] GNU gprof tool, http://sourceware.org/binutils/docs-2.16/gprof/
[11] G. Kumar, “Considerations in Software Design for Multicore Multiprocessor Architectures,” IBM developerWorks.
[12] R. Bergamaschi, I. Nair, G. Dittmann, H. Patel, G. Janssen, N. Dhanwada, A. Buyuktosunoglu, E. Acar, G. J. Nam, G. Han, D. Kucar, P. Bose, J. Darringer, “Performance Modeling for Early Analysis of Multi-core Systems,” Hardware/Software Codesign and System Synthesis(CODES+ISSS), Oct 2007
[13] M. Lajolo, M. Lazarescu, A. Sangiovanni-Vincentelli, “A Compilation-based Software Estimation Scheme for Hardware/Software Co-simulation,” Hardware/Software Codesign, (CODES '99) Proceedings of the Seventh International Workshop on, March 1999.
[14] J. Y. Lee, I. C. Park, “Timed Compiled-code Simulation of Embedded Software for Performance Analysis of SoC Design,” Design Automation Conference, June 2002.
[15] T.C. Yeh, M.C. Chiang, “Bus Performance Exploration at CCA and CA Levels on QEMU and SystemC-based Virtual Platform,” SoC Design Conference(ISOCC), 2010.
[16] W.C. Hsu, S.H. Hung, C.H. Tu, “A Virtual Timing Device for Program Performance Analysis,” Computer and Information Technology (CIT), July 2010.
[17] M.C. Chiang, T.S. Yeh, G.F. Tseng, “A QEMU and SystemC-Based Cycle-Accurate ISS for Performance Estimation on SoC Development,” Computer-Aided Design of Integrated Circuits and Systems, March 2011.
[18] E. Vasilaki, “An Instruction Level Energy Characterization of ARM Processors,” Institute of Computer Science(ICS), Foundation of Reasearch and Technology Hellas(FORTH), Technical Report FORTH-ICS/TR-450, 2015.
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code