Hi Rahul,

So there a few additional hoops you have to jump through to get good performance. The biggest of which is making sure that

1. The host is setup to make hugepages available.
2. QEMU is pointed at the hugepages.
3. The guest is setup to make hugepages available.

The following documented from DPDK covers it in some detail.


Ray K

On 09/08/2017 23:33, Rahul Negi wrote:
Hi All,
 I am working on an use case where i want to measure the Maximum PPS
handled by vpp in sriov configuration.I have created a virtual machine
on a host having specifications as follows:-
1.RHEL 7.3 installed
2.Intel X540 10 gig NIC attached

I have created a virtual function from one of the interface of 10 gig
NIC(for e.g ens3f0) and attached it to my Virtual Machine.I have
installed ubuntu 16.04 on my Vm. My vpp version running on vm is 17.10.

vpp# show version verbose
Version:                  v17.10-rc0~86-g7d4a22c
Compiled by:              root
Compile host:             ubuntu
Compile date:             Wed Jul 26 18:56:51 EDT 2017
Compile location:         /root/vpp/vpp
Compiler:                 GCC 5.4.0 20160609
Current PID:              5006

Currently My Vm is with 4vcpu and vpp  cpu model is as follow:-
1.one main thread
2.Three worker threads

I am not able to get more than 4Mpps with this configuration of vpp.When
i am pumping more than 4Mpps traffic to my VM. I can see this
counter rx_no_dma_resources: 5628104 getting incremented at the host.As
there is no eth stats available in sriov configuration for virtual
functions attached to VM.

Guest vcpus are pin to host physical cpus.

So 4Mpps is the expected number that we can get in this configuration?


vpp-dev mailing list

vpp-dev mailing list

Reply via email to