摘要
在Xen虚拟化中已存在基于共享内存的域间通信机制,为了简化Xen虚拟化驱动的编写工作和提高稳定性,提出一种基于消息队列的域间通信机制。申请一块内存来存放消息队列,并通过授权表在所有的域间共享此段内存。在上述共享内存中创建消息队列,并将消息队列的起始地址存放到Xenstore中,从而使得所有的域都可以使用该消息队列收发信息。结果CPU的吞吐量降低38.3%,传输速率降低38.2%,同时响应时间增加64.3%。该模型有效简化编写分离设备驱动程序的复杂性,并使得驱动程序的可靠性得到了显著地提高。
In xen virtualization,there already exists inter-domain communication mechanism based on shared-memory.In order to simplify the xen virtualization written work and improve the stability of the driver,a messagequeue-based interdomain communication mechanism is proposed.Methods are applied in a memory to store the message queue,and through the grant table mechanism,all domains could share the applied memory.A message queue in the shared memory is created,the start address of the message queue into xenstore is put,so that all of the domain can send and receive messages through the message queue.CPU throughput decreases by 38.3%,transmission rate decreases by 38.2%,at the same time,the response time increases by 64.3%.The new model Effectively simplify the complexity of the writing the split device driver and improve the reliability.
出处
《计算机与数字工程》
2014年第8期1399-1402,1435,共5页
Computer & Digital Engineering
关键词
虚拟机
分离驱动
域间通信
Xen
split-driver
interdomian communication