jdenisco | 1511a4e | 2018-10-30 08:46:02 -0400 | [diff] [blame] | 1 | .. _trex1: |
| 2 | |
| 3 | Using VPP with TRex Mixed Traffic Templates |
| 4 | =========================================== |
| 5 | |
| 6 | In this example, a more complicated traffic with delay profile on *net2s22c05* is |
| 7 | generated using the traffic configuration file "avl/sfr_delay_10_1g.yaml": |
| 8 | |
| 9 | .. code-block:: console |
| 10 | |
| 11 | NET2S22C05$ sudo ./t-rex-64 -f avl/sfr_delay_10_1g.yaml -c 2 -m 20 -d 100 -l 1000 |
| 12 | summary stats |
| 13 | -------------- |
| 14 | Total-pkt-drop : 43309 pkts |
| 15 | Total-tx-bytes : 251062132504 bytes |
| 16 | Total-tx-sw-bytes : 21426636 bytes |
| 17 | Total-rx-bytes : 251040139922 byte |
| 18 | |
| 19 | Total-tx-pkt : 430598064 pkts |
| 20 | Total-rx-pkt : 430554755 pkts |
| 21 | Total-sw-tx-pkt : 324646 pkts |
| 22 | Total-sw-err : 0 pkts |
| 23 | Total ARP sent : 5 pkts |
| 24 | Total ARP received : 4 pkts |
| 25 | maximum-latency : 1278 usec |
| 26 | average-latency : 9 usec |
| 27 | latency-any-error : ERROR |
| 28 | |
| 29 | On *csp2s22c03*, use the VCC CLI command show run to display the graph runtime statistics. |
| 30 | Observe that the average vector per node is 10.69 and 14.47: |
| 31 | |
| 32 | .. figure:: /_images/build-a-fast-network-stack-terminal-3.png |