摘要: 分析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
中图分类号:
阳 昕;杨维康;陈 榕;石 磊;. 基于平台抽象层的进程虚拟机设计与实现[J]. 计算机工程, 2008, 34(9): 55-57.
YANG Xin; YANG Wei-kang; CHEN Rong; SHI Lei;. Design and Implementation of PAL-based Process Virtual Machine[J]. Computer Engineering, 2008, 34(9): 55-57.