Hi,
I am initiating T-Rex with following command:
sudo ./t-rex-64 --cfg /etc/trex_cfg_lsn.yaml -f cap2/lsn_traffic.yaml -c 1 -l 1000 -d 10 -m 30 --learn-mode 1
And following is output:
he ports are bound/configured.
Starting TRex v2.53 please wait ...
set driver name net_ixgbe
driver capability : TCP_UDP_OFFLOAD TSO
set dpdk queues mode to DROP_QUE_FILTER
Number of ports found: 2
zmq publisher at: tcp://*:4500
wait 1 sec .
port : 0
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
port : 1
------------
link : link : Link Up - speed 10000 Mbps - full-duplex
promiscuous : 0
number of ports : 2
max cores for 2 ports : 1
tx queues per port : 3
no client generator pool configured, using default pool
no server generator pool configured, using default pool
-------------------------------
RX core uses TX queue number 2 on all ports
core, c-port, c-queue, s-port, s-queue, lat-queue
------------------------------------------
1 0 0 1 0 0
-------------------------------
no client generator pool configured, using default pool
no server generator pool configured, using default pool
-- loading cap file avl/delay_10_http_browsing_0.pcap
^[[2J^[[2H
-Per port stats table
ports | 0 | 1
-----------------------------------------------------------------------------------------
opackets | 13503 | 21596
obytes | 1136635 | 30354620
ipackets | 21524 | 14646
ibytes | 30246856 | 1446653
ierrors | 0 | 0
oerrors | 0 | 0
Tx Bw | 0.00 bps | 0.00 bps
-Global stats enabled
Cpu Utilization : 0.0 %
Platform_factor : 1.0
Total-Rx : 0.00 bps NAT aged flow id: 8
Total-PPS : 0.00 pps Total NAT active: 35 (4 waiting for syn)
Total-CPS : 0.00 cps Total NAT opened: 1185
Expected-PPS : 111.00 Kpps
Expected-CPS : 3.00 Kcps
Expected-BPS : 829.75 Mbps
Active-flows : 396 Clients : 1 Socket-util : 0.6288 %
Open-flows : 1185 Servers : 65535 Socket : 396 Socket/Clients : 396.0
drop-rate : 0.00 bps
current time : 2.7 sec
test duration : 7.3 sec
-Latency stats enabled
Cpu Utilization : 0.0 %
if| tx_ok , rx_ok , rx check ,error, latency (usec) , Jitter max window
| , , , , average , max , (usec)
----------------------------------------------------------------------------------------------------------------
0 | 506, 505, 0, 0, 32 , 0, 44 | 0 0 0 0 0 0 0 0 0 0 0 0 0
1 | 505, 506, 0, 0, 27 , 0, 22 | 0 0 0 0 0 0 0 0 0 0 0 0 0
^[[2J^[[2H
-Per port stats table
ports | 0 | 1
-----------------------------------------------------------------------------------------
opackets | 35179 | 56912
obytes | 2892325 | 80985966
ipackets | 56630 | 37767
ibytes | 80568406 | 3605198
ierrors | 0 | 0
oerrors | 0 | 0
Tx Bw | 0.00 bps | 0.00 bps
-Global stats enabled
Cpu Utilization : 0.7 % 0.0 Gb/core
Platform_factor : 1.0
Total-Tx : 0.00 bps NAT time out : 4 (4 in wait for syn+ack)
Total-Rx : 0.00 bps NAT aged flow id: 17
Total-PPS : 0.00 pps Total NAT active: 40 (6 waiting for syn)
Total-CPS : 0.00 cps Total NAT opened: 2701
Expected-PPS : 111.00 Kpps
Expected-CPS : 3.00 Kcps
Expected-BPS : 829.75 Mbps
We see multiple global stats output.Why so much time this output comes.How much traffic is the command triggering with following as traffic file:
- duration : 0.1
generator :
distribution : "seq"
clients_start : "16.0.0.1"
clients_end : "16.0.0.1"
servers_start : "48.0.0.1"
servers_end : "48.0.255.255"
clients_per_gb : 201
min_clients : 101
dual_port_mask : "1.0.0.0"
tcp_aging : 0
udp_aging : 0
cap_ipg : true
cap_info :
- name: avl/delay_10_http_browsing_0.pcap
cps : 100
ipg : 10000
rtt : 10000
w : 1