Virtio io path vhost io path and vhost-user vhost-user ********* network device

Source: Internet
Author: User

With the release of qemu2.1, you can see that QEMU supports Vhost-user. From the introduction can be seen, this is the original vhost-backend from kernel moved to the userspace, this and the original virtio structure what is the difference. And this feature has brought about improvements. Virtio

In the virtual machine, you can simulate the E1000 network card through QEMU, such classic network card is a general variety of customer operating system will provide Inbox drive, so from the compatibility point of view, the use of similar e1000 analog network card is a very good choice.

However, the E1000 network card also contains a complex IO port, register, cache configuration, the virtual machine each receiver will cause more IO and mmio operations, making the virtual machine frequently trapped, resulting in poor network performance.

To address performance issues, IBM introduced the Virtio in 2005, in which the semi virtualized front-end driver in the virtual machine and the back-end service on the host simply used Virtqueue shared queues to exchange data, dramatically reducing the complexity of IO operations in e1000 simulations, So as to improve the performance of virtual network to a large extent.

In contrast, from the simple iperf test below, we can see the performance gap between the two:

With Virtio

1 2 3 4 5 6 7 ------------------------------------------------------------Client connecting to Virtio, TC P Port 5001 TCP window size:16.0 KByte (default)---------------------------------------------- -- -- -- -- -- -- --

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.