作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (9): 55-57. doi: 10.3969/j.issn.1000-3428.2008.09.020

• 软件技术与数据库 • 上一篇    下一篇

基于平台抽象层的进程虚拟机设计与实现

阳 昕1,杨维康1,陈 榕2,石 磊1,3   

  1. (1. 清华大学计算机科学与技术系,北京 100084;2. 上海科泰世纪科技有限公司,上海 201203;3. 武警工程学院基础部,西安710086)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-05-05 发布日期:2008-05-05

Design and Implementation of PAL-based Process Virtual Machine

YANG Xin1, YANG Wei-kang1, CHEN Rong2, SHI Lei1,3   

  1. (1. Department of Computer Science and Technology, Tsinghua University, Beijing 100084; 2. Koretide Corporation, Shanghai 201203; 3. Department of Foundation, Engineering College of Armed Police Force, Xi’an 710086)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-05-05 Published:2008-05-05

摘要: 分析WINE虚拟机响应缓慢的根源,提出平台抽象层(PAL)的概念,设计并实现了基于PAL的进程虚拟机Elavm。在Linux, Windows和WinCE上,完成了Elavm PAL的硬件抽象模块、操作系统抽象模块和设备驱动抽象模块。其中,操作系统抽象模块实现了一个通用虚拟内核、一组高效的系统调用和一种基于共享内存的“忙等待”进程间同步方法。测试表明,基于PAL的进程虚拟机,其平均响应时间仅为类WINE虚拟机的千分之一。

关键词: 平台抽象层, 虚拟内核, 虚拟机

Abstract: WINE virtual machine is analyzed and the reasons of its slow server are pointed out. The concept of Platform Abstraction Layer(PAL) is proposed, and a process virtual machine Elavm is designed and implemented. On Linux, Windows and WinCE, the hardware abstraction, operating system abstraction and device driver abstraction within Elavm PAL are finished. The operating system abstraction includes a general virtual kernel, a set of system calls with high performance and a “busy-wait” inter-process synchronization mechanism based on shared memory. Test results show the average responding time of PAL-based virtual machines is about one thousandth of WINE-like virtual machines.

Key words: Platform Abstraction Layer(PAL), virtual kernel, virtual machine

中图分类号: