> When I send mixed traffic in varying sizes (usually larger than 64 bytes) > packets in line rate, miss rates is low and vectors/call is low. > But when i send 64 byte udp packets (16K flow) in line rate, i has high > miss rate and Vector/call is high. So vpp cant prosess enough packet.
I do not see anything wrong in the stats below: ip4 forwarding is dominated by pps not bandwidth so when packet size decrease, pps increase. You seem to be limited to ~620Kpps per worker, which is low, but this depends from your hardware and configuration. Just to be sure: you are not running a debug image, right? You can also check 'show err' output to see why packets are dropped, this should give you some insight. > (mixed traffic in varying sizes (usually larger than 64 bytes) packets) > > Thread 1 vpp_wk_0 (lcore 2) > Time 173.8, 10 sec internal node vector rate 0.00 loops/sec 1430309.12 > vector rates in 6.4933e5, out 6.2164e5, drop 2.8775e-2, punt 0.0000e0 > Name State Calls Vectors > Suspends Clocks Vectors/Call > TenGigabitEthernet1/0/0-output active 1388318 59870375 > 0 9.54e1 43.12 > TenGigabitEthernet1/0/0-tx active 1388317 55058452 > 0 2.60e2 39.66 > TenGigabitEthernet1/0/1-output active 1324302 52957837 > 0 1.05e2 39.99 > TenGigabitEthernet1/0/1-tx active 1324301 52957836 > 0 2.47e2 39.99 > arp-input active 4 7 > 0 2.89e3 1.75 > arp-reply active 4 7 > 0 2.13e4 1.75 > dpdk-input polling 95342497 112828215 > 0 1.01e3 1.18 > drop active 5 5 > 0 5.07e3 1.00 > error-drop active 5 5 > 0 4.61e3 1.00 > ethernet-input active 2341216 112828215 > 0 3.22e2 48.19 > interface-output active 3 4 > 0 4.19e3 1.33 > ip4-input-no-checksum active 1598737 112828208 > 0 1.98e2 70.57 > ip4-load-balance active 1598737 112828208 > 0 1.69e2 70.57 > ip4-lookup active 1598737 112828208 > 0 3.14e2 70.57 > ip4-rewrite active 1598737 112828208 > 0 8.14e2 70.57 > unix-epoll-input polling 93018 0 > 0 1.69e3 0.00 > --------------- > Thread 2 vpp_wk_1 (lcore 3) > Time 173.8, 10 sec internal node vector rate 0.00 loops/sec 1454623.01 > vector rates in 6.4994e5, out 6.2287e5, drop 0.0000e0, punt 0.0000e0 > Name State Calls Vectors > Suspends Clocks Vectors/Call > TenGigabitEthernet1/0/0-output active 1227641 59821627 > 0 9.79e1 48.73 > TenGigabitEthernet1/0/0-tx active 1227641 55117639 > 0 2.63e2 44.89 > TenGigabitEthernet1/0/1-output active 1146502 53113046 > 0 1.07e2 46.33 > TenGigabitEthernet1/0/1-tx active 1146502 53113046 > 0 2.51e2 46.33 > dpdk-input polling 94368347 112934673 > 0 9.87e2 1.19 > ethernet-input active 2012117 112934673 > 0 2.85e2 56.13 > ip4-input-no-checksum active 1435435 112934673 > 0 2.00e2 78.68 > ip4-load-balance active 1435435 112934673 > 0 1.73e2 78.68 > ip4-lookup active 1435435 112934673 > 0 3.16e2 78.68 > ip4-rewrite active 1435435 112934673 > 0 8.59e2 78.68 > unix-epoll-input polling 92067 0 > 0 1.68e3 0.00 > --------------- > Thread 3 vpp_wk_2 (lcore 4) > Time 173.8, 10 sec internal node vector rate 0.00 loops/sec 1456729.77 > vector rates in 6.3335e5, out 6.1369e5, drop 0.0000e0, punt 0.0000e0 > Name State Calls Vectors > Suspends Clocks Vectors/Call > TenGigabitEthernet1/0/0-output active 2059086 58390205 > 0 9.89e1 28.36 > TenGigabitEthernet1/0/0-tx active 2059086 54975223 > 0 2.49e2 26.69 > TenGigabitEthernet1/0/1-output active 2050911 51661485 > 0 1.06e2 25.19 > TenGigabitEthernet1/0/1-tx active 2050911 51661485 > 0 2.41e2 25.19 > dpdk-input polling 100154483 110051690 > 0 1.09e3 1.09 > ethernet-input active 3538893 110051690 > 0 4.48e2 31.09 > ip4-input-no-checksum active 2267155 110051690 > 0 1.95e2 48.54 > ip4-load-balance active 2267155 110051690 > 0 1.58e2 48.54 > ip4-lookup active 2267155 110051690 > 0 3.11e2 48.54 > ip4-rewrite active 2267155 110051690 > 0 6.75e2 48.54 > unix-epoll-input polling 97712 0 > 0 1.68e3 0.00 > > > ************************************************************************** > ************************************************************************** > ** > > (64 byte udp packets (16K flow)): > > Thread 1 vpp_wk_0 (lcore 2) > Time 66.3, 10 sec internal node vector rate 0.00 loops/sec 1441090.29 > vector rates in 6.3636e5, out 6.3636e5, drop 6.0355e-2, punt 0.0000e0 > Name State Calls Vectors > Suspends Clocks Vectors/Call > TenGigabitEthernet1/0/0-output active 2 2 > 0 2.70e3 1.00 > TenGigabitEthernet1/0/0-tx active 1 1 > 0 4.64e3 1.00 > TenGigabitEthernet1/0/1-output active 168055 42174525 > 0 8.17e1 250.96 > TenGigabitEthernet1/0/1-tx active 168054 42174524 > 0 2.38e2 250.96 > arp-input active 4 6 > 0 4.73e3 1.50 > arp-reply active 4 6 > 0 1.83e4 1.50 > dpdk-input polling 59898328 42174529 > 0 1.44e3 .70 > drop active 4 4 > 0 3.25e3 1.00 > error-drop active 4 4 > 0 3.44e3 1.00 > ethernet-input active 168694 42174529 > 0 1.42e2 250.01 > interface-output active 4 4 > 0 4.36e3 1.00 > ip4-input-no-checksum active 168053 42174523 > 0 1.89e2 250.96 > ip4-load-balance active 168053 42174523 > 0 1.69e2 250.96 > ip4-lookup active 168053 42174523 > 0 3.07e2 250.96 > ip4-rewrite active 168053 42174523 > 0 3.18e2 250.96 > unix-epoll-input polling 58438 0 > 0 1.51e3 0.00 > --------------- > Thread 2 vpp_wk_1 (lcore 3) > Time 66.3, 10 sec internal node vector rate 0.00 loops/sec 1461080.25 > vector rates in 6.3736e5, out 6.3736e5, drop 0.0000e0, punt 0.0000e0 > Name State Calls Vectors > Suspends Clocks Vectors/Call > TenGigabitEthernet1/0/1-output active 165195 42240533 > 0 8.14e1 255.70 > TenGigabitEthernet1/0/1-tx active 165195 42240533 > 0 2.38e2 255.70 > dpdk-input polling 59892397 42240533 > 0 1.44e3 .71 > ethernet-input active 165407 42240533 > 0 1.41e2 255.37 > ip4-input-no-checksum active 165195 42240533 > 0 1.89e2 255.70 > ip4-load-balance active 165195 42240533 > 0 1.68e2 255.70 > ip4-lookup active 165195 42240533 > 0 3.07e2 255.70 > ip4-rewrite active 165195 42240533 > 0 3.18e2 255.70 > unix-epoll-input polling 58432 0 > 0 1.52e3 0.00 > --------------- > Thread 3 vpp_wk_2 (lcore 4) > Time 66.3, 10 sec internal node vector rate 0.00 loops/sec 1476022.77 > vector rates in 6.2799e5, out 6.2799e5, drop 0.0000e0, punt 0.0000e0 > Name State Calls Vectors > Suspends Clocks Vectors/Call > TenGigabitEthernet1/0/1-output active 176879 41619639 > 0 8.35e1 235.30 > TenGigabitEthernet1/0/1-tx active 176879 41619639 > 0 2.41e2 235.30 > dpdk-input polling 59702285 41619639 > 0 1.45e3 .69 > ethernet-input active 182644 41619639 > 0 1.49e2 227.87 > ip4-input-no-checksum active 176879 41619639 > 0 1.92e2 235.30 > ip4-load-balance active 176879 41619639 > 0 1.70e2 235.30 > ip4-lookup active 176879 41619639 > 0 3.09e2 235.30 > ip4-rewrite active 176879 41619639 > 0 3.20e2 235.30 > unix-epoll-input polling 58247 0 > 0 1.49e3 0.00 Best ben
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18399): https://lists.fd.io/g/vpp-dev/message/18399 Mute This Topic: https://lists.fd.io/mt/79048468/21656 Mute #dpdk:https://lists.fd.io/g/vpp-dev/mutehashtag/dpdk Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-