文档详情

Xen虚拟机间的磁盘IO性能隔离.doc

发布:2017-12-04约1.28万字共6页下载文档
文本预览下载声明
2012-07-13################2012-07-13######2#0#12-07-13######## 宋振华1 ,杨亚军2,3 1 ( 中国科学技术大学 计算机科学与技术学院,合肥 230026) 2 ( 中国科学院 计算技术研究所,北京 110190) 3 ( 中国科学院 研究生院,北京 100039) E-mail: zhsong @ mail. ustc. edu. cn 摘 要: 针对当前的虚拟化技术无法使各个虚拟机平等地或按特定比例地共享磁盘带宽、无法保证虚拟机间的 I / O 性能隔离 的问题,基于 Xen 半虚拟化技术中的块 IO 请求处理过程,提出一种适用于 Xen 虚拟机间的磁盘 I / O 性能隔离算法-XIOS ( Xen I / O Scheduler) 算法,在通用块层调度各虚拟机的块 IO 操作( bio 结构) ,在 I / O 调度层保障延迟需求. 实验结果表明该算法有效 地在虚拟机间按比例地分配磁盘带宽. 关 键 词: Xen; 虚拟化; I / O 性能隔离; 磁盘带宽 中图分类号: TP316 文献标识码:A 文 章 编 号:1000-1220(2011)08-1674-05 Disk I / O Performance Isolation Among Xen Virtual Machines SONG Zhen-hua1 ,YANG Ya-jun2,3 1 (School of Computer Science and Technology,University of Science and Technology of China,Hefei 230026,China) 2 (Institute of Computing Technology,Chinese Academy of Sciences ,Beijing 110190,China) 3 (G raduate University of Chinese Academy of Sciences ,Beijing 100039,China) Abstract:Existing server virtualization technology cant guarantee that virtual machines equally or proportionally share disk I / O band- w idth and cant guarantee the I / O performance isolation among virtual machines. Based on the block IO process in Xen para-virtual- ization,this paper proposed a disk I / O performance isolation algorithm among Xen virtual machines - XIOS ( Xen I / O Scheduler), w hich reschedules the bios of all virtual machines in general block layer,and guarantees latency requirement in I / O scheduler layer. Experiment results show that XIOS can efficiently and proportionally allocate disk I / O bandw idth for virtual machines. Key words:Xen;virtualization;I / O performance Isolation;disk bandw idth 1 引 言 比例地分配磁盘带宽,在 I / O 调度层改进现有的最后期限 ( Deadline) 调度算法保障 IO 请求的延迟需求. 与其它基于时 间片或仅在 I / O 调度层实现的性能隔离方法相比,应用 XIOS 使按比例共享磁盘带宽的效果更加精确和高效. 当前虚拟化技术正广泛应用于动态资源分配、效用计算、 云计算等领域. 在虚拟化环境中,每个虚拟机可以单独地为一 个用户服务,每个用户都可以发出读写请求,共享磁盘带宽. 在目前的 Xen[1,6]半虚拟化技术中,所有虚拟机的块 IO 请求 都被提交到物理设备的请求队 列,在 I / O 调 度 层 仍 使 用 Linux 中的 I / O 调度算法. 这些调度算法并不区分请求是由 哪个虚拟机发出的,若某个虚拟机在某段时间内读写请求过 多,会影响其它虚拟机的请
显示全部
相似文档