研究生: |
陳柏聿 Chen, Po-Yu |
---|---|
論文名稱: |
Power Aware Simulator for Embedded Systems 具功耗量測之嵌入式多核心系統模擬器 |
指導教授: |
李政崑
Lee, Jenq-Kuen |
口試委員: |
蘇泓萌
黃錫瑜 |
學位類別: |
碩士 Master |
系所名稱: |
電機資訊學院 - 資訊工程學系 Computer Science |
論文出版年: | 2011 |
畢業學年度: | 99 |
語文別: | 中文 |
論文頁數: | 41 |
中文關鍵詞: | 多核心, 電子系統層級, 模擬器, 功耗, 數位訊號處理器 |
外文關鍵詞: | Multicore, ESL, Simulator, Power, DSP |
相關次數: | 點閱:2 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
As the rapid growth of the mobile devices and the related marketplace, the embedded multicore systems are playing increasingly important role for consumer electronic design. The application developers for such systems try to optimize the designs for both performance and power consumption. Power consumption is especially the major concern because the battery sustain has an significant influence of product quality. However, the popular application design platforms such as QEMU and SID have no power metrics support to help developers optimize their design for power consumption. In this work, we design and implement a power aware simulation framework on embedded heterogeneous multicore system based on SID simulation framework. It is a high level simulation environment which provides full system simulation with timing information and also power estimation results for the target simulation applications. The proposed multicore simulator includes two major processor units, AndesCore and PAC DSP, which are both ingenious IP design from Taiwan Star IP program. The simulator also includes the memory subsystems, interconnection, DMA and other peripherals, which provide the full system simulation for multicore embedded application development. The power estimation flow for the proposed simulator containing two stages, IP level power modeling and system level power profiling. In the first stage, we build up the power estimation models for major IPs such as MPU ,DSP, memory subsystems, interconnection, and DMA. In the second stage, the IP power models are integrated into a power estimation module which connects to the simulator and generates the power profiling result according to the execution trace provided by simulator. In the experiments, DSP programs with SIMD intrinsics for DSPStone benchmark are examined. Also the face detection application is developed as a running example on the multicore system to show the power profiling result. Furthermore, an FIR program is presented to demonstrate the power optimization with DVS technique. The proposed simulation framework can help collaborate with developers in the optimization process to illustrate the view of power dissipation of the applications. Application developers benefit from the proposed simulation framework to verify their design and also help tune both performance and power consumption. In addition, we build up the simulation and power estimation tools to support ingenious design of Taiwan domestic IPs (such as PAC DSP and AndesCore) which can be added value of those IPs.
近年來,隨著手持式裝置及相關產業市場的蓬勃發展,嵌入式多核心系統在其中扮演的角色越來越重要。對於在此環境下開發應用程式的程式設計者而言,程式的效能及節能性是兩個重要的設計依據。依靠電池為電力來源的手持式裝置,產品對於節能的需求更高,也因此對於耗能的最佳化是此環境上程式設計不可或缺的步驟。然而,目前廣泛應用的高層級嵌入式系統程式開發平台,例如QEMU或SID,僅提供程式驗證及效能報告,對於耗能並沒有提供相關工具輔助程式開發者達到節能最佳化。因此,本論文設計並實作了高層級嵌入式多核心模擬器,並在此平台上提供耗能估測工具。此模擬器以SID模擬環境為架構,模擬完整的嵌入式系統環境,其上包含兩種主要的核心處理單元,分別為微處理器(AndesCore)和數位訊號處理器(PAC DSP),除此之外,系統組成元件如記憶體、計時器、橋接線路及其他周邊設備等皆包含其中,提供程式開發者完整的系統模擬平台。於此平台上,我們建立了耗能估測工具以提供使用者程式耗能資訊。耗能估測工具的建構包含兩個步驟,其一為各元件的耗能模組建立。此步驟中,我們針對環境中重要的能量消耗元件,分析其特性建立個別的耗能模組。第二步驟中,已建立好的耗能模組被整合成一獨立的系統耗能估測計算模組,此模組與模擬平台連接,在模擬平台執行過程中,依照模擬器執行之數據計算出估測的耗能報告。本論文的實驗中,我們針對三組不同的測試程式展示耗能量測結果,分別為DSPStone Benchmark、人臉辨識演算法、無限脈衝響應濾波器。實驗中我們分析耗能估測工具對於程式開發者於單一元件、多核心環境上之元件耗能平衡最佳化、以及耗能及效能之間的取捨皆有幫助。本論文所建立的模擬平台及耗能估測工具可提供程式開發者驗證程式、並對效能及耗能作最佳化。除此之外,此一平台支援本土IP如AndesCore及PAC DSP,可提升其產品之附加價值。
[1] C. Brandolese, F. Salice, W. Fornaciari, and D. Sciuto. Static power modeling
of 32-bit microprocessors. Computer-Aided Design of Integrated Circuits and
Systems, IEEE Transactions on, 21(11):1306 { 1316, nov 2002.
[2] SID simulator user's guide. Red Hat Inc., http://sources.redhat.com/sid/, 2001.
[3] QEMU open source processor emulator. Fabrice Bellard., http://wiki.qemu.org
[4] Andes Technology.
Andes Technology Corporation., http://www.andestech.com, 2007
[5] PowerMixer. Tinno Tek Inc., http://www.timnotek.com.tw
[6] V. Tiwari, S. Malik, and A. Wolfe. Power analysis of embedded software: A rst
step towards software power minimization. In Computer-Aided Design, 1994.,
IEEE/ACM International Conference on, pages 384 {390, nov 1994.
[7] V. Tiwari, S. Malik, A. Wolfe, and M.-C. Lee. Instruction level power anal-
ysis and optimization of software. In VLSI Design, 1996. Proceedings., Ninth
International Conference on, pages 326 {328, jan 1996.
[8] C.-W. Hsu and J.-L. Liao and J.-C. Yeh. Memory-aware power modeling for pac
dsp core. In Quality Electronic Design, 2009. ASQED 2009. 1st Asia Symposium
on, pages 319 {324, july 2009.
[9] M.-C. Li and C.-C. Weng and T.-Y. Tai. Extrapolation-based power modeling
for memory compilers using MUX-oriented linear regression. In VLSI/CAD
Symposium, august 2008.
[10] J. Janzen. Calculating memory system power for DDR SDRAM. Designline,
10(2), 2001.
[11] Jinsong Ji, Chao Wang and Xuehai Zhou. System-Level Early Power Estimation
for Memory Subsystem in Embedded Systems. In Embedded Computing, 2008.
SEC. Fifth IEEE International Symposium on, pages 370-375, Oct 2008.
[12] Cheng-Yen Lin and Po-Yu Chen and Jenq-Kuen Lee. Power aware SID-
based simulator for embedded multicore DSP subsystems. In CODES+ISSS'10.
Proceedings of the eighth IEEE/ACM/IFIP international conference on Hard-
ware/software codesign and system synthesis, Oct 2010.
[13] Eclipse. The Eclipse Foundation. http://www.eclipse.org/
[14] Turk, Matthew and Pentland, Alex. Eigenfaces for recognition. In Journal of
Cognitive Neuroscience, 3(1):71-86, 1991.
[15] Bergamaschi, Reinaldo A. and Jiang, Yunjian W. State-based power analysis for
systems-on-chip. In DAC '03: Proceedings of the 40th annual Design Automation
Conference, pages 638-641, 2003.
[16] Cho, Youngjin and Kim, Younghyun and Park, Sangyoung. System-level power
estimation using an on-chip bus performance monitoring unit. In ICCAD '08:
Proceedings of the 2008 IEEE/ACM International Conference on Computer-
Aided Design, pages 149-154, 2008.
[17] Chang, Jui-Ming and Pedram, Massoud. Register allocation and binding for
low power. In DAC '95: Proceedings of the 32nd annual ACM/IEEE Design
Automation Conference, pages 29-35, 1995.
[18] Lee, Chingren and Lee, Jenq Kuen and Hwang, Tingting and Tsai, Shi-Chun.
Compiler optimization on VLIW instruction scheduling for low power. In ACM
Trans. Des. Autom. Electron. Syst., pages 252-268, 2003.
[19] Tiwari, Vivek and Singh, Deo and Rajgopal, Suresh. Reducing power in high-
performance microprocessors. In DAC '98: Proceedings of the 35th annual Design
Automation Conference, pages 732-737,1998.
[20] Semeraro, Greg and Albonesi, David H. and Dropsho. Dynamic frequency and
voltage control for a multiple clock domain microarchitecture. In MICRO 35:
Proceedings of the 35th annual ACM/IEEE international symposium on Microar-
chitecture, pages 356-367, 2002
[21] Yang, Hongbo and Gao, Guang R. and Leung, Clement. On achieving balanced
power consumption in software pipelined loops. In CASES '02: Proceedings of
the 2002 international conference on Compilers, architecture, and synthesis for
embedded systems, pages 210-217, 2002
[22] Brooks, David and Tiwari, Vivek and Martonosi, Margaret. Wattch: a frame-
work for architectural-level power analysis and optimizations In SIGARCH Com-
put. Archit. News, pages 83-94, 2000.
[23] Ye, W. and Vijaykrishnan, N. and Kandemir, M. The design and use of simple-
power: a cycle-accurate energy estimation tool. In DAC '00: Proceedings of the
37th Annual Design Automation Conference, pages 340-345, 2000.