* [dpdk-dev] DPDK with vhostuser - Issue in Testing with DPDK-Pktgen
@ 2016-02-26 14:44 Abhijeet Karve
2016-02-26 16:38 ` Wiles, Keith
2016-02-27 12:30 ` Czesnowicz, Przemyslaw
0 siblings, 2 replies; 3+ messages in thread
From: Abhijeet Karve @ 2016-02-26 14:44 UTC (permalink / raw)
To: przemyslaw.czesnowicz, sean.k.mooney, sugesh.chandran; +Cc: dev, discuss
Dear Przemek, Sean & Sugesh,
It would be great if get your valuable inputs for the below listed issue.
We have setup DPDK with vhostuser in AllinOne setup on following software
platform.
_____________
Openstack: Kilo
Distribution: Ubuntu 14.04
OVS Version: 2.4.0
DPDK 2.0.0
_____________
In our Openstack OVS-DPDK set up, we are spawning 2 instance on same host
with Ubuntu and running DPDK-pktgen in one of the VM and measuring traffic
between VMs of same host.
VMs spec are 8GB of memory and 4 core, we are using one port for pktgen
application.
Please fine the VM huge page setting as well,
HugePages_Total: 1024
HugePages_Free: 896
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Please find the below command we are using,
./app/app/$RTE_TARGET/pktgen -c 0f -n 3 --proc-type auto --socket-mem 256
-b 0000:00:03.0 -- -P -m "[1-3].0"
Regardless of the cores whatever we are passing here(-m "[1-3].0"), the
traffic is sending via only one core, remaining 2 cores are idle.
We have added specific property as well to the images we are using,
hw:vif_multiqueue_enabled=true à Flavor property
hw_vif_mutliqueue_enabled=true à Image property
Still we got the same issue on the application.
>From logs,
. . . . .
** Dev Info (rte_virtio_pmd:0) **
max_vfs : 0 min_rx_bufsize : 64 max_rx_pktlen : 9728
max_rx_queues : 1 max_tx_queues: 1
. . . . .
Kindly suggest us something on this regard if we need to tune anything on
Openstack end or in pktgen application.
Thanks & Regards
Abhijeet Karve
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] DPDK with vhostuser - Issue in Testing with DPDK-Pktgen
2016-02-26 14:44 [dpdk-dev] DPDK with vhostuser - Issue in Testing with DPDK-Pktgen Abhijeet Karve
@ 2016-02-26 16:38 ` Wiles, Keith
2016-02-27 12:30 ` Czesnowicz, Przemyslaw
1 sibling, 0 replies; 3+ messages in thread
From: Wiles, Keith @ 2016-02-26 16:38 UTC (permalink / raw)
To: Abhijeet Karve, Czesnowicz, Przemyslaw, Mooney, Sean K, Chandran, Sugesh
Cc: dev, discuss
>Dear Przemek, Sean & Sugesh,
>
>It would be great if get your valuable inputs for the below listed issue.
>We have setup DPDK with vhostuser in AllinOne setup on following software
>platform.
>_____________
>Openstack: Kilo
>Distribution: Ubuntu 14.04
>OVS Version: 2.4.0
>DPDK 2.0.0
>_____________
>
>In our Openstack OVS-DPDK set up, we are spawning 2 instance on same host
>with Ubuntu and running DPDK-pktgen in one of the VM and measuring traffic
>between VMs of same host.
>
>VMs spec are 8GB of memory and 4 core, we are using one port for pktgen
>application.
>
>Please fine the VM huge page setting as well,
>
>HugePages_Total: 1024
>HugePages_Free: 896
>HugePages_Rsvd: 0
>HugePages_Surp: 0
>Hugepagesize: 2048 kB
>
>Please find the below command we are using,
>
>./app/app/$RTE_TARGET/pktgen -c 0f -n 3 --proc-type auto --socket-mem 256
>-b 0000:00:03.0 -- -P -m "[1-3].0"
>
>Regardless of the cores whatever we are passing here(-m "[1-3].0"), the
>traffic is sending via only one core, remaining 2 cores are idle.
Let me look at the problem and verify it is not a bug or something else.
>
>We have added specific property as well to the images we are using,
>
>hw:vif_multiqueue_enabled=true à Flavor property
>hw_vif_mutliqueue_enabled=true à Image property
>
>Still we got the same issue on the application.
>
>From logs,
>. . . . .
>** Dev Info (rte_virtio_pmd:0) **
> max_vfs : 0 min_rx_bufsize : 64 max_rx_pktlen : 9728
>max_rx_queues : 1 max_tx_queues: 1
>. . . . .
>
>
>Kindly suggest us something on this regard if we need to tune anything on
>Openstack end or in pktgen application.
>
>
>Thanks & Regards
>Abhijeet Karve
>=====-----=====-----=====
>Notice: The information contained in this e-mail
>message and/or attachments to it may contain
>confidential or privileged information. If you are
>not the intended recipient, any dissemination, use,
>review, distribution, printing or copying of the
>information contained in this e-mail message
>and/or attachments to it are strictly prohibited. If
>you have received this communication in error,
>please notify us by reply e-mail or telephone and
>immediately and permanently delete the message
>and any attachments. Thank you
>
>
>
Regards,
Keith
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] DPDK with vhostuser - Issue in Testing with DPDK-Pktgen
2016-02-26 14:44 [dpdk-dev] DPDK with vhostuser - Issue in Testing with DPDK-Pktgen Abhijeet Karve
2016-02-26 16:38 ` Wiles, Keith
@ 2016-02-27 12:30 ` Czesnowicz, Przemyslaw
1 sibling, 0 replies; 3+ messages in thread
From: Czesnowicz, Przemyslaw @ 2016-02-27 12:30 UTC (permalink / raw)
To: Abhijeet Karve, Mooney, Sean K, Chandran, Sugesh; +Cc: dev, discuss
Hi Abhijeet,
To be able to use vhostuser multiqueue support you will need to have following software versions.
OpenStack: Liberty
Qemu: 2.5
Libvirt: > 1.2.17
DPDK: 2.2
Ovs: either the tip of 2.5 branch or master branch
Setting hw_vif_mutliqueue_enabled=true Image property won't have any effect with your current configuration.
Regards
Przemek
From: Abhijeet Karve [mailto:abhijeet.karve@tcs.com]
Sent: Friday, February 26, 2016 2:45 PM
To: Czesnowicz, Przemyslaw <przemyslaw.czesnowicz@intel.com>; Mooney, Sean K <sean.k.mooney@intel.com>; Chandran, Sugesh <sugesh.chandran@intel.com>
Cc: dev@dpdk.org; discuss@openvswitch.org
Subject: DPDK with vhostuser - Issue in Testing with DPDK-Pktgen
Dear Przemek, Sean & Sugesh,
It would be great if get your valuable inputs for the below listed issue. We have setup DPDK with vhostuser in AllinOne setup on following software platform.
_____________
Openstack: Kilo
Distribution: Ubuntu 14.04
OVS Version: 2.4.0
DPDK 2.0.0
_____________
In our Openstack OVS-DPDK set up, we are spawning 2 instance on same host with Ubuntu and running DPDK-pktgen in one of the VM and measuring traffic between VMs of same host.
VMs spec are 8GB of memory and 4 core, we are using one port for pktgen application.
Please fine the VM huge page setting as well,
HugePages_Total: 1024
HugePages_Free: 896
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Please find the below command we are using,
./app/app/$RTE_TARGET/pktgen -c 0f -n 3 --proc-type auto --socket-mem 256 -b 0000:00:03.0 -- -P -m "[1-3].0"
Regardless of the cores whatever we are passing here(-m "[1-3].0"), the traffic is sending via only one core, remaining 2 cores are idle.
We have added specific property as well to the images we are using,
hw:vif_multiqueue_enabled=true --> Flavor property
hw_vif_mutliqueue_enabled=true --> Image property
Still we got the same issue on the application.
>From logs,
. . . . .
** Dev Info (rte_virtio_pmd:0) **
max_vfs : 0 min_rx_bufsize : 64 max_rx_pktlen : 9728 max_rx_queues : 1 max_tx_queues: 1
. . . . .
Kindly suggest us something on this regard if we need to tune anything on Openstack end or in pktgen application.
Thanks & Regards
Abhijeet Karve
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-27 12:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26 14:44 [dpdk-dev] DPDK with vhostuser - Issue in Testing with DPDK-Pktgen Abhijeet Karve
2016-02-26 16:38 ` Wiles, Keith
2016-02-27 12:30 ` Czesnowicz, Przemyslaw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).