桌面网格是典型的异构计算资源环境,而虚拟化技术具有良好的封装性及隔离性,能整合异构资源并屏蔽不同操作系统的差异。为此,基于VirtualBox虚拟机实现桌面网格系统。对虚拟机运行环境的配置参数进行测试,设计实现自适应内存配置模块。分析作业运行不同阶段硬盘I/O、带宽I/O等性能差异对作业运行效率的影响,并针对镜像多样性及虚拟机启动与带宽造成的损耗,设计远程镜像库及动态作业文件系统,实现虚拟机的多样性选择及作业运行环境的动态部署,同时使用缓存服务弥补因使用虚拟机所造成的损耗。应用结果表明,该系统能够较好地满足高能物理计算的需求。
Desktop grid is a heterogeneous computing resource environment, which challenges the cross platform application deployment and heterogeneous resource integration. With good encapsulation and isolation, virtualization technology is used for integrating heterogeneous resources and shielding the difference of different platforms. Hence, a desktop grid system is implemented based on VirtualBox Virtnal Machine (VM). After testing different configuration parameters of VM, self-adaptive memory allocation module is designed. And based on the different stages of job operation, analysis of the influence on job operation caused by different performance of hard disk I/O and bandwidth I/O is given. According to the analysis result,VM image diversity and the performance loss caused by virtual machine start-up and bandwidth,the remote image library and dyamic job file system are designed,which meet the diverse requirement of VM image and quick deployment of job running environment. Meanwhile,cache service is used to make up for the loss caused by the use of VM. Application results show that this virtual desktop grid system can meet the needs of high energy physics computing very well.