1 # Getting Started with 'vsperf'
5 Follow the [installation instructions] to install.
9 ## Configure the `./conf/10_custom.conf` file
11 The supplied `10_custom.conf` file must be modified, as it contains
12 configuration items for which there are no reasonable default values.
14 The configuration items that can be added is not limited to the initial
15 contents. Any configuration item mentioned in any .conf file in `./conf`
16 directory can be added and that item will be overridden by the custom
20 ## Using a custom settings file
22 Alternatively a custom settings file can be passed to `vsperf` via the
23 `--conf-file` argument.
26 ./vsperf --conf-file <path_to_settings_py> ...
29 Note that configuration passed in via the environment (`--load-env`) or via
30 another command line argument will override both the default and your custom
31 configuration files. This "priority hierarchy" can be described like so (1 =
34 1. Command line arguments
35 2. Environment variables
36 3. Configuration file(s)
42 To list the available tests:
48 To run a group of tests, for example all tests with a name containing
52 ./vsperf --conf-file=user_settings.py --tests="RFC2544"
58 ./vsperf --conf-file=user_settings.py
61 Some tests allow for configurable parameters, including test duration (in
62 seconds) as well as packet sizes (in bytes).
65 ./vsperf --conf-file user_settings.py
67 --test-param "rfc2544_duration=10;packet_sizes=128"
70 For all available options, check out the help dialog:
78 [installation instructions]: installation.md