| 研究生: |
賴盈勳 Lai, Ying-xun |
|---|---|
| 論文名稱: |
應用程式導向之記憶體回收機制-以PAC/Nucleus系統之實作為例 An Application-based Garbage Collection Mechanism –An Implementation on PAC/Nucleus PLUS System |
| 指導教授: |
黃悅民
Huang, Y.M. |
| 學位類別: |
碩士 Master |
| 系所名稱: |
工學院 - 工程科學系 Department of Engineering Science |
| 論文出版年: | 2008 |
| 畢業學年度: | 96 |
| 語文別: | 中文 |
| 論文頁數: | 80 |
| 中文關鍵詞: | 記憶體回收 、嵌入式系統 、Nucleus |
| 外文關鍵詞: | Nucleus, embedded system, garbage collcetion |
| 相關次數: | 點閱:65 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
Nucleus PLUS是Accelerater Technology公司開發的即時操作系統,早期適用於軍事及網路設備這種對於時程要求的產品上。然而近年來隨著嵌入式系統產品蓬勃發展,Nucleus也因為它優異的核心特性與可動態選購所需的功能模組,使得越來越多需即時性的嵌入式系統也相繼採用Nucleus作業系統。但在嵌入式系統上往往因為需長時間的運作與有限的記憶體空間,造成了開發者在設計上的困難,不僅需注意記憶體空間的使用,也需考慮在長時間作業後是否會造成因記憶體外部破碎而產生記憶體不足現象。本論文將提出一種適用於Nucleus核心的任務感知型記憶體回收機制並於國內工研院晶片中心所研發的PAC PMP SoC發展平台上實現。
本論文相關研究分為兩個部分,第一部份為Nucleus Plus在工研院PAC PMP SoC發展平台的移植過程與方法,第二部份則提出一套適用於Nucleus作業系統的記憶體回收機制,透過Nucleus動態記憶體的概念與結合了計數(Counting)、世代收集(Generational collection)等演算法概念,並採用任務感知的機制避免記憶體回收所造成的效能降低情況。我們根據實做出的記憶體回收機制並逐步分析與比較其相關數據,用來改進並修正我們所提出的記憶體回收機制,以達到高效率的目標。
Nucleus PLUS is a real-time operating system designed by Accelerator Technology. Incipiently, it was suited for products that need for time interval request, such as systems found in the aerospace, military and network equipments. Nucleus has an exceptional capability for kernel and can be dynamically mounted functional modules, therefore, as it spreads rapidly into various industries, more and more embedded system enterprise select and choose Nucleus Plus. However, given its advantageous in performance, it also suffers shortfall; the embedded system requires extensive operating time to boot the operator system and contains limit memory space, as a tremendous amount of time is vested in this portion trying to figure out by the system designers during the course of research and development. The primary concern is they need to work within the limited memory configuration allowed; more importantly, the system designer needs to prevent against the risk of out of memory during external fragmentation during long hours of operation. In this thesis, we have developed and built up a task-awareness garbage collection for Nucleus PLUS on PAC platform.
The research work related to the system consists of two parts. The former part is the porting of Nucleus PLUS on PAC PMP SoC platform. The later part is the designing for a take-awareness garbage collection for Nucleus PLUS. The algorithm consists the concept of dynamic memory for Nucleus, counting and generational collection. We utilize the difference of collection according to the useable space of memory pool to avoid process delay. The data for the collection theory is then recorded and analyzed. For high performance, we shall verify by conducting a sample test throughout the whole system.
[1] 分時作業系統,Retrieved July 24, 2008 from http://entry.hit.edu.tw/~d904107/new_page_11.htm
[2] real-time computing,Retrieved July 24, 2008 from http://en.wikipedia.org/wiki/Real-time_computing
[3] 黃悅民、陳敬、侯廷偉、陳中和、黃慶祥、林志敏,嵌入式系統設計-以ARM處理器基礎之SOC平台,滄海圖書,2006,chap.12-13
[4] Martin Kero,Garbage Collecting Reactive Real-Time Systems,EISLAB,2007
pp. 3-5
[5] 何謂嵌入式系統,Retrieved July 24, 2008 from http://www.csie.ntu.edu.tw/~b6506031/Osd/embedsys.htm
[6] 何小慶,嵌入式即時作業系統的現狀和未來,Retrieved July 24, 2008 from http://big5.pconline.com.cn/b5/www.pconline.com.cn/pcjob/system/others/others/0605/797701.html
[7] VxWorks 5.x,Retrieved July 24, 2008 from http://cdn.windriver.com/products/vxworks/
[8] QNX Homepage,Retrieved July 24, 2008 from http://www.qnx.com/support/support.html
[9] Nucleus OS ARM,Retrieved July 24, 2008 from
http://www.mentor.com/products/embedded_software/nucleus_rtos/upload/Nucleus_ARM_DS_1_31.pdf,pp.1-3
[10] Microsoft Windows CE 5.0 大出擊,Retrieved July 24, 2008 from http://playstation2.idv.tw/iacolumns/jl00022.html
[11] 曹樂淇 曹世強 林盈達,嵌入式作業系統,Retrieved July 24, 2008 from http://speed.cis.nctu.edu.tw/~ydlin/miscpub/survey_embOS.pdf,2003,pp.2-4
[12] 嵌入式軟體聯盟,Retrieved July 24, 2008 from (http://esw.cs.nthu.edu.tw/)
[13] C.W Chang,The Prospects of Multimedia Application Processors and Wireless Communications,Retrieved July 24, 2008 from http://www.cse.nsysu.edu.tw/seminar/94/051111.pdf,2005,pp. 29
[14] 張志偉,國產手機核心平台現身工研院PAC雙核心處理器介紹,新通訓元件雜誌,2005
[15] 工業技術研究院,PMP SoC Design Report,pp. 4
[16] 工業技術研究院,PMP_SoC_Memory_Map- IC 版
[17] W. Lin,Implementation of VLD and Constant Division on PAC DSP Platform,Retrieved July 24, 2008 from http://140.113.211.201/member/vdo-meeting/vdo_meeting_slices/file/vdo_groupmeeting_051222_cytsai.ppt#256,1,Implementation of VLD and Constant Division on PAC DSP Platform,2005,pp.6
[18] A.Y Wu,Industrial Technology Research Institute (ITRI) - SoC Technology Center (STC) Project Overview
[19] 吳欣龍,Introduction to AMBA Bus System,Retrieved July 24, 2008 from http://tpe-wh3.dwins.net/download/member_file/2002/soc/2002-5-1.pdf,2002,pp.3-16
[20] 工業技術研究院,PAC PMP EVB 硬體使用手冊
[21] 工業技術研究院,PAC PMP EVB 硬體實驗手冊
[22] 工業技術研究院,PAC® PMP SoC Low-Power Mechanism
[23] 丁宜棟,Nucleus 在嵌入式系統應用,Retrieved July 24, 2008 from http://www.gd-emb.org/detail/id-40669.html,2007
[24] 馮寶祥,The Implementation of Porting Embedded RTOS Nucleus PLUS to S3C2410A,2007,pp. 4-8
[25] LMF,Nucleus 操作系统内部参考手册,Retrieved July 24, 2008 from
http://down.icembed.com/Nucleus操作系统内部参考手册.pdf,pp. 27-56
[26] 樊榮,Nucleus PLUS 源碼分析,2007,pp. 40-83
[27] Amstrad Homepage,Retrieved July 24, 2008 from http://www.amstrad.com/products/digisat/drx550.html
[28] ivl Homepage,Retrieved July 24, 2008 from http://www.ivl.com/
[29] Analogic Homepage,Retrieved July 24, 2008 from http://www.analogic.com/
[30] J.D Chancery,Nucleus PLUS Reference Manual ,Accelerated Technology
[31] Scott Nettles 、James O'Toole, Real-time replication garbage collection,pp.4-6, June 21-25, 1993, Albuquerque, New Mexico, United States
[32] Roger Henriksson,Scheduling Garbage Collection in Embedded Systems,1998,pp. 1-4
[33] Boris Magnusson, Roger Henriksson,Garbage Collection for Hard Real-Time Systems,1995,pp. 1-7
[34] Benjamin Zorn,Comparing Mark-and-sweep and Stop-and-copy Garbage Collection,1990,pp. 1-4
校內:2107-08-05公開