DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] L2fwd Performance issue with Virtual Machine
@ 2013-10-03 21:39 Selvaganapathy Chidambaram
  2013-10-04 17:46 ` Patel, Rashmin N
  0 siblings, 1 reply; 6+ messages in thread
From: Selvaganapathy Chidambaram @ 2013-10-03 21:39 UTC (permalink / raw)
  To: dev

Hello Everyone,

I have tried to run DPDK sample application l2fwd(modified to support
multiple queues) in my ESX Virtual Machine. I see that performance is not
scaling with cores. [My apologies for the long email]

*Setup:*

Connected VM to two ports of Spirent with 10Gig link. Sent 10 Gig traffic
of L3 packet of length 1500 bytes (with four different flows) from Spirent
through one port and received at the second port. Also sent traffic from
reverse direction so that net traffic is 20 Gbps. Haven't enabled SR-IOV or
 Direct path I/O.

*Emulated Driver:*

With default emulated driver, I got 7.3 Gbps for 1 core. Adding multiple
cores did not improve the performance. On debugging I noticed that
function eth_em_infos_get() says RSS is not supported.

*vmxnet3_usermap:*

Then I tried extension vmxnet3_usermap and got 8.7 Gbps for 1 core. Again
adding another core did not help. On debugging, I noticed that in vmxnet3
kernel driver (in function vmxnet3_probe_device) , RSS is disabled if *
adapter->is_shm* is non zero. In our case, its VMXNET3_SHM_USERMAP_DRIVER
which is non zero.

Before trying to enable it, I would like to know if there is any known
limitation why RSS is not enabled in both the drivers. Please help me
understand.

*Hardware Configuration:*
Hardware          : Intel Xeon 2.4 Ghz 4 CPUs
Hyperthreading  : No
RAM                 : 16 GB
Hypervisor         : ESXi 5.1
Ethernet            : Intel 82599EB 10 Gig SFP


Guest VM         : 2 vCPU, 2 GB RAM
GuestOS          : Centos 6.2 32 bit

Thanks in advance for your time and help!!!

Thanks,
Selva.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-05  7:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-03 21:39 [dpdk-dev] L2fwd Performance issue with Virtual Machine Selvaganapathy Chidambaram
2013-10-04 17:46 ` Patel, Rashmin N
2013-10-04 18:02   ` Patel, Rashmin N
2013-10-04 21:36     ` Selvaganapathy Chidambaram
2013-10-05  6:32       ` Vincent JARDIN
2013-10-05  7:40         ` Patel, Rashmin N

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).