* Re: Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?
2017-10-08 16:13 ` Tan, Jianfeng
@ 2017-10-09 16:24 ` Bill Bonaparte
2017-10-10 1:14 ` Tan, Jianfeng
2017-10-10 1:14 ` [dpdk-dev] " Tan, Jianfeng
2017-10-09 16:24 ` Bill Bonaparte
` (4 subsequent siblings)
5 siblings, 2 replies; 17+ messages in thread
From: Bill Bonaparte @ 2017-10-09 16:24 UTC (permalink / raw)
To: Tan, Jianfeng
Cc: bernard.iremonger, huawei.xie, bruce.richardson, thomas,
david.marchand, shreyansh.jain, pablo.de.lara.guarch,
Olivier Matz, yuanhan.liu, xen-devel, DPDK
On Mon, Oct 9, 2017 at 12:13 AM, Tan, Jianfeng <jianfeng.tan@intel.com>
wrote:
> Hi,
>
> On 10/8/2017 12:54 PM, Bill Bonaparte wrote:
>
> Thanks Jianfeng for taking time to reply.
>
> please allow me to briefly explain why I want to run dpdk on xen.
> our system is based on dpdk, which means we use dpdk as packet
> receive/transmit engine,
> and with integrated dpdk virtio/vmxnet3 driver, our system can run on
> KVM/VMware platform .
> this year, we have plan to run our system on AWS cloud, but I found that
> AWS
> uses xen as its virtualization platform, and the bus-info of nic is vif-x
> (x could be 0,1,2...),
> the driver used in kernel is vif. this should be para-virtualized nic used
> on xen.
>
>
> My guess is exactly as you describe. In AWS, we lack of a PMD for xen
> netfront (vif) nic. And even we got such a PMD, we still need a PMD for xen
> netback. Both are missing.
>
>
> I don't know which dpdk drvier can manage this pv nic. then I see
> xenvirt, I think this driver can
> did this job, like virtio can manage virtio nic which is used on kvm.
> unfortunately, after some study work, I run testpmd successfully on xen,
> but no packets received.
>
> with the informain got from you, I know It's need to run vhost_xen at dom0
> so that xenvirt at domU can work.
> but for my case, I have no change to run vhost_xen at dom0, because I only
> can operate my own domU.
>
> for this case, If I want to run system which is based on dpdk at domU,
> what should I do?
> appreciate any idea or suggestion from you.
>
>
> What kind of performance are you seeking? Only accelerating the frontend
>> by a new PMD, i.e. netfront, we can bypass the VM kernel (). But without
>> accelerating the backend, it only brings limited improvement.
>
> for me, the most important thing at the moment, is to run our system on
xen guest (aka DomU), with the full functions. the performance could be a
secondary consideration.
most of time, for our guests, full functions, with the acceptable
performance,
is fine.
do we have plan to support xen netfront pmd in dpdk ?
in my humble opinion, limited performance is better than "not work" .
>
> Not sure if anyone from Amazon or Oracle can comment?
>
> Thanks,
> Jianfeng
>
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?
2017-10-09 16:24 ` Bill Bonaparte
@ 2017-10-10 1:14 ` Tan, Jianfeng
2017-10-10 1:14 ` [dpdk-dev] " Tan, Jianfeng
1 sibling, 0 replies; 17+ messages in thread
From: Tan, Jianfeng @ 2017-10-10 1:14 UTC (permalink / raw)
To: Bill Bonaparte
Cc: bernard.iremonger, huawei.xie, bruce.richardson, thomas,
david.marchand, shreyansh.jain, pablo.de.lara.guarch,
Olivier Matz, yuanhan.liu, xen-devel, DPDK
> for me, the most important thing at the moment, is to run our system
> on xen guest (aka DomU), with the full functions. the performance
> could be a secondary consideration.
> most of time, for our guests, full functions, with the
> acceptable performance, is fine.
> do we have plan to support xen netfront pmd in dpdk ?
> in my humble opinion, limited performance is better than "not work" .
If you only care about the functionality, you can try AF_PACKET or pcap PMD.
Thanks,
Jianfeng
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?
2017-10-09 16:24 ` Bill Bonaparte
2017-10-10 1:14 ` Tan, Jianfeng
@ 2017-10-10 1:14 ` Tan, Jianfeng
1 sibling, 0 replies; 17+ messages in thread
From: Tan, Jianfeng @ 2017-10-10 1:14 UTC (permalink / raw)
To: Bill Bonaparte
Cc: pablo.de.lara.guarch, yuanhan.liu, Olivier Matz, shreyansh.jain,
bruce.richardson, david.marchand, DPDK, bernard.iremonger, thomas,
xen-devel, huawei.xie
[-- Attachment #1.1: Type: text/plain, Size: 500 bytes --]
> for me, the most important thing at the moment, is to run our system
> on xen guest (aka DomU), with the full functions. the performance
> could be a secondary consideration.
> most of time, for our guests, full functions, with the
> acceptable performance, is fine.
> do we have plan to support xen netfront pmd in dpdk ?
> in my humble opinion, limited performance is better than "not work" .
If you only care about the functionality, you can try AF_PACKET or pcap PMD.
Thanks,
Jianfeng
[-- Attachment #1.2: Type: text/html, Size: 1142 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?
2017-10-08 16:13 ` Tan, Jianfeng
2017-10-09 16:24 ` Bill Bonaparte
@ 2017-10-09 16:24 ` Bill Bonaparte
2017-10-10 22:57 ` Stephen Hemminger
` (3 subsequent siblings)
5 siblings, 0 replies; 17+ messages in thread
From: Bill Bonaparte @ 2017-10-09 16:24 UTC (permalink / raw)
To: Tan, Jianfeng
Cc: pablo.de.lara.guarch, yuanhan.liu, Olivier Matz, shreyansh.jain,
bruce.richardson, david.marchand, DPDK, bernard.iremonger, thomas,
xen-devel, huawei.xie
[-- Attachment #1.1: Type: text/plain, Size: 2226 bytes --]
On Mon, Oct 9, 2017 at 12:13 AM, Tan, Jianfeng <jianfeng.tan@intel.com>
wrote:
> Hi,
>
> On 10/8/2017 12:54 PM, Bill Bonaparte wrote:
>
> Thanks Jianfeng for taking time to reply.
>
> please allow me to briefly explain why I want to run dpdk on xen.
> our system is based on dpdk, which means we use dpdk as packet
> receive/transmit engine,
> and with integrated dpdk virtio/vmxnet3 driver, our system can run on
> KVM/VMware platform .
> this year, we have plan to run our system on AWS cloud, but I found that
> AWS
> uses xen as its virtualization platform, and the bus-info of nic is vif-x
> (x could be 0,1,2...),
> the driver used in kernel is vif. this should be para-virtualized nic used
> on xen.
>
>
> My guess is exactly as you describe. In AWS, we lack of a PMD for xen
> netfront (vif) nic. And even we got such a PMD, we still need a PMD for xen
> netback. Both are missing.
>
>
> I don't know which dpdk drvier can manage this pv nic. then I see
> xenvirt, I think this driver can
> did this job, like virtio can manage virtio nic which is used on kvm.
> unfortunately, after some study work, I run testpmd successfully on xen,
> but no packets received.
>
> with the informain got from you, I know It's need to run vhost_xen at dom0
> so that xenvirt at domU can work.
> but for my case, I have no change to run vhost_xen at dom0, because I only
> can operate my own domU.
>
> for this case, If I want to run system which is based on dpdk at domU,
> what should I do?
> appreciate any idea or suggestion from you.
>
>
> What kind of performance are you seeking? Only accelerating the frontend
>> by a new PMD, i.e. netfront, we can bypass the VM kernel (). But without
>> accelerating the backend, it only brings limited improvement.
>
> for me, the most important thing at the moment, is to run our system on
xen guest (aka DomU), with the full functions. the performance could be a
secondary consideration.
most of time, for our guests, full functions, with the acceptable
performance,
is fine.
do we have plan to support xen netfront pmd in dpdk ?
in my humble opinion, limited performance is better than "not work" .
>
> Not sure if anyone from Amazon or Oracle can comment?
>
> Thanks,
> Jianfeng
>
[-- Attachment #1.2: Type: text/html, Size: 5315 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?
2017-10-08 16:13 ` Tan, Jianfeng
2017-10-09 16:24 ` Bill Bonaparte
2017-10-09 16:24 ` Bill Bonaparte
@ 2017-10-10 22:57 ` Stephen Hemminger
2017-10-10 22:57 ` Stephen Hemminger
` (2 subsequent siblings)
5 siblings, 0 replies; 17+ messages in thread
From: Stephen Hemminger @ 2017-10-10 22:57 UTC (permalink / raw)
To: Tan, Jianfeng
Cc: pablo.de.lara.guarch, yuanhan.liu, olivier.matz, shreyansh.jain,
bruce.richardson, david.marchand, DPDK, Bill Bonaparte,
bernard.iremonger, thomas, xen-devel, huawei.xie
On Mon, 9 Oct 2017 00:13:47 +0800
"Tan, Jianfeng" <jianfeng.tan@intel.com> wrote:
> Hi,
>
>
> On 10/8/2017 12:54 PM, Bill Bonaparte wrote:
> > Thanks Jianfeng for taking time to reply.
> >
> > please allow me to briefly explain why I want to run dpdk on xen.
> > our system is based on dpdk, which means we use dpdk as packet
> > receive/transmit engine,
> > and with integrated dpdk virtio/vmxnet3 driver, our system can run on
> > KVM/VMware platform .
> > this year, we have plan to run our system on AWS cloud, but I found
> > that AWS
> > uses xen as its virtualization platform, and the bus-info of nic is
> > vif-x (x could be 0,1,2...),
> > the driver used in kernel is vif. this should be para-virtualized nic
> > used on xen.
>
> My guess is exactly as you describe. In AWS, we lack of a PMD for xen
> netfront (vif) nic. And even we got such a PMD, we still need a PMD for
> xen netback. Both are missing.
>
> >
> > I don't know which dpdk drvier can manage this pv nic. then I see
> > xenvirt, I think this driver can
> > did this job, like virtio can manage virtio nic which is used on kvm.
> > unfortunately, after some study work, I run testpmd successfully on
> > xen, but no packets received.
> >
> > with the informain got from you, I know It's need to run vhost_xen at
> > dom0 so that xenvirt at domU can work.
> > but for my case, I have no change to run vhost_xen at dom0, because I
> > only can operate my own domU.
> >
> > for this case, If I want to run system which is based on dpdk at domU,
> > what should I do?
> > appreciate any idea or suggestion from you.
>
> What kind of performance are you seeking? Only accelerating the frontend
> by a new PMD, i.e. netfront, we can bypass the VM kernel (). But without
> accelerating the backend, it only brings limited improvement.
Brocade wrote a xen net-front driver. It was never integrated upstream
and had many issues (such as pretending to be PCI and it wasn't).
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?
2017-10-08 16:13 ` Tan, Jianfeng
` (2 preceding siblings ...)
2017-10-10 22:57 ` Stephen Hemminger
@ 2017-10-10 22:57 ` Stephen Hemminger
2017-10-19 19:21 ` Konrad Rzeszutek Wilk
2017-10-19 19:21 ` [dpdk-dev] " Konrad Rzeszutek Wilk
5 siblings, 0 replies; 17+ messages in thread
From: Stephen Hemminger @ 2017-10-10 22:57 UTC (permalink / raw)
To: Tan, Jianfeng
Cc: Bill Bonaparte, bernard.iremonger, huawei.xie, bruce.richardson,
thomas, david.marchand, shreyansh.jain, pablo.de.lara.guarch,
olivier.matz, yuanhan.liu, xen-devel, DPDK
On Mon, 9 Oct 2017 00:13:47 +0800
"Tan, Jianfeng" <jianfeng.tan@intel.com> wrote:
> Hi,
>
>
> On 10/8/2017 12:54 PM, Bill Bonaparte wrote:
> > Thanks Jianfeng for taking time to reply.
> >
> > please allow me to briefly explain why I want to run dpdk on xen.
> > our system is based on dpdk, which means we use dpdk as packet
> > receive/transmit engine,
> > and with integrated dpdk virtio/vmxnet3 driver, our system can run on
> > KVM/VMware platform .
> > this year, we have plan to run our system on AWS cloud, but I found
> > that AWS
> > uses xen as its virtualization platform, and the bus-info of nic is
> > vif-x (x could be 0,1,2...),
> > the driver used in kernel is vif. this should be para-virtualized nic
> > used on xen.
>
> My guess is exactly as you describe. In AWS, we lack of a PMD for xen
> netfront (vif) nic. And even we got such a PMD, we still need a PMD for
> xen netback. Both are missing.
>
> >
> > I don't know which dpdk drvier can manage this pv nic. then I see
> > xenvirt, I think this driver can
> > did this job, like virtio can manage virtio nic which is used on kvm.
> > unfortunately, after some study work, I run testpmd successfully on
> > xen, but no packets received.
> >
> > with the informain got from you, I know It's need to run vhost_xen at
> > dom0 so that xenvirt at domU can work.
> > but for my case, I have no change to run vhost_xen at dom0, because I
> > only can operate my own domU.
> >
> > for this case, If I want to run system which is based on dpdk at domU,
> > what should I do?
> > appreciate any idea or suggestion from you.
>
> What kind of performance are you seeking? Only accelerating the frontend
> by a new PMD, i.e. netfront, we can bypass the VM kernel (). But without
> accelerating the backend, it only brings limited improvement.
Brocade wrote a xen net-front driver. It was never integrated upstream
and had many issues (such as pretending to be PCI and it wasn't).
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?
2017-10-08 16:13 ` Tan, Jianfeng
` (3 preceding siblings ...)
2017-10-10 22:57 ` Stephen Hemminger
@ 2017-10-19 19:21 ` Konrad Rzeszutek Wilk
2017-10-19 19:21 ` [dpdk-dev] " Konrad Rzeszutek Wilk
5 siblings, 0 replies; 17+ messages in thread
From: Konrad Rzeszutek Wilk @ 2017-10-19 19:21 UTC (permalink / raw)
To: Tan, Jianfeng
Cc: Bill Bonaparte, bernard.iremonger, huawei.xie, bruce.richardson,
thomas, david.marchand, shreyansh.jain, pablo.de.lara.guarch,
olivier.matz, yuanhan.liu, xen-devel, DPDK
On Mon, Oct 09, 2017 at 12:13:47AM +0800, Tan, Jianfeng wrote:
> Hi,
>
>
> On 10/8/2017 12:54 PM, Bill Bonaparte wrote:
> > Thanks Jianfeng for taking time to reply.
> >
> > please allow me to briefly explain why I want to run dpdk on xen.
> > our system is based on dpdk, which means we use dpdk as packet
> > receive/transmit engine,
> > and with integrated dpdk virtio/vmxnet3 driver, our system can run on
> > KVM/VMware platform .
> > this year, we have plan to run our system on AWS cloud, but I found that
> > AWS
> > uses xen as its virtualization platform, and the bus-info of nic is
> > vif-x (x could be 0,1,2...),
> > the driver used in kernel is vif. this should be para-virtualized nic
> > used on xen.
>
> My guess is exactly as you describe. In AWS, we lack of a PMD for xen
> netfront (vif) nic. And even we got such a PMD, we still need a PMD for xen
> netback. Both are missing.
>
> >
> > I don't know which dpdk drvier can manage this pv nic. then I see
> > xenvirt, I think this driver can
> > did this job, like virtio can manage virtio nic which is used on kvm.
> > unfortunately, after some study work, I run testpmd successfully on xen,
> > but no packets received.
> >
> > with the informain got from you, I know It's need to run vhost_xen at
> > dom0 so that xenvirt at domU can work.
> > but for my case, I have no change to run vhost_xen at dom0, because I
> > only can operate my own domU.
> >
> > for this case, If I want to run system which is based on dpdk at domU,
> > what should I do?
> > appreciate any idea or suggestion from you.
>
> What kind of performance are you seeking? Only accelerating the frontend by
> a new PMD, i.e. netfront, we can bypass the VM kernel (). But without
> accelerating the backend, it only brings limited improvement.
>
> Not sure if anyone from Amazon or Oracle can comment?
Joao has been working on updates in the Xen PV network driver such
that there is a higher acceleration (aka recycle grants). See in xen.git
tree:
commit 30655e2bf0ce8ee50e61728e2558e0363f4af1c9
Author: Joao Martins <joao.m.martins@oracle.com>
Date: Tue Oct 3 18:46:08 2017 +0100
public/io/netif.h: add gref mapping control messages
This combined with the drivers that Broadcom wrote (I think that is
the name of the company that posted them a year or so ago), should
provide awesome performance.
>
> Thanks,
> Jianfeng
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?
2017-10-08 16:13 ` Tan, Jianfeng
` (4 preceding siblings ...)
2017-10-19 19:21 ` Konrad Rzeszutek Wilk
@ 2017-10-19 19:21 ` Konrad Rzeszutek Wilk
5 siblings, 0 replies; 17+ messages in thread
From: Konrad Rzeszutek Wilk @ 2017-10-19 19:21 UTC (permalink / raw)
To: Tan, Jianfeng
Cc: pablo.de.lara.guarch, yuanhan.liu, olivier.matz, shreyansh.jain,
bruce.richardson, david.marchand, DPDK, Bill Bonaparte,
bernard.iremonger, thomas, xen-devel, huawei.xie
On Mon, Oct 09, 2017 at 12:13:47AM +0800, Tan, Jianfeng wrote:
> Hi,
>
>
> On 10/8/2017 12:54 PM, Bill Bonaparte wrote:
> > Thanks Jianfeng for taking time to reply.
> >
> > please allow me to briefly explain why I want to run dpdk on xen.
> > our system is based on dpdk, which means we use dpdk as packet
> > receive/transmit engine,
> > and with integrated dpdk virtio/vmxnet3 driver, our system can run on
> > KVM/VMware platform .
> > this year, we have plan to run our system on AWS cloud, but I found that
> > AWS
> > uses xen as its virtualization platform, and the bus-info of nic is
> > vif-x (x could be 0,1,2...),
> > the driver used in kernel is vif. this should be para-virtualized nic
> > used on xen.
>
> My guess is exactly as you describe. In AWS, we lack of a PMD for xen
> netfront (vif) nic. And even we got such a PMD, we still need a PMD for xen
> netback. Both are missing.
>
> >
> > I don't know which dpdk drvier can manage this pv nic. then I see
> > xenvirt, I think this driver can
> > did this job, like virtio can manage virtio nic which is used on kvm.
> > unfortunately, after some study work, I run testpmd successfully on xen,
> > but no packets received.
> >
> > with the informain got from you, I know It's need to run vhost_xen at
> > dom0 so that xenvirt at domU can work.
> > but for my case, I have no change to run vhost_xen at dom0, because I
> > only can operate my own domU.
> >
> > for this case, If I want to run system which is based on dpdk at domU,
> > what should I do?
> > appreciate any idea or suggestion from you.
>
> What kind of performance are you seeking? Only accelerating the frontend by
> a new PMD, i.e. netfront, we can bypass the VM kernel (). But without
> accelerating the backend, it only brings limited improvement.
>
> Not sure if anyone from Amazon or Oracle can comment?
Joao has been working on updates in the Xen PV network driver such
that there is a higher acceleration (aka recycle grants). See in xen.git
tree:
commit 30655e2bf0ce8ee50e61728e2558e0363f4af1c9
Author: Joao Martins <joao.m.martins@oracle.com>
Date: Tue Oct 3 18:46:08 2017 +0100
public/io/netif.h: add gref mapping control messages
This combined with the drivers that Broadcom wrote (I think that is
the name of the company that posted them a year or so ago), should
provide awesome performance.
>
> Thanks,
> Jianfeng
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 17+ messages in thread