Hello everyone,

I'm trying to test the performance of Multicore at VPP,
The Topology of test is simple,
   TG - DUT - TG

- The Specification of DTU -
CPU   Intel(R) Xeon(R) CPU E5-2699A v4 @ 2.40GHz
NIC   XL710 40GbE QSFP+
Linux version   Ubuntu 16.04.3 LTS
VPP Verion  v18.07.1-release
DPDK Version  DPDK 18.05.0

test Traffic  Bi-direction traffic(40Gbps)
-----------------------------

There is no problem until the 2Core/port.
It will be a bug, scaleout from 3Core/port.
The One port is not working.

Please look at the example below.
In terms of "show interface", the RX packets count of one port is not
counted.
but,
In term of "show hardware-interfaces",
All ports receive packets.(RX packets count is counted.)
Then TX packets count is half of the rx packets count.
Do you have a solution to this problem?

example 4Core/port>>
<interface status>
vpp# show interface rx-placement
Thread 1 (vpp_wk_0):
  node dpdk-input:
    FortyGigabitEthernet3/0/0 queue 0 (polling)
Thread 2 (vpp_wk_1):
  node dpdk-input:
    FortyGigabitEthernet3/0/0 queue 1 (polling)
Thread 3 (vpp_wk_2):
  node dpdk-input:
    FortyGigabitEthernet3/0/0 queue 2 (polling)
Thread 4 (vpp_wk_3):
  node dpdk-input:
    FortyGigabitEthernet3/0/0 queue 3 (polling)
Thread 5 (vpp_wk_4):
  node dpdk-input:
    FortyGigabitEthernet4/0/0 queue 0 (polling)
Thread 6 (vpp_wk_5):
  node dpdk-input:
    FortyGigabitEthernet4/0/0 queue 1 (polling)
Thread 7 (vpp_wk_6):
  node dpdk-input:
    FortyGigabitEthernet4/0/0 queue 2 (polling)
Thread 8 (vpp_wk_7):
  node dpdk-input:
    FortyGigabitEthernet4/0/0 queue 3 (polling)
vpp#

<interface statics>
vpp# show interface
              Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
Counter          Count
FortyGigabitEthernet3/0/0         1      up          9000/0/0/0     rx
packets                  4060
                                                                    rx
bytes                  503376
                                                                    tx
packets           41944643369
                                                                    tx
bytes           5201135777674

drops                          4

ip4                         4059

rx-no-buf          1128129034176

rx-miss               3251542862
FortyGigabitEthernet4/0/0         2      up          9000/0/0/0     rx
packets           83904541699
                                                                    rx
bytes          10404163170612
                                                                    tx
packets           41954781733
                                                                    tx
bytes           5202392934810

drops                    5120655

ip4                  83904541698

rx-no-buf           486471833920

rx-miss                951486596
local0                            0     down          0/0/0/0
vpp#

<Hardwere-interface statics>
vpp# show hardware-interfaces
              Name                Idx   Link  Hardware
FortyGigabitEthernet3/0/0          1     up   FortyGigabitEthernet3/0/0
  Ethernet address 3c:fd:fe:9f:ca:a0
  Intel X710/XL710 Family
    carrier up full duplex speed 40000 mtu 9202
    flags: admin-up pmd maybe-multiseg tx-offload intel-phdr-cksum
    rx queues 4, rx desc 1024, tx queues 21, tx desc 1024
    cpu socket 0
    tx frames ok                                 41944643369
    tx bytes ok                                5201135777692
    rx frames ok                                 81604382684
    rx bytes ok                               10522134767640
    rx missed                                     3251542862
    rx no bufs                                 1607594119200
    extended stats:
      rx good packets                            81604382684
      tx good packets                            41944643369
      rx good bytes                           10522134767640
      tx good bytes                            5201135777692
      rx missed errors                            3251542862
      rx mbuf allocation errors                1607594119200
      rx unicast packets                         84855925546
      rx unknown protocol packets                 3251546922
      tx unicast packets                         41944643368
      tx broadcast packets                                 1
      rx size 64 packets                                   1
      rx size 128 to 255 packets                 84855925545
      tx size 64 packets                                   1
      tx size 65 to 127 packets                          293
      tx size 128 to 255 packets                 41944643368
FortyGigabitEthernet4/0/0          2     up   FortyGigabitEthernet4/0/0
  Ethernet address 3c:fd:fe:9f:ca:58
  Intel X710/XL710 Family
    carrier up full duplex speed 40000 mtu 9202
    flags: admin-up pmd maybe-multiseg tx-offload intel-phdr-cksum
    rx queues 4, rx desc 1024, tx queues 21, tx desc 1024
    cpu socket 0
    tx frames ok                                 41954781733
    tx bytes ok                                5202392934828
    rx frames ok                                 83904541699
    rx bytes ok                               10522147508516
    rx missed                                      951486596
    rx no bufs                                  864158443136
    extended stats:
      rx good packets                            83904541699
      tx good packets                            41954781733
      rx good bytes                           10522147508516
      tx good bytes                            5202392934828
      rx missed errors                             951486596
      rx mbuf allocation errors                 864158443136
      rx unicast packets                         84856028295
      rx unknown protocol packets                 3251649671
      tx unicast packets                         41954781732
      tx broadcast packets                                 1
      rx size 64 packets                                   1
      rx size 128 to 255 packets                 84856028294
      tx size 64 packets                                   1
      tx size 65 to 127 packets                          293
      tx size 128 to 255 packets                 41954781732
local0                             0    down  local0
  local
vpp#

Regarts,

Kyunghwan Kim
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11347): https://lists.fd.io/g/vpp-dev/message/11347
Mute This Topic: https://lists.fd.io/mt/28276317/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to