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