3 Using VPP with TRex Mixed Traffic Templates
4 ===========================================
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":
9 .. code-block:: console
11 NET2S22C05$ sudo ./t-rex-64 -f avl/sfr_delay_10_1g.yaml -c 2 -m 20 -d 100 -l 1000
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
19 Total-tx-pkt : 430598064 pkts
20 Total-rx-pkt : 430554755 pkts
21 Total-sw-tx-pkt : 324646 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
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:
32 .. figure:: /_images/build-a-fast-network-stack-terminal-3.png
37 This tutorial showed how to download, compile, and install the VPP binary on an
38 IntelĀ® Architecture platform. Examples of /etc/sysctl.d/80-vpp.conf and
39 /etc/vpp/startup.conf/startup.conf configuration files were provided to get the
40 user up and running with VPP. The tutorial also illustrated how to detect and bind
41 the network interfaces to a DPDK-compatible driver. You can use the VPP CLI to assign
42 IP addresses to these interfaces and bring them up. Finally, four examples using iperf3
43 and TRex were included, to show how VPP processes packets in batches.