Re: [ovs-discuss] vhost-user multiqueue PMD RSS
Thanks for your kind remind. Also great thanks for your hints, it is a good start to investigate OVS implementation. On Mon, Jun 12, 2017 at 3:19 AM, Darrell Ball <db...@vmware.com> wrote: > Try not to drop the list > > > > In the general case, including the specific case that you mention, today’s > design > > is to select a queue from the tx port queues starting from low ID, that > has the > > least contending PMD threads. > > > > > > *From: *Hui Jing <h.jing...@gmail.com> > *Date: *Sunday, June 11, 2017 at 2:33 PM > *To: *Darrell Ball <db...@vmware.com> > *Subject: *Re: [ovs-discuss] vhost-user multiqueue PMD RSS > > > > Hi Darrell Ball, > > > > Thanks for your reply with the link. Actually, my question comes from > there when I was reading the article. In the article, Everything makes > perfect sense when it says each PMD handle a single queue of the NIC. I am > wondering what if one PMD thread is responsible for more queues (which is > possible) of the VNIC, or in other words, number of PMD threads is less > than the number of queues of vhost-user. In this case, how the PMD > distribute traffic. > > > > Best regards, > > Hui > > > > On Sun, Jun 11, 2017 at 7:21 PM, Darrell Ball <db...@vmware.com> wrote: > > https://software.intel.com/en-us/articles/configure-vhost-us > er-multiqueue-for-ovs-with-dpdk > <https://urldefense.proofpoint.com/v2/url?u=https-3A__software.intel.com_en-2Dus_articles_configure-2Dvhost-2Duser-2Dmultiqueue-2Dfor-2Dovs-2Dwith-2Ddpdk=DwMFaQ=uilaK90D4TOVoH58JNXRgQ=BVhFA09CGX7JQ5Ih-uZnsw=t6e4fxDY-056Dec9-A_jqM07-wRZIe-IM57ykiU0cuU=5rFLcAUhoV5uqReRdeUzso2tbYhv67Az02iDwKvWs3I=> > > > > > > *From: *<ovs-discuss-boun...@openvswitch.org> on behalf of Hui Jing < > h.jing...@gmail.com> > *Date: *Sunday, June 11, 2017 at 5:04 AM > *To: *"ovs-discuss@openvswitch.org" <ovs-discuss@openvswitch.org> > *Subject: *[ovs-discuss] vhost-user multiqueue PMD RSS > > > > Hi all, > > > > I am new to OVS-DPDK and trying to figure out the mechanism of vhost-user > multiqueue scenario. I understand that the PMD thread is created for > polling the queues of vhost-user or physical NIC and the affinity bind PMD > to queues. However, the PMD transmission side confused me, I would like to > learn PMD thread mechanism and how it distributes traffic to different > queues. > > > > Let's consider this scenario: one PMD thread is responsible for two queues > of one vhost-user, when packet destined to the vhost-user, how it decide > which queue to trasmit? is there equivalence to RSS? > > = > > |Rx Queue0| > > Traffic ==>PMD thread ==> ==>Virtio Frontend in VM > > > |Rx Queue1| > > = > > Thanks in advance > > Best Regards, > > Hui > > > ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
Re: [ovs-discuss] vhost-user multiqueue PMD RSS
Try not to drop the list In the general case, including the specific case that you mention, today’s design is to select a queue from the tx port queues starting from low ID, that has the least contending PMD threads. From: Hui Jing <h.jing...@gmail.com> Date: Sunday, June 11, 2017 at 2:33 PM To: Darrell Ball <db...@vmware.com> Subject: Re: [ovs-discuss] vhost-user multiqueue PMD RSS Hi Darrell Ball, Thanks for your reply with the link. Actually, my question comes from there when I was reading the article. In the article, Everything makes perfect sense when it says each PMD handle a single queue of the NIC. I am wondering what if one PMD thread is responsible for more queues (which is possible) of the VNIC, or in other words, number of PMD threads is less than the number of queues of vhost-user. In this case, how the PMD distribute traffic. Best regards, Hui On Sun, Jun 11, 2017 at 7:21 PM, Darrell Ball <db...@vmware.com<mailto:db...@vmware.com>> wrote: https://software.intel.com/en-us/articles/configure-vhost-user-multiqueue-for-ovs-with-dpdk<https://urldefense.proofpoint.com/v2/url?u=https-3A__software.intel.com_en-2Dus_articles_configure-2Dvhost-2Duser-2Dmultiqueue-2Dfor-2Dovs-2Dwith-2Ddpdk=DwMFaQ=uilaK90D4TOVoH58JNXRgQ=BVhFA09CGX7JQ5Ih-uZnsw=t6e4fxDY-056Dec9-A_jqM07-wRZIe-IM57ykiU0cuU=5rFLcAUhoV5uqReRdeUzso2tbYhv67Az02iDwKvWs3I=> From: <ovs-discuss-boun...@openvswitch.org<mailto:ovs-discuss-boun...@openvswitch.org>> on behalf of Hui Jing <h.jing...@gmail.com<mailto:h.jing...@gmail.com>> Date: Sunday, June 11, 2017 at 5:04 AM To: "ovs-discuss@openvswitch.org<mailto:ovs-discuss@openvswitch.org>" <ovs-discuss@openvswitch.org<mailto:ovs-discuss@openvswitch.org>> Subject: [ovs-discuss] vhost-user multiqueue PMD RSS Hi all, I am new to OVS-DPDK and trying to figure out the mechanism of vhost-user multiqueue scenario. I understand that the PMD thread is created for polling the queues of vhost-user or physical NIC and the affinity bind PMD to queues. However, the PMD transmission side confused me, I would like to learn PMD thread mechanism and how it distributes traffic to different queues. Let's consider this scenario: one PMD thread is responsible for two queues of one vhost-user, when packet destined to the vhost-user, how it decide which queue to trasmit? is there equivalence to RSS? = |Rx Queue0| Traffic ==>PMD thread ==> ==>Virtio Frontend in VM |Rx Queue1| = Thanks in advance Best Regards, Hui ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
Re: [ovs-discuss] vhost-user multiqueue PMD RSS
https://software.intel.com/en-us/articles/configure-vhost-user-multiqueue-for-ovs-with-dpdk From: <ovs-discuss-boun...@openvswitch.org> on behalf of Hui Jing <h.jing...@gmail.com> Date: Sunday, June 11, 2017 at 5:04 AM To: "ovs-discuss@openvswitch.org" <ovs-discuss@openvswitch.org> Subject: [ovs-discuss] vhost-user multiqueue PMD RSS Hi all, I am new to OVS-DPDK and trying to figure out the mechanism of vhost-user multiqueue scenario. I understand that the PMD thread is created for polling the queues of vhost-user or physical NIC and the affinity bind PMD to queues. However, the PMD transmission side confused me, I would like to learn PMD thread mechanism and how it distributes traffic to different queues. Let's consider this scenario: one PMD thread is responsible for two queues of one vhost-user, when packet destined to the vhost-user, how it decide which queue to trasmit? is there equivalence to RSS? = |Rx Queue0| Traffic ==>PMD thread ==> ==>Virtio Frontend in VM |Rx Queue1| = Thanks in advance Best Regards, Hui ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
[ovs-discuss] vhost-user multiqueue PMD RSS
Hi all, I am new to OVS-DPDK and trying to figure out the mechanism of vhost-user multiqueue scenario. I understand that the PMD thread is created for polling the queues of vhost-user or physical NIC and the affinity bind PMD to queues. However, the PMD transmission side confused me, I would like to learn PMD thread mechanism and how it distributes traffic to different queues. Let's consider this scenario: one PMD thread is responsible for two queues of one vhost-user, when packet destined to the vhost-user, how it decide which queue to trasmit? is there equivalence to RSS? = |Rx Queue0| Traffic ==>PMD thread ==> ==>Virtio Frontend in VM |Rx Queue1| = Thanks in advance Best Regards, Hui ___ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss