blob: 0daa57f7035aec455b6effeff69bf57886732559 [file] [log] [blame]
.. _trex1:
Using VPP with TRex Mixed Traffic Templates
===========================================
In this example, a more complicated traffic with delay profile on *net2s22c05* is
generated using the traffic configuration file "avl/sfr_delay_10_1g.yaml":
.. code-block:: console
NET2S22C05$ sudo ./t-rex-64 -f avl/sfr_delay_10_1g.yaml -c 2 -m 20 -d 100 -l 1000
summary stats
--------------
Total-pkt-drop : 43309 pkts
Total-tx-bytes : 251062132504 bytes
Total-tx-sw-bytes : 21426636 bytes
Total-rx-bytes : 251040139922 byte
Total-tx-pkt : 430598064 pkts
Total-rx-pkt : 430554755 pkts
Total-sw-tx-pkt : 324646 pkts
Total-sw-err : 0 pkts
Total ARP sent : 5 pkts
Total ARP received : 4 pkts
maximum-latency : 1278 usec
average-latency : 9 usec
latency-any-error : ERROR
On *csp2s22c03*, use the VCC CLI command show run to display the graph runtime statistics.
Observe that the average vector per node is 10.69 and 14.47:
.. figure:: /_images/build-a-fast-network-stack-terminal-3.png