aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/vpp_performance_tests/test_environment.rst
blob: b71f83d9e61a587fc772b551159025ea8ba8a2ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
.. raw:: latex

    \clearpage

.. _vpp_test_environment:

.. include:: ../introduction/environment/intro.rst

.. include:: ../introduction/environment/changes_vpp.rst

.. include:: ../introduction/environment/sut_conf_1.rst


DUT Settings - VPP
------------------

VPP Version
~~~~~~~~~~~

|vpp-release|

VPP Compile Parameters
~~~~~~~~~~~~~~~~~~~~~~

`FD.io VPP compile job`_

VPP Install Parameters
~~~~~~~~~~~~~~~~~~~~~~

::

    $ dpkg -i --force-all *vpp*

VPP Startup Configuration
~~~~~~~~~~~~~~~~~~~~~~~~~

VPP startup configuration vary per test case, with different settings
for `$$CORELIST_WORKERS`, `$$NUM_RX_QUEUES`, `$$UIO_DRIVER`, and
`$$NO_MULTI_SEG` parameter. List of plugins to enable is driven by test
requirements. Default template is provided below:

::

    ip
    {
      heap-size 4G
    }
    statseg
    {
      size 4G
      per-node-counters on
    }
    unix
    {
      cli-listen /run/vpp/cli.sock
      log /tmp/vpe.log
      nodaemon
      full-coredump
    }
    socksvr {
      socket-name /run/vpp/api.sock
    }
    ip6
    {
      heap-size 4G
      hash-buckets 2000000
    }
    heapsize 4G
    plugins
    {
      plugin default
      {
        disable
      }
      plugin <$$test_requirement>_plugin.so
      {
        enable
      }
    }
    cpu
    {
      corelist-workers $$CORELIST_WORKERS
      main-core 1
    }
    buffers
    {
      buffers-per-numa 215040
    }

    # Below: in case of dpdk based drivers (vfio-pci) only
    dpdk
    {
      uio-driver $$UIO_DRIVER
      $$NO_MULTI_SEG
      log-level debug
      dev default
      {
        num-rx-queues $$NUM_RX_QUEUES
      }
      no-tx-checksum-offload
      dev $$DEV_1
      dev $$DEV_2
    }

Description of VPP startup settings used in CSIT is provided in
:ref:`test_methodology`.

.. include:: ../introduction/environment/tg.rst

.. include:: ../introduction/environment/pre_test_server_calib.rst

.. include:: ../introduction/environment/sut_calib_icx.rst
.. include:: ../introduction/environment/sut_meltspec_icx.rst

.. include:: ../introduction/environment/sut_calib_clx.rst
.. include:: ../introduction/environment/sut_meltspec_clx.rst

.. include:: ../introduction/environment/sut_calib_zn2.rst
.. include:: ../introduction/environment/sut_meltspec_zn2.rst

.. include:: ../introduction/environment/sut_calib_dnv.rst
.. include:: ../introduction/environment/sut_meltspec_dnv.rst

.. include:: ../introduction/environment/sut_calib_snr.rst
.. include:: ../introduction/environment/sut_meltspec_snr.rst

.. include:: ../introduction/environment/sut_calib_alt.rst
.. include:: ../introduction/environment/sut_meltspec_alt.rst

.. include:: ../introduction/environment/sut_calib_tsh.rst
.. include:: ../introduction/environment/sut_meltspec_tsh.rst

.. include:: ../introduction/environment/sut_calib_tx2.rst
.. include:: ../introduction/environment/sut_meltspec_tx2.rst