Re: [vpp-dev] vpp performance numbers with 10Gbps interface.
+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. CPU min MHz: 1200. 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 1down 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 local00down vpp# show interface Name Idx State Counter Count TenGigabitEtherneta/0/0 1down 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 local00down vpp# show interface Name Idx State Counter Count TenGigabitEtherneta/0/0 1down 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 local00down vpp# show interface
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 Negiwrote: > > 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. > CPU min MHz: 1200. > 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 1down 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 > > local00down > > vpp# show interface > > Name Idx State Counter > Count > > TenGigabitEtherneta/0/0 1down 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 > > local00down > > vpp# show interface > > Name Idx State Counter > Count > > TenGigabitEtherneta/0/0 1down 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 > > local00down > > vpp# show interface > > Name Idx State Counter > Count > > TenGigabitEtherneta/0/0
[vpp-dev] vpp performance numbers with 10Gbps interface.
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. CPU min MHz: 1200. 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 1down 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 local00down vpp# show interface Name Idx State Counter Count TenGigabitEtherneta/0/0 1down 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 local00down vpp# show interface Name Idx State Counter Count TenGigabitEtherneta/0/0 1down 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 local00down vpp# show interface Name Idx State Counter Count TenGigabitEtherneta/0/0 1down 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.e0, out 0.e0, drop 9.5264e-4, punt 0.e0 Name State Calls VectorsSuspends Clocks Vectors/Call TenGigabitEtherneta/0/1-output active 1 1 0 9.04e31.00 acl-plugin-fa-cleaner-process event wait0 0 1 1.07e40.00 admin-up-down-process