Evaluating the impacts of hugepage on virtual machines

来源 :Science China(Information Sciences) | 被引量 : 0次 | 上传用户:wangwei07863
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Modern applications often require a large amount of memory. Conventional 4KB pages lead to large page tables and thus exert high pressure on TLB address translations. This pressure is more prominent in a virtualized system, which adds an additional layer of address translation. Page walks due to TLB misses can result in a significant performance overhead. One effort in reducing this overhead is to use hugepage. Linux kernel has supported transparent hugepage since 2.6.38, which provides an alternate large page size. Generally,hugepage demonstrates better performance on address translations and page table modifications. This paper first analyzes the impact of hugepage on native system, and then, compares the impact of hugepage on different memory virtualization approaches: hardware-assisted paging(HAP), shadow paging, and para-virtualization.We observe that the current implementation of transparent hugepage is inefficient. It cannot exploit the full performance advantage of hugepages. Worse yet, the conservative strategy of transparent hugepage may conflict with existing OS functions, which can lead to performance degradation. So, we propose a new memory allocation strategy, alignment-based hugepage(ABH) that promotes hugepage allocations. We apply ABH to different paging modes in virtualized systems. The results show that the new allocation strategy can significantly reduce TLB misses and up to 90% page walk cycles due to TLB misses and thus improve the performance in real world applications. Modern applications often require a large amount of memory. Conventional 4KB pages lead to large page tables and thus exert high pressure on TLB address translations. This pressure is more prominent in a virtualized system, which adds an additional layer of address translation. Page walks due One effort in reducing this overhead is to use huge page. Linux Kernel has supported transparent hugepage since 2.6.38, which provides an alternate large page size. Generally, huge page demonstrates better performance on address translations and page table modifications. This paper first analyzes the impact of hugepage on native system, and then, comparable the impact of hugepage on different memory virtualization approaches: hardware-assisted paging (HAP), shadow paging, and para-virtualization. We observe that the current implementation of transparent hugepage is inefficient. It can not exploit the full performance advantage of hugepages. W orse yet, the conservative strategy of transparent huge page may conflict with existing OS functions, which can lead to performance degradation. So, we propose a new memory allocation strategy, alignment-based hugepage (ABH) that requires huge page allocations. We apply ABH to different paging modes in virtualized systems. The results show that the new allocation strategy can reduce TLB misses and up to 90% page walk cycles due to TLB misses and thus improve the performance in real world applications.
其他文献
国民经济膨胀—紧缩—再膨胀—再紧缩的怪圈象无情的大海,将数十万个国营的、集体的企业,时而推上浪尖,时而推入波谷。企业真是(口尝)够了酸甜苦辣。眼下则正是企业骤然落入
我家里有三个狂人,这个三个狂人一个比一个狂,每天他们都上演着不同的“疯狂”角色,你想知道这三个人都是谁呢?赶紧跟随我去看看他们吧!先来说说“购物狂”吧,这个交椅得由我
天气预报说,今年第11号台风“海葵”就要来了。我又紧张又害怕,妈妈安慰我:“我们家的房子很牢固,不会被吹倒的。”妈妈关紧门窗,准备了手电、蜡烛。夜里三点,“海葵”来了,
教育部2011年颁布的《义务教育语文课程标准》在“课程资源开发与利用的建议”中强调“语文课程资源包括课堂教学资源和课外学习资源……自然风光、文化遗产、风俗民情、方言
在1991年全军医学期刊编辑质量评比活动中,解放军预防医学杂志荣获全军医学期刊优秀编辑奖.于1992年11月2日在武汉召开的全军第二届医学编辑学术委员会议上,接受了总后卫生
没有想象就没有创造,没有幻想就没有发明。同学们,练习作文也是如此。要想提高作文水平,就要开阔视野,丰富语言,乐于表达,更重要的是敢于想象,让想象插上飞翔的翅膀,在作文天地里自由飞翔。  同样一个作文材料,由于思维、想象的差异,写出的作文也就不尽相同。请看下面的材料:老师带同学们外出春游,小明同学在山洞里意外发现了一枚蛋,小明高兴地把它带回了家。如果你是小明,该怎样处理这枚蛋?  材料给出后,同学们
现在的孩子,动起嘴巴来,语出惊人,一个个伶牙俐齿,等到要动手行动了,饭菜不会热,鞋带不会系,果皮不会剥,幼稚得连小猫小狗也不如。我们家好好,原先也是这样的孩子,针对这种情
一、引人入胜开场白教师要注意采用多种多样的方法激发学生强烈的求知欲望,引导学生调整情绪,让他们迅速进入最佳状态,跟着老师探索知识的海洋。教师举了一个例子:一位老太太
多年来,我院认真贯彻总部关于《军队医院确保为部队服务的若干规定》和《关于进一步加强部队卫生工作的决定》,坚持为部队服务的正确方向,始终把“姓军”作为医院改革的基本
南光(集团)有限公司是总部设在澳门的国务院国资委直属中央企业,在逾半个世纪的发展历程中,较好地完成了各个历史时期国家所赋予的不同使命,其创造的历史和文化,具有独特的价值。为了发掘、再现和传播南光的历史和精神,企业文明杂志社最近应邀到南光集团进行了采访。由本刊总编辑李祖荣、副总编胡引定、首席记者罗志荣、文化产业部主任崔小花组成的采访组,于8月29日至9月2日赴南光集团开展了深度采访。  南光集团董事