天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 軟件論文 >

基于PHPA的內(nèi)存大小頁動態(tài)調(diào)整技術(shù)

發(fā)布時(shí)間:2019-05-20 04:12
【摘要】:為了提高物理資源的利用率,虛擬化技術(shù)得以普遍運(yùn)用。通過運(yùn)用虛擬化技術(shù),單臺服務(wù)器上可以整合許多虛擬機(jī)來為用戶提供各種服務(wù)。為了保證用戶的良好體驗(yàn),這臺服務(wù)器對硬件的要求就會比較高,其中也包括對內(nèi)存的需求。在現(xiàn)有市場上的服務(wù)器,有通過基于hugetlbfs的大頁管理框架來為服務(wù)應(yīng)用提供2M大頁,從而保證服務(wù)性能。但其不支持內(nèi)存壓縮,并且可擴(kuò)展性較差。實(shí)驗(yàn)室之前的工作中,實(shí)現(xiàn)了一套基于PHPA(Pristine Huge Page Allocator)大頁框架的的Hzmem(H代表huge,z代表壓縮)系統(tǒng),通過將大頁內(nèi)存進(jìn)行壓縮存放的方法,變相提高了可用的大頁內(nèi)存。受啟發(fā)于透明大頁的設(shè)計(jì)思想,在某些實(shí)際場景中,比如,服務(wù)器對大頁內(nèi)存的需求遠(yuǎn)遠(yuǎn)超過對小頁內(nèi)存的需求時(shí),系統(tǒng)中可能會存在比較多的空閑小頁,而缺少空閑大頁。本文在實(shí)驗(yàn)室現(xiàn)有成果的基礎(chǔ)上,設(shè)計(jì)實(shí)現(xiàn)了一套基于PHPA大頁框架的內(nèi)存大小頁動態(tài)調(diào)整技術(shù),來適應(yīng)上述場景。本文的主要貢獻(xiàn)有:1)采用PHPA大頁框架,大幅度地降低了系統(tǒng)對內(nèi)存管理的元數(shù)據(jù)開銷,節(jié)省了物理內(nèi)存開銷。2)實(shí)現(xiàn)了在系統(tǒng)運(yùn)行的時(shí)候動態(tài)調(diào)整大小頁內(nèi)存大小的技術(shù)。3)采用模塊化的方式將本文的實(shí)現(xiàn)與原有的Linux內(nèi)核進(jìn)行了結(jié)合,不需要對原有內(nèi)核進(jìn)行改動。4)通過proc文件系統(tǒng),實(shí)現(xiàn)了在用戶態(tài)對內(nèi)存大小頁進(jìn)行調(diào)整。經(jīng)過功能和性能兩方面的測試,本文的實(shí)現(xiàn)達(dá)到了預(yù)期效果,并且對原有系統(tǒng)的性能影響微乎其微。
[Abstract]:In order to improve the utilization of physical resources, virtualization technology has been widely used. By using virtualization technology, many virtual machines can be integrated on a single server to provide users with a variety of services. In order to ensure a good user experience, the server will be relatively high hardware requirements, including the demand for memory. In the existing market, the server provides 2m large pages for service applications through the large page management framework based on hugetlbfs, so as to ensure the performance of the service. However, it does not support memory compression, and the scalability is poor. In the previous work of the laboratory, a set of Hzmem (H representative compression (huge,z stands for compression) system based on PHPA (Pristine Huge Page Allocator) large page framework was implemented. By compression and storage of large pages of memory, the available large pages of memory were improved in disguise. Inspired by the design idea of transparent large pages, in some practical scenarios, for example, when the server's demand for large page memory far exceeds the demand for small page memory, there may be more idle pages and lack of free large pages in the system. In this paper, based on the existing laboratory results, a set of dynamic adjustment technology of memory size page based on PHPA large page framework is designed and implemented to adapt to the above scene. The main contributions of this paper are as follows: 1) the metadata overhead of memory management is greatly reduced by using PHPA large page framework. The physical memory overhead is saved. 2) the technology of dynamically adjusting the size of page memory while the system is running is realized. 3) the implementation of this paper is combined with the original Linux kernel in a modular way. There is no need to change the original kernel. 4) through the proc file system, the memory size page is adjusted in the user state. After functional and performance tests, the implementation of this paper has achieved the desired results, and has little impact on the performance of the original system.
【學(xué)位授予單位】:浙江大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP316.81;TP333

【相似文獻(xiàn)】

相關(guān)期刊論文 前10條

1 龍?jiān)潞?內(nèi)存大小與穩(wěn)定運(yùn)行[J];電腦愛好者;1999年13期

2 ;內(nèi)存大小有什么區(qū)別[J];信息經(jīng)濟(jì)與技術(shù);1995年10期

3 楊霖;DOS技巧集錦[J];電腦愛好者;1994年09期

4 董文生;沈春鋒;;內(nèi)存大小可控的高速內(nèi)存管理算法[J];控制工程;2013年S1期

5 李志峰;在DECpcXL486DX2服務(wù)器上安裝NOVELL3.11[J];中國金融電腦;1995年02期

6 張可心;WPS2000反片輸出[J];電腦愛好者;2001年02期

7 ;優(yōu)化漫談[J];電腦采購周刊;2001年05期

8 朱運(yùn)喜;;談?wù)刉indows中的內(nèi)存管理[J];電腦采購周刊;2001年21期

9 沈洪;Xteam Linux安裝詳解[J];電子科技;1999年18期

10 ;產(chǎn)品排行榜[J];微電腦世界;1998年20期

相關(guān)碩士學(xué)位論文 前1條

1 潘俊良;基于PHPA的內(nèi)存大小頁動態(tài)調(diào)整技術(shù)[D];浙江大學(xué);2017年

,

本文編號:2481341

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2481341.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶8be12***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com