+1. If you want to rx-and-drop packets, install a drop adjacency... Sending to an unrouteable address results in 100% icmp error replies...
Thanks... Dave From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Florin Coras Sent: Tuesday, September 12, 2017 1:05 PM To: Rahul Negi <rahulnegi...@gmail.com> Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] vpp performance numbers with 10Gbps interface. Hi Rahul, It looks like all your packets are going to ip4-imcp-error, ip4-local and ip4-udp-lookup. What is your test setup? Florin On Sep 12, 2017, at 5:10 AM, Rahul Negi <rahulnegi...@gmail.com<mailto:rahulnegi...@gmail.com>> wrote: Hi All, I was trying to measure maximum PPS handled by vpp.I have installed ubuntu 16.04 on my server.I have followed vpp recommended bios settings. Hardware specs: root@kujo:~# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 8 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 45 Model name: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz Stepping: 7 CPU MHz: 1200.000 CPU max MHz: 2900.0000 CPU min MHz: 1200.0000 BogoMIPS: 5786.39 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 20480K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm Vpp version: vpp# show version vpp v17.10-rc0~301-gb2d2fc7 built by root on kujo at Mon Sep 11 16:39:34 IST 2017 My vpp model has 1 main thread and 1 worker thread.I was not able to get more than 6Mpps .After 6 Mpps i can see the rx_miss counters in vpp stats. vpp# show interface Name Idx State Counter Count TenGigabitEtherneta/0/0 1 down rx-error 2 TenGigabitEtherneta/0/1 2 up rx packets 52647168 rx bytes 3369416188 tx packets 52638150 tx bytes 4842700014 drops 9024 ip4 52645519 tx-error 1 local0 0 down vpp# show interface Name Idx State Counter Count TenGigabitEtherneta/0/0 1 down rx-error 2 TenGigabitEtherneta/0/1 2 up rx packets 54696192 rx bytes 3500553704 tx packets 54687170 tx bytes 5031209822 drops 9028 ip4 54694538 tx-error 1 local0 0 down vpp# show interface Name Idx State Counter Count TenGigabitEtherneta/0/0 1 down rx-error 2 TenGigabitEtherneta/0/1 2 up rx packets 56743168 rx bytes 3631560168 tx packets 56734146 tx bytes 5219531614 drops 9028 ip4 56741514 rx-miss 23152160 tx-error 1 local0 0 down vpp# show interface Name Idx State Counter Count TenGigabitEtherneta/0/0 1 down rx-error 2 TenGigabitEtherneta/0/1 2 up rx packets 58714624 rx bytes 3757733348 tx packets 58705601 tx bytes 5400905474 drops 9029 ip4 58712969 rx-miss 23152160 tx-error 1 Also output for show run is given below: vpp# show run Thread 0 vpp_main (lcore 0) Time 1049.7, average vectors/node 1.00, last 128 main loops 0.00 per node 0.00 vector rates in 0.0000e0, out 0.0000e0, drop 9.5264e-4, punt 0.0000e0 Name State Calls Vectors Suspends Clocks Vectors/Call TenGigabitEtherneta/0/1-output active 1 1 0 9.04e3 1.00 acl-plugin-fa-cleaner-process event wait 0 0 1 1.07e4 0.00 admin-up-down-process event wait 0 0 1 2.04e3 0.00 api-rx-from-ring any wait 0 0 1012 2.50e4 0.00 bfd-process event wait 0 0 1 5.18e3 0.00 cdp-process any wait 0 0 107 2.38e4 0.00 dhcp-client-process any wait 0 0 11 1.20e4 0.00 dpdk-ipsec-process done 1 0 0 1.38e5 0.00 dpdk-process any wait 0 0 350 1.53e6 0.00 error-drop active 1 1 0 5.87e3 1.00 fib-walk any wait 0 0 525 3.23e3 0.00 flow-report-process any wait 0 0 1 2.44e3 0.00 flowprobe-timer-process any wait 0 0 1 6.19e3 0.00 ikev2-manager-process any wait 0 0 1049 2.48e3 0.00 ioam-export-process any wait 0 0 1 2.61e3 0.00 ip6-icmp-neighbor-discovery-ev any wait 0 0 1049 2.52e3 0.00 l2fib-mac-age-scanner-process event wait 0 0 1 2.79e3 0.00 lisp-retry-service any wait 0 0 525 4.25e3 0.00 lldp-process event wait 0 0 1 1.11e6 0.00 memif-process event wait 0 0 1 2.48e4 0.00 nat-det-expire-walk done 1 0 0 1.50e3 0.00 nat64-expire-walk done 1 0 0 1.19e4 0.00 send-garp-na-process event wait 0 0 1 1.55e3 0.00 startup-config-process done 1 0 1 3.18e3 0.00 udp-ping-process any wait 0 0 1 1.43e4 0.00 unix-cli-sockaddr family 1 active 1 0 105 1.56e13 0.00 unix-cli-sockaddr family 1 done 57 0 114 5.90e12 0.00 unix-epoll-input polling 2911747 0 0 1.04e6 0.00 vhost-user-process any wait 0 0 1 2.01e3 0.00 vhost-user-send-interrupt-proc any wait 0 0 1 1.73e3 0.00 vpe-link-state-process event wait 0 0 3 4.52e3 0.00 vpe-oam-process any wait 0 0 515 2.74e3 0.00 vpe-route-resolver-process any wait 0 0 11 4.95e3 0.00 vxlan-gpe-ioam-export-process any wait 0 0 1 1.52e3 0.00 --------------- Thread 1 vpp_wk_0 (lcore 1) Time 1049.7, average vectors/node 255.79, last 128 main loops 0.00 per node 0.00 vector rates in 1.1677e6, out 1.1676e6, drop 1.1085e1, punt 0.0000e0 Name State Calls Vectors Suspends Clocks Vectors/Call TenGigabitEtherneta/0/1-output active 4788948 1225703653 0 9.65e0 255.94 TenGigabitEtherneta/0/1-tx active 4788948 1225703653 0 8.75e1 255.94 arp-input active 4246 4335 0 3.27e3 1.02 dpdk-input polling 9752949602 1225715284 0 1.32e3 .13 error-drop active 5809 11636 0 2.32e2 2.00 ethernet-input active 4733 4822 0 7.29e2 1.02 interface-output active 859 859 0 5.41e2 1.00 ip4-glean active 1934 7672 0 9.97e1 3.97 ip4-icmp-error active 4790018 1225710461 0 1.51e2 255.89 ip4-input-no-checksum active 4790018 1225710461 0 3.54e1 255.89 ip4-local active 4790018 1225710461 0 5.69e1 255.89 ip4-lookup active 9580036 2451420922 0 3.39e1 255.89 ip4-rewrite active 4788084 1225702789 0 3.25e1 255.99 ip4-udp-lookup active 4790018 1225710461 0 4.44e1 255.89 ip6-drop active 1 1 0 3.12e3 1.00 ip6-input active 1 1 0 6.38e3 1.00 llc-input active 452 452 0 9.78e2 1.00 lldp-input active 35 35 0 1.89e3 1.00 I thought i can get entire 15 Mpps traffic from it.Can someone please suggest what could be the reason here that i am getting only 6 Mpps traffic with this.Or this could be expected numbers? Thanks, rahul _______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> https://lists.fd.io/mailman/listinfo/vpp-dev
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev