Responsive image
博碩士論文 etd-0804114-150954 詳細資訊
Title page for etd-0804114-150954
論文名稱
Title
Socket-based AXI軟硬體協同效能監測與分析方法
Socket-based Software and Hardware performance co-monitoring in AXI interconnect SoC
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
93
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2014-08-22
繳交日期
Date of Submission
2014-09-04
關鍵字
Keywords
傳輸狀態監測、效能監測、效能分析、軟體、傳輸
Socket-based transaction state monitor, Performance monitoring, Performance analysis, Transaction, Software
統計
Statistics
本論文已被瀏覽 5703 次,被下載 51
The thesis/dissertation has been browsed 5703 times, has been downloaded 51 times.
中文摘要
今日的嵌入式系統包含各式各樣常用的軟硬體,由於系統單晶片工業開發目標已從加速處理器轉換為分配工作,因此複雜的系統單晶片設計是否帶來相對效益是一個重要的議題。為了探討硬體資源完成系統工作的程度,軟體和硬體必須同時被視為效能資訊的參考依據。我們的團隊採用GIF (Generic Interface) Socket-based介面以加速整合系統單晶片至AMBA AXI interconnect,因此也需要關注系統上可能影響效能的傳輸行為。所以,本論文提出Socket-Based 效能監測工具套件 (SB PMTS) 來監測兩種效能資訊:(1) 以下待測對象執行時間:使用者空間之應用程式、核心空間之驅動程式和執行使用者程序之硬體。(2) 各元件與系統單晶片之連接架構間的傳輸事件。SB PMTS 包含兩個主要的硬體監測模組:Program monitor (PM) 和Transaction monitor (TM)。TM將用Socket-Based Transaction State Monitor (SB TSM)監測GIF介面之Handshake 機制。SB PMTS會同步不同來源的效能資訊,使得一般工程師不須任何Instrumentation,便能更快評估系統單晶片效能。
Abstract
Embedded systems are contained in many kinds of hardware resources and software processes today. Since the SoC industry has shift its development goal from processor clock frequencies increasing to work distribution among multiple IPs, SoC interconnect is also an important factor which will influence system performance. With the demand for reviewing the accomplishment of system tasks by the hardware resource, the performance information considered from both hardware and software will need to be referred. In order to achieve efficiency of SoC integration, our team adopt GIF (Generic Interface) socket interface to integrate the custom IPs with AMBA AXI interconnect, the performance interference of transaction behaviors should also be concerned. Therefore, this thesis proposed a Socket-Based Performance Monitoring Tool Suite (SB PMTS) which is capable to monitor the two types of performance information: (1) The execution time of a complete task including user application in User Space, software in Kernel Space – such as: device driver, and major hardware IPs which may perform acceleration (2) The transaction events on the socket interface which is between custom IP and on-chip interconnect. SB PMTS consists of two main hardware monitoring components: Program monitor (PM) and Transaction monitor (TM). TM will examine the handshake mechanism of GIF socket-based interface with Socket-Based Transaction State Monitor (SB TSM). Accordingly, SB PMTS will synchronize the performance information from different resource and enable the average designers to quickly assess the quality of the SoC without any instrumentation.
目次 Table of Contents
Chapter 1. Introduction+1
1.1 Motivation+1
1.2 Background+2
1.3 Research Objectives+4
Chapter 2. Related Works+8
2.1 Program-level performance metrics+8
2.1.1 Static Instrumentation+9
2.1.1.1 Tracing toolkit of Linux kernel and applications+9
2.1.1.2 Software Profiling Toolkit for Sequential and Parallel Programs+15
2.1.2 Dynamic Instrumentation+20
2.1.2.1 Kprobe-based System Performance Profiling Software Tool by Writing Scripts+20
2.1.2.2 Activate probes dynamically by storing trace event objects+24
2.2 Hardware-level performance metrics+28
2.2.1 Periodic interval trigger+28
2.2.1.1 System-wide profiler by taking time-based and event-based samples+29
2.2.2 Event trigger+31
2.2.2.1 Linux performance counter interface+31
2.2.2.2 SoC On-Chip bus activities – PAU+34
2.3 System-on-a-chip (SoC) communicating system+42
2.3.1 On-Chip Interconnects Overview+43
2.3.2 AMBA 3.0 AXI Protocol+45
2.3.3 Generic Interface (GIF) Introduction+48
Chapter 3. Socket-based Performance Monitoring and Analysis+54
3.1 System Architecture+55
3.2 Program monitor architecture+57
3.3 Transaction monitor+58
3.3.1 Socket-based Transaction State Monitor+60
3.3.2 Transaction Events+64
3.3.3 Transaction Monitor architecture+65
3.3.4 Flexible TM configurations+69
Chapter 4. SB PMTS Utility tools+71
Chapter 5. Experiments+75
Chapter 6. Conclusion+76
Chapter 7. Future works+78
References+79
參考文獻 References
[1] Mathieu Desnoyers, Pierre-Marc Fournier and Michel R. Dagenais, “Combined Tracing of the Kernel and Applications with LTTng”, Montreal, Canada, Linux Symposium, July 2009
[2] M. Desnoyers, J. Desfossez, and D. Goulet. "Lttng 2.0: Tracing for power users and developers - part 1, part 2", April 2012.
[3] Shih-hao Hung, Shu-jheng Huang, Chia-heng Tu, “New Tracing and Performance Analysis Techniques for Embedded Applications”, Real-Time Computing Systems and Applications, 2008
[4] Shih-Hao Hung, Chia-Heng Tu, Thean-Siew Soon, “Trace-based Performance Analysis Framework for Heterogeneous Multicore Systems”, Design Automation Conference (ASP-DAC), 2010 15th Asia and South Pacific
[5] Frank Ch. Eigler, “Problem Solving With Systemtap”, Ottawa Linux Symposium, 2006
[6] V Prasad, W Cohen, FC Eigler, M Hunt, “Locating System Problems Using Dynamic Instrumentation”, Linux Symposium, 2005
[7] A. Mavinakayanahalli, P. Panchamukhi, J. Keniston, A. Keshavamurthy, and M. Hiramatsu, “Probing the Guts of Kprobes”, Ottawa Linux Symposium, 2006
[8] Jim Keniston, Ananth Mavinakayanahalli, Prasanna Panchamukhi, Vara Prasad, “Ptrace, Utrace, Uprobes Lightweight, Dynamic Tracing of User Apps”, Ottawa Linux. Symposium, 2007
[9] Alexey A. Gerenkov, Ekateriana A. Gorelkina, Sergey S. Grekhov, Sergey Yu. Dianov, Jaehoon Jeong, Olexiy Kokachev, Leonid V. Komkov, Sang Bar Lee, Mikhail P. Levin, “System-wide Analyzer of Performance: Performance Analysis of Multi-core Computing Systems with Limited Resources”, Proceedings of Eurocon 2009 International IEEE Conference, May 18-23, 2009, pp. 1302-1307.
[10] William E. Cohen, “Tuning Programs with OProfile”, Wide Open Magazine, 2004
[11] Vincent M. Weaver. Linux perf_event Features and Overhead. In The 2nd International Workshop on Performance Analysis of Workload Optimized Systems, FastPath 2013, Austin, Texas, 2013. (Cited on page 80.)
[12] Hyun-min Kyung, Gi-ho Park, Jong Wook Kwak, Wookyeong Jeong, Tae-jin Kim, Sung-bae Park, “Performance Monitor Unit Design for an AXI-based Multi-Core SoC Platform”, ACM Symposium on Applied Computing, SAC, 2007
[13] Hyun-min Kyung, Gi-Ho Park, Jong Wook Kwak, Tae-Jin Kim, Sung-Bae Park, “Design and implementation of Performance Analysis Unit (PAU) for AXI-based multi-core System on Chip (SOC)”, Microprocessors and Microsystems, 2010
[14] AMBA specification (Rev 2.0), ARM, 1999
[15] AMBA AXI Protocol Specification v1.0, ARM, 2003
[16] DesignWare DW_axi_gm Databook, Synopsys, Inc., 2008
[17] DesignWare DW_axi_gs Databook, Synopsys, Inc., 2009
[18] “The Importance of Sockets in SOC Design”, http://www.ocpip.org/white_papers.php, Open Core Protocol International Partnership
[19] “A Performance Monitoring Tool Suite for Software and SoC on-chip Bus: Using 3D Graphics SoC as an example”, Yi-Hao Chang, Master thesis in March, 2012
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


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

QR Code