Thread (1 message) 1 message, 1 author, 2014-08-27

Re: [RFC] lib/librte_vhost: qemu vhost-user support into DPDK vhost library

From: Tetsuya.Mukawa <hidden>
Date: 2014-08-27 06:07:43

Hi Xie,

(2014/08/27 14:56), Xie, Huawei wrote:
For virtio-net device driver, there is still no difference. Existing
solution creates an eventfd module to install a fd in DPDK process
pointing to the eventfd in qemu process. In vhost-user, the UNIX
domain socket will do that work, create a new fd, install it in target
DPDK server process, and make it point to the eventfd in qemu process. 
Thank you for explanation. I can understand clearly.

Thanks,
Tetsuya
quoted
Anyway, about device creation and destruction, the difference will come
from transmission speed between unix domain socket and CUSE. I am not
sure which is faster.

Thanks,
Tetsuya

quoted
Regards,
Changchun
quoted
-----Original Message-----
From: Tetsuya.Mukawa [mailto:mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org]
Sent: Wednesday, August 27, 2014 12:39 PM
To: Ouyang, Changchun; dev-VfR2kkLFssw@public.gmane.org
Cc: Xie, Huawei; Katsuya MATSUBARA; nakajima.yoshihiro-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org;
Hitoshi Masutani
Subject: Re: [dpdk-dev] [RFC] lib/librte_vhost: qemu vhost-user support into
DPDK vhost library


(2014/08/27 9:43), Ouyang, Changchun wrote:
quoted
Do we have performance comparison between both implementation?
Hi Changchun,

If DPDK applications are running on both guest and host side, the
performance should be almost same, because while transmitting data virt
queues are accessed by virtio-net PMD and libvhost. In libvhost, the existing
vhost implementation and a vhost-user implementation will shares or uses
same code to access virt queues. So I guess the performance will be almost
same.

Thanks,
Tetsuya

quoted
Thanks
Changchun


-----Original Message-----
From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Xie, Huawei
Sent: Tuesday, August 26, 2014 7:06 PM
To: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [dpdk-dev] [RFC] lib/librte_vhost: qemu vhost-user
support into DPDK vhost library

Hi all:
We are implementing qemu official vhost-user interface into DPDK vhost
library, so there would be two coexisting implementations for user space
vhost backend.
quoted
Pro and cons in my mind:
Existing solution:
Pros:  works with qemu version before 2.1;  Cons: depends on eventfd
proxy kernel module and extra maintenance effort Qemu vhost-user:
quoted
               Pros:  qemu official us-vhost interface;     Cons: only available after
qemu 2.1
quoted
BR.
huawei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help