9ad39c026c
This patch refactors the VPP sphinx docs in order to make it easier to consume for external readers as well as VPP developers. It also makes sphinx the single source of documentation, which simplifies maintenance and operation. Most important updates are: - reformat the existing documentation as rst - split RELEASE.md and move it into separate rst files - remove section 'events' - remove section 'archive' - remove section 'related projects' - remove section 'feature by release' - remove section 'Various links' - make (Configuration reference, CLI docs, developer docs) top level items in the list - move 'Use Cases' as part of 'About VPP' - move 'Troubleshooting' as part of 'Getting Started' - move test framework docs into 'Developer Documentation' - add a 'Contributing' section for gerrit, docs and other contributer related infos - deprecate doxygen and test-docs targets - redirect the "make doxygen" target to "make docs" Type: refactor Change-Id: I552a5645d5b7964d547f99b1336e2ac24e7c209f Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com> Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
33 lines
1.1 KiB
ReStructuredText
33 lines
1.1 KiB
ReStructuredText
.. _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
|