面向受限系統(tǒng)的分布式動態(tài)二進制翻譯器的分析與研究
本文選題:動態(tài)二進制翻譯器 + 代碼緩存。 參考:《上海交通大學》2012年博士論文
【摘要】:動態(tài)二進制翻譯器借助于二進制翻譯技術(shù),其發(fā)展初期通常被用在程序移植、代碼優(yōu)化等方面,目前也越來越多的被廣泛的應用于硬件設計、系統(tǒng)安全等領域。然而,當前關于動態(tài)二進制翻譯器乃至二進制技術(shù)發(fā)展尚存在一些挑戰(zhàn),主要的挑戰(zhàn)來自于以下幾個方面。首先,商用的動態(tài)二進制翻譯器普遍與底層硬件存在著強烈的依賴關系,可擴展性和兼容性差;其次,學術(shù)界的動態(tài)二進制翻譯器雖然在擴展性上有所突破,但其性能往往令人詬病,得不到大面積推廣應用;再次,當今的動態(tài)二進制翻譯技術(shù)及動態(tài)二進制翻譯器的應用幾乎只局限于商用服務器或者個人電腦領域,卻不支持在一些硬件資源有限的瘦客戶端上的應用。 本文在深入研究當今動態(tài)二進制翻譯器相關技術(shù)現(xiàn)狀的基礎上,針對這些挑戰(zhàn)提出一系列系統(tǒng)的解決方案。相比于之前的研究工作,本文的研究致力于提供一套更為實際、全面和高效的解決方案,該方案可以為今后的動態(tài)二進制翻譯器系統(tǒng)設計提供幫助,同時也拓展了在其它應用場合,如瘦客戶端領域、云計算環(huán)境領域的應用前景。 具體而言,本文的主要貢獻有如下幾點: 1.為動態(tài)二進制翻譯器設計了一套通用的虛擬中間指令集V-IIS。借助于該中間指令集,在不損失過多性能的前提下,動態(tài)二進制翻譯器能較好的實現(xiàn)“多源多目標”的目的,減少了動態(tài)二進制翻譯器開發(fā)的復雜度,節(jié)省了人力物力; 2.為瘦客戶端設計了一種分布式的動態(tài)二進制翻譯器框架DistriBit。在該分布式框架中,根據(jù)服務器和瘦客戶端功能和計算能力的強弱安排不同的分工,功能強大的服務器負責代碼翻譯和優(yōu)化的工作,資源有限的客戶端負責代碼執(zhí)行工作; 3.為DistriBit中的瘦客戶端設計了一種代碼緩存管理策略。針對瘦客戶端緩存的大小和代碼執(zhí)行的情況,在服務器端為其量身制定了相適應的緩存管理策略,借助于該緩存管理策略的指導,瘦客戶端可以進行較復雜的高效率的代碼管理; 4.在云計算虛擬分布式環(huán)境下,我們研究了一些優(yōu)化因素,諸如中間指令集的虛擬寄存器的數(shù)量、熱路徑上基本塊的數(shù)量對DistriBit系統(tǒng)的性能影響。
[Abstract]:With the help of binary translation technology, dynamic binary translator is usually used in the fields of program transplantation, code optimization and so on. At present, it is widely used in hardware design, system security and other fields. However, there are still some challenges in the development of dynamic binary translators and even binary technology. The main challenges come from the following aspects. First of all, commercial dynamic binary translators generally have strong dependence on the underlying hardware, scalability and compatibility are poor; secondly, the dynamic binary translators in academic circles have a breakthrough in expansibility. But its performance is often criticized and can not be widely used. Thirdly, the application of dynamic binary translation technology and dynamic binary translator is almost limited to commercial servers or personal computers. Applications on thin clients with limited hardware resources are not supported. In this paper, based on a deep study of the current status of dynamic binary translator technologies, a series of systematic solutions to these challenges are proposed. Compared with previous research work, this paper is devoted to providing a more practical, comprehensive and efficient solution, which can be used for the design of dynamic binary translator system in the future. At the same time, it also expands the application prospects in other applications, such as thin client domain and cloud computing environment. Specifically, the main contributions of this paper are as follows: 1. A general virtual intermediate instruction set V-IIS is designed for dynamic binary translator. With the help of the intermediate instruction set, the dynamic binary translator can achieve the purpose of "multi-source and multi-objective" without losing too much performance, thus reducing the complexity of the development of the dynamic binary translator and saving manpower and material resources. 2. A distributed dynamic binary translator framework DistriBitfor thin client is designed. In this distributed framework, different division of labor is arranged according to the function and computing power of server and thin client, the powerful server is responsible for code translation and optimization, and the client with limited resources is responsible for code execution. 3. A code cache management strategy is designed for thin clients in DistriBit. According to the size of the thin client cache and the execution of the code, a suitable cache management strategy is developed on the server side, with the help of the guidance of the cache management strategy. Thin client can perform more complex and efficient code management; 4. In the cloud computing virtual distributed environment, we study some optimization factors, such as the number of virtual registers in the intermediate instruction set and the number of basic blocks on the hot path, which affect the performance of the DistriBit system.
【學位授予單位】:上海交通大學
【學位級別】:博士
【學位授予年份】:2012
【分類號】:TP302
【參考文獻】
相關期刊論文 前2條
1 李劍慧;馬湘寧;朱傳琪;;動態(tài)二進制翻譯與優(yōu)化技術(shù)研究[J];計算機研究與發(fā)展;2007年01期
2 白童心,馮曉兵,武成崗,張兆慶;優(yōu)化動態(tài)二進制翻譯器DigitalBridge[J];計算機工程;2005年10期
相關博士學位論文 前2條
1 唐鋒;動態(tài)二進制翻譯優(yōu)化研究[D];中國科學院研究生院(計算技術(shù)研究所);2006年
2 馬湘寧;二進制翻譯關鍵技術(shù)研究[D];中國科學院研究生院(計算技術(shù)研究所);2004年
相關碩士學位論文 前7條
1 包云程;構(gòu)建基于動態(tài)二進制翻譯技術(shù)的進程虛擬機[D];上海交通大學;2007年
2 史輝輝;動態(tài)二進制翻譯中基于profile的優(yōu)化算法研究[D];上海交通大學;2008年
3 潘麗君;動態(tài)二進制翻譯器中Code Cache管理策略的研究與分析[D];上海交通大學;2009年
4 胡坤;動態(tài)二進制翻譯中的熱路徑優(yōu)化[D];上海交通大學;2009年
5 姜玲燕;動態(tài)二進制翻譯中基于中間代碼的優(yōu)化研究[D];上海交通大學;2008年
6 李庭濤;虛擬機的軟硬件協(xié)同設計方法研究[D];上海交通大學;2009年
7 劉博;基于軟硬件協(xié)同設計的虛擬機的并行性研究[D];上海交通大學;2008年
,本文編號:1915298
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1915298.html