ITeye博客

Linux 虚拟化技术

crystalrain0 · 2012-11-17 22:15 · 云-虚拟化 · 开源软件 · Markdown

LINUX 虚拟化技术:

http://www.ibm.com/developerworks/cn/linux/theme/virtualization/index.html

 

from http://sheepdog.taobao.org/people/zituan/virt_in_taobao.html#(13)

 


 

The vhost-blk uses two kernel threads to handle the guests' requests.One is to submit them via Linux kernel's internal AIO structs,and the other is signal the guests the completion of the IO requests. The current qemu-kvm's native AIO in the user mode acctually just uses one io-thread to submitting and signalling. One more nuance is that qemu-kvm AIO signals the completion of the requests one by one. Like vhost-net, the in-kernel vhost-blk module reduces the number of the system calls during the requests handling and the code path is shorter than the implementation of the qemu-kvm.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。