You should look at VPP:
 - are there any error counters increasing:
~# vppctl show err
 - is VPP cpu-bound:
~# vppctl clear run
~# vppctl show run

Best
ben

> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Merve
> Sent: mardi 10 novembre 2020 16:37
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Packet Generation with trex- Sending VPP
> 
> Hi everyone,
> 
> I generate packages with the Trex tool and send them to Vpp, but the
> number of packages I see in VPP is much less than that sent. Anyone have
> any suggestions on this topic?
> 
> Trex:
> 
> Per port stats table
>       ports |               0 |               1
>  -------------------------------------------------------------------------
> ----------------
>    opackets |       218175928 |       274757392
>      obytes |     61817310862 |    224941226070
>    ipackets |       217748905 |           14156
>      ibytes |     61673972630 |          934296
>     ierrors |               0 |               0
>     oerrors |               0 |               0
>       Tx Bw |       3.05 Gbps |       9.73 Gbps
> 
> -Global stats enabled
>  Cpu Utilization : 88.9  %  1.6 Gb/core
>  Platform_factor : 1.0
>  Total-Tx        :      12.78 Gbps
>  Total-Rx        :       2.98 Gbps
>  Total-PPS       :       2.75 Mpps
>  Total-CPS       :      52.89 Kcps
> 
>  Expected-PPS    :      12.91 Mpps
>  Expected-CPS    :     247.36 Kcps
>  Expected-BPS    :      60.25 Gbps
> 
>  Active-flows    :   241345  Clients :      504   Socket-util : 0.8963 %
>  Open-flows      : 11008918  Servers :     5616   Socket :   284497
> Socket/Clients :  564.5
>  Total_queue_full : 2430913857
>  drop-rate       :       9.79 Gbps
>  current time    : 194.9 sec
>  test duration   : 0.0 sec
> 
> -Latency stats enabled
>  Cpu Utilization : 0.3 %
>  if|   tx_ok , rx_ok  , rx check ,error,       latency (usec) ,    Jitter
> max window
>    |         ,        ,          ,     ,   average   ,   max  ,    (usec)
>  -------------------------------------------------------------------------
> ---------------------------------------
>  0 |   184525,  184082,         0,   92,        186  ,  172472,      77
> |  477  441  542  495  479  172472  3553  536  544  533  514  428  495
>  1 |   184525,      26,         0,14131,      11770  ,       0,     849
> |  0  0  0  0  0  0  0  0  0  0  0  0  0
>  *** TRex is shutting down - cause: 'CTRL + C detected'
>  latency daemon has stopped
>  All cores stopped !!
> **************************************************************************
> ****************
> vpp:
> 
> DBGvpp# show int
>               Name               Idx    State  MTU (L3/IP4/IP6/MPLS)
> Counter          Count
> TenGigabitEthernet1/0/0           1      up          9000/0/0/0     rx
> packets              20492976
>                                                                     rx
> bytes             16539337003
>                                                                     tx
> packets              20492738
>                                                                     tx
> bytes             16252622227
>                                                                     drops
> 238
>                                                                     ip4
> 20492974
>                                                                     rx-
> miss                254406215
>                                                                     tx-
> error                       1
> TenGigabitEthernet1/0/1           2      up          9000/0/0/0     rx
> packets             217851963
>                                                                     rx
> bytes             60835065339
>                                                                     tx
> packets             217851960
>                                                                     tx
> bytes             60835065117
>                                                                     drops
> 5
>                                                                     ip4
> 217851960
>                                                                     rx-
> miss                   426572
>                                                                     tx-
> error                       1
> local0                            0     down          0/0/0/0       drops
> 2
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17978): https://lists.fd.io/g/vpp-dev/message/17978
Mute This Topic: https://lists.fd.io/mt/78161706/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