請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/64398
標題: | 利用不同記憶體配置增進連結器效能 Speed Improvement of MCLinker with Different Memory Layout |
作者: | Chun-Hung Lu 盧俊宏 |
指導教授: | 廖世偉 |
關鍵字: | 連結器,記憶體映射, MCLinker,memory map, |
出版年 : | 2012 |
學位: | 碩士 |
摘要: | 連結器這個程式的功能是將一個或多個編譯器產生的檔案合併成為
一個單一的檔案。 由於連結器需要從輸入的檔案讀取資料, 所以輸 入、輸出所花費的時間在連結過程扮演著重要的角色。 在這篇論文中,我們說明了加速裝置上連結器的方法。 為了降低 輸入輸出所花費的時間, 我們在原先的架構上針對從檔案讀取資料的 演算法進行修改, 並且更換了記憶體配置方式。 在測量效能方面,我們使用擁有不同輸入檔案的程式做為測試程 式。 實驗結果顯示連結器執行的時間增快百分之五到百分之十一, 而 且連結擁有較多輸入檔的應用程式時,可以降低百分之十六的分頁錯 誤。 A linker or link editor is a program that takes one or more objects gener- ated by a compiler and combines them into a single executable program[2]. Since linker should read data from input files, I/O time plays an important role in linking. It make sense to reduce I/O time for a linker. In this paper, we describe the design for speeding up linking time of an on-device linker. In order to reduce I/O time, we use a different algorithm for reading data from input files and change memory layout based on host architecture. To evaluate the performance, we use applications with different number of input files as benchmarks. In our experence, the linking time is 5% faster than original version and we reduce 15% to 20% page faults when linking with the applications with more input files. |
URI: | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/64398 |
全文授權: | 有償授權 |
顯示於系所單位: | 資訊工程學系 |
文件中的檔案:
檔案 | 大小 | 格式 | |
---|---|---|---|
ntu-101-1.pdf 目前未授權公開取用 | 573.4 kB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。