Trex capture shows all packets but stream stats is not counting all

79 views
Skip to first unread message

chris...@gmail.com

unread,
Aug 9, 2024, 9:06:36 AM8/9/24
to TRex Traffic Generator
Hi All , 

I am sending gtpu traffic from trex to DUT  and i am receiving back all packets in trex capture but stats doesn't cout all of them .Looks like stats stops counting it as a soon as stream stops .Some packets have come little late which stats doesn't count.Can someone help me with the solution here ? Does this need a code change in trex ?


Trex version: 2.90
Trex cfg.yaml 
- port_limit: 2
  version   : 2
  #c         : 3
  interfaces: ['test', 'dummy']
  stack     : linux_based
  low_end   : true
  low_end_core: 10


trex(service)>stats -s
Streams Statistics

  PG ID    |         2
-----------+------------------
Tx pps     |             0 pps
Tx bps L2  |          0.01 bps
Tx bps L1  |          0.01 bps
---        |
Rx pps     |             0 pps
Rx bps     |          0.01 bps
----       |
opackets   |              3200
ipackets   |              3181

obytes     |           3065600
ibytes     |           3047398
-----      |
opackets   |         3.2 Kpkts
ipackets   |        3.18 Kpkts
obytes     |           3.07 MB
ibytes     |           3.05 MB

trex(service)>

Capture on trex : All 3200 received

chris...@gmail.com

unread,
Aug 12, 2024, 6:05:14 AM8/12/24
to TRex Traffic Generator
Hi , 
Can someone please help understand the logic behind trex stats? This will help us in figuring out if its an issue with our setup or something needs to be enhanced in Trex.

Thanks,
Chris

chris...@gmail.com

unread,
Aug 28, 2024, 8:38:11 AM8/28/24
to TRex Traffic Generator
Hi All , 

Can someone please help me with some pointers for debugging this issue ? I am currently blocked due to this .

Thanks,
Chris

Reply all
Reply to author
Forward
0 new messages