Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/47634
標題: uC/OS-II之動態記憶體管理
Dynamic Memory Management on uC/OS-II
作者: Dian-Chia Ke
柯典嘉
指導教授: 薛智文(Chih-Wen Hsueh)
關鍵字: 記憶體管理,分頁,即時系統,嵌入式系統,uC/OS-II,
memory management,paging,real-time system,embedded system,μC/OS-II,
出版年 : 2010
學位: 碩士
摘要: 在嵌入式與即時系統中,爲了執行日漸複雜的應用程式,對於更多記憶體的需求越趨增加,而且通常藉由分頁或者虛擬記憶體來實現。然而,在這樣的系統中,分頁錯誤大幅地影響了記憶體存取的效能,而且造成了不可預期的系統反應時間,故降低分頁錯誤率對改進系統效能相當關鍵。在本論文中,我於 uC/OS-II 中提出了一套基於分頁機制建構的動態記憶體管理方案。根據程序的優先權來分配分頁給程序,使得高優先權程序的分頁更能被保留於記憶體中,而低優先權程序的分頁則容易被置換掉。如此,避免了分頁時常地重新分配,降低了分頁錯誤率。在實驗中,分頁錯誤率可以降低到 66%。此外,我亦測試了在不同的情況之下,效能如何受到影響。結果顯示出此優先權的考量改善了整體分頁錯誤率的效能,特別是在大記憶體存取範圍、具備許多程序,以及低老化機制門檻值的環境中。相信加入優先權考量的動態記憶體管理能有效地增加相當多嵌入式與即時系統的整體效能。
There is an increasing demand for more memory to satisfy complex execution of applications even in embedded or real-time systems. The implementation of more memory is usually done by using paging or virtual memory. However, page faults in such systems impact the performance of memory access significantly and result in unpredictable response time. So, reducing page fault rate is critical to improve the system performance. In this thesis, a dynamic memory management scheme based on paging on μC/OS-II is proposed. Memory pages are allocated to tasks relying on task priorities, so pages of high-priority tasks are more likely to be kept in memory, while those of low-priority tasks may be easier replaced. By this way, pages are prevented from being re-allocated frequently, resulting in a lower page fault rate. In my experiment, the page fault rate could reduce 66\%. More experiments under different scenarios are also designed to test how the performance would be influenced. The results show that such prioritized scheme improves the overall performance of page fault rate, especially with wide memory access range, more number of tasks, and low aging strategy. I believe dynamic memory management with task priority can effectively improve the overall performance of many embedded and real-time systems.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/47634
全文授權: 有償授權
顯示於系所單位:資訊工程學系

文件中的檔案:
檔案 大小格式 
ntu-99-1.pdf
  目前未授權公開取用
1.74 MBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

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