Hi ,
I am sending custom traffic from trex to DUT .On receiving back the traffic from DUT,capture shows all the packets on trex but the latency stats is dropping 4 packets.
How can i debug further to figure out why these 4 packets were dropped in latency stats?
Trex version used : v2.65
- port_limit: 2
version : 2
c : 1
interfaces: ['00:09.0', 'dummy']
stack : linux_based
Namespace used:
trex(service)>ns show-node --mac 00:00:00:6d:b0:2d -p 0
Setting port 0 in with namespace configuration [SUCCESS]
wait_for_async_results [SUCCESS]
{u'nodes': [{u'ether': {u'src': u'00:00:00:6d:b0:2d'},
u'ipv4': {u'dst': u'122.20.20.10', u'src': u'122.20.20.30'},
u'ipv6': {u'enabled': True, u'src': u'2122::2300'},
u'is_bird': False,
u'linux-ns': u'trex-a-0-1e',
u'linux-veth-external': u'trex-a-0-1e-T',
u'linux-veth-internal': u'trex-a-0-1e-L',
u'vlan': {u'tags': [1231], u'tpids': []}}]}
trex(service)>
Packet sent :
A custom header over ethernet.
stream = STLStream(packet = STLPktBuilder(pkt = packet, vm = vm),stream_id = 172,name = 'n_uplane_ul_122',mode =STLTXSingleBurst(total_pkts = 100,bps_L1 = 10000000.0),flow_stats = STLFlowLatencyStats(pg_id = 172))
trex(service)>stats --lh
Latency Histogram
PG ID | 172
-------------+---------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 | 96
- Counters - |
dropped | 4
dup | 0
out_of_order | 0
seq_too_high | 1
seq_too_low | 0
trex(service)>stats -s
Streams Statistics
PG ID | 172
-----------+------------------
Tx pps | 0 pps
Tx bps L2 | 0 bps
Tx bps L1 | 0 bps
--- |
Rx pps | 0 pps
Rx bps | 0 bps
---- |
opackets | 100
ipackets | 96
obytes | 150000
ibytes | 141312
----- |
opackets | 100 pkts
ipackets | 96 pkts
obytes | 150 KB
ibytes | 141.31 KB
trex(service)>stats
Global Statistitcs
connection : localhost, Port 4501 total_tx_L2 : 2.23 Kb/sec
version : STL @ v2.64 total_tx_L1 : 2.26 Kb/sec
cpu_util. : 0.01% @ 1 cores (1 per dual port) total_rx : 2.19 Kb/sec
rx_cpu_util. : 0.0% / 0.19 pkt/sec total_pps : 0.19 pkt/sec
async_util. : 0.08% / 1.25 KB/sec drop_rate : 0 b/sec
total_cps. : 0 cps/sec queue_full : 0 pkts
Port Statistics
port | 0
-----------+------------------
owner | root
link | UP
state | IDLE
speed | 10 Gb/s
CPU util. | 0.0%
-- |
Tx bps L2 | 2.23 Kbps
Tx bps L1 | 2.26 Kbps
Tx pps | 0.19 pps
Line Util. | 0 %
--- |
Rx bps | 2.19 Kbps
Rx pps | 0.19 pps
---- |
opackets | 100
ipackets | 100
obytes | 150000
ibytes | 147200
tx-pkts | 100 pkts
rx-pkts | 100 pkts
tx-bytes | 150 KB
rx-bytes | 147.2 KB
----- |
oerrors | 0
ierrors | 0
The port stats and the capture shows all the 100 packets received wherein the latency stats drops 4 packets .How can i debug this further ?
Thanks,
Chris