vswitchperf.git
7 years agoyardstick: CLI params support for yardstick TCs 59/24359/3
Martin Klozik [Thu, 10 Nov 2016 15:29:45 +0000 (15:29 +0000)]
yardstick: CLI params support for yardstick TCs

Vswitchperf specific class in yardstick was updated to reflect
new functionality of --test-params. These changes have impact
on vsperf documentation and yardstick samples.
As part of this fix following changes were made:
* trafficgen mode can be executed with default configuration
* yardstick specific TC samples were updated
* dummy traffic generator was enhanced to support back2back
* dummy traffic generator was enhanced to accept traffic
results from configuration

JIRA: VSPERF-422
JIRA: VSPERF-205

Change-Id: Ibeaa6ef46bde453e3ca5dee6e4568fc8c3853521
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: <sridhar.rao@spirent.com>
7 years agoMerge "Xena_cont_accuracy: Modify continuous from duration to packet limit"
Martin Klozik [Wed, 23 Nov 2016 09:19:21 +0000 (09:19 +0000)]
Merge "Xena_cont_accuracy: Modify continuous from duration to packet limit"

7 years agoMerge "ci: Use HTML report instead of PDF"
Martin Klozik [Wed, 23 Nov 2016 09:18:26 +0000 (09:18 +0000)]
Merge "ci: Use HTML report instead of PDF"

7 years agoMerge "Rebase to fuel 10.0 for fuel@opnfv D release"
Maryam Tahhan [Wed, 23 Nov 2016 09:04:05 +0000 (09:04 +0000)]
Merge "Rebase to fuel 10.0 for fuel@opnfv D release"

7 years agoMerge "Rhel_scl_python: Modify python build in place to scl usage"
Martin Klozik [Wed, 23 Nov 2016 07:15:12 +0000 (07:15 +0000)]
Merge "Rhel_scl_python: Modify python build in place to scl usage"

7 years agoci: Use HTML report instead of PDF 69/24669/1
Martin Klozik [Tue, 22 Nov 2016 12:32:26 +0000 (12:32 +0000)]
ci: Use HTML report instead of PDF

After the switch to opnfvdocs script for documentation
build, the pdf version of documentation is not generated.
HTML report should be stored inside artifactory instead.

JIRA: VSPERF-324

Change-Id: I42f918721264959ba7c94223204d83ce1fe8ad60
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Otto Sabart <osabart@redhat.com>
7 years agoMerge "report: [fix] remove upper border of a process table"
Martin Klozik [Tue, 22 Nov 2016 12:24:16 +0000 (12:24 +0000)]
Merge "report: [fix] remove upper border of a process table"

7 years agoXena_cont_accuracy: Modify continuous from duration to packet limit 27/24627/1
Christian Trautman [Mon, 21 Nov 2016 14:28:41 +0000 (09:28 -0500)]
Xena_cont_accuracy: Modify continuous from duration to packet limit

First of a few patches planned to help increase Xena continuous
traffic accuracy. Modifies port limits to packet calculated limits
versus time based limits which can be wildly inaccurate. Also
modifies some port settings to be more inline with how rfc2544
settings are applied on Xena. Increased time delay by one
second to allow packets to finish transmitting before stat
collection occurs.

JIRA: VSPerf-423

Change-Id: I214b13d743a84a0733e885ccfc5bdd57812d7104
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoci: Decrease hugepages size for VERIFY&MERGE jobs 23/24623/1
Martin Klozik [Mon, 21 Nov 2016 13:59:09 +0000 (13:59 +0000)]
ci: Decrease hugepages size for VERIFY&MERGE jobs

VSPERF by default requires allocation of hugepages with total
size of 10GB. However for MERGE and VERIFY jobs less memory is
required and default size of 10GB can cause issues. Thus amount
of memory was limited and other minor enhancements were introduced:
* sysstat system package is installed at nodes running VERIFY
  and MERGE jobs
* WHITELIST_NICS was set to empty list by default to avoid
  automatic bind of NICs to DPDK. Old default value could
  cut off network connection to DUT.
* imports were fixed at both integration.py and testcase.py

JIRA: VSPERF-391

Change-Id: Ic07d68f4591ae697c1b8edeae6c0cffe47c065ce
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
8 years agoRhel_scl_python: Modify python build in place to scl usage 27/24327/2
Christian Trautman [Mon, 14 Nov 2016 15:20:01 +0000 (10:20 -0500)]
Rhel_scl_python: Modify python build in place to scl usage

Previously Rhel install script would build python 3 in place using
downloaded bits. It was suggested to change this to use scl method
instead. This patch modifies the build in place to use scl method
as per Centos scripts.

JIRA: VSPERF-258

Change-Id: I5b6d7b8fd7f96a315d04e1ccdfd381908e0d1ad0
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoINFO: modified committer list 31/24231/1
Maryam Tahhan [Fri, 11 Nov 2016 10:05:35 +0000 (10:05 +0000)]
INFO: modified committer list

Change-Id: I709dd316b1c53fa632c1a6ff192b13d1756669d0
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoMerge "cli: Modify configuration via CLI"
Martin Klozik [Fri, 11 Nov 2016 08:04:54 +0000 (08:04 +0000)]
Merge "cli: Modify configuration via CLI"

8 years agocli: Modify configuration via CLI 93/23893/6
Martin Klozik [Mon, 24 Oct 2016 11:37:26 +0000 (12:37 +0100)]
cli: Modify configuration via CLI

In the past, only a few configuration parameters could be
modified via --test-params CLI argument and it was not easy
to find out their complete list.
This patch adds support for generic modification of any
configuration parameter via CLI argument --test-params
or by "Parameters" section of testcase definition.
Thus it is possible to customize a vsperf configuration
environment per testcase or for each vsperf execution.
Old CLI parameters duration, pkt_sizes, rfc2544_tests
and rfc2889_trials were renamed to TRAFFICGEN_DURATION,
TRAFFICGEN_PKT_SIZES, TRAFFICGEN_RFC2544_TESTS and
TRAFFICGEN_RFC2889_TRIALS to be consistent with
other configuration parameters.

JIRA: VSPERF-375

Change-Id: I50a1f4ff7250d754aa8af0295a9c7c1be8151175
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: <sridhar.rao@spirent.com>
8 years agobugfix: Trafficgen Ixia does not work 77/23977/1
Martin Klozik [Thu, 3 Nov 2016 15:57:10 +0000 (15:57 +0000)]
bugfix: Trafficgen Ixia does not work

IXIA traffic generator can be controlled by two different
VSPERF's wrappers IxNet (preferred) and Ixia (legacy and
outdated). It has been found, that Ixia wrapper can't be used
because of missing "packetsize" traffic item. Also only
IXIA OS 6.60 was supported and never IXIA OS versions
were not working. Both limitations were fixed.
Also reported results were fixed to show correct values
for MBPS items.

JIRA: VSPERF-417

Change-Id: I191aa9fee2683877ce373b6aa7cd1c72e9847568
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Christo Kleu <christo.kleu@netronome.com>
8 years agoteststeps: Generic support of step driven tests 81/22981/4
Martin Klozik [Tue, 11 Oct 2016 11:41:57 +0000 (12:41 +0100)]
teststeps: Generic support of step driven tests

In the past, step driven testcases were supported
only by integration testcases. This patch adds generic
support of TestSteps for both integration and performance
testcases. Step driven test were improved to support
modification of existing deployment. As part of
the patch a refactoring of traffic controllers
were performed. Traffic controllers were modified
to support trafficgen-off and trafficgen-pause
modes in all possible ways of trafficgen invocation.

JIRA: VSPERF-362

Change-Id: Ic8b7a9b0e7165f0a15a52279ed0f0952da9fedb8
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
8 years agoguest_binding: Add dpdk driver binding options for guests 29/23629/1
Christian Trautman [Mon, 24 Oct 2016 14:32:52 +0000 (10:32 -0400)]
guest_binding: Add dpdk driver binding options for guests

Adds uio_pci_generic and vfio_no_iommu options for guest
driver binding. In case of SR-IOV tests with guests attached
and uio_pci_generic is selected the option will be modified
to use igb_uio instead as uio_pci_generic is not supported.

JIRA: VSPERF-397

Change-Id: I56003addacc8bf0d024cce35d41b00dd0baa8cbc
signed-off-by: Christian Trautman <ctrautma@redhat.com>

8 years agoMerge "ci: Enhance verify and merge jobs"
Martin Klozik [Fri, 21 Oct 2016 18:42:18 +0000 (18:42 +0000)]
Merge "ci: Enhance verify and merge jobs"

8 years agoci: Enhance verify and merge jobs 95/23295/4
Martin Klozik [Mon, 17 Oct 2016 13:02:16 +0000 (14:02 +0100)]
ci: Enhance verify and merge jobs

Verify and merge jobs will execute real vsperf TCs,
which won't require neither physical NICs nor traffic
generator. Script ./build-vsperf.sh will take care about
creation, update and activation of python virtual environment.
It will also install required system packages at nodes
running merge and verify jobs.
Additional improvements:
* set of simple sanity checks was added
* two new integration TCs were added; However test with
  VNF is not used now, because it requires a VM image.
* detailed logs are shown in case of failure

JIRA: VSPERF-391

Change-Id: I33e75e762fdc62656de92dc34f0ad7a484623603
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agodoc: fix copy-paste error in Moongen configuration section 03/23303/2
Otto Sabart [Tue, 18 Oct 2016 15:06:17 +0000 (17:06 +0200)]
doc: fix copy-paste error in Moongen configuration section

JIRA: VSPERF-414

Change-Id: I1924c8a0c949695b4ec0699a206b9e39ee2ef724
Signed-off-by: Otto Sabart <osabart@redhat.com>
8 years agoMerge "testpmd: Simplify GUEST's testpmd configuration"
Martin Klozik [Tue, 18 Oct 2016 12:18:27 +0000 (12:18 +0000)]
Merge "testpmd: Simplify GUEST's testpmd configuration"

8 years agotestpmd: Simplify GUEST's testpmd configuration 31/23031/3
Martin Klozik [Wed, 12 Oct 2016 14:35:13 +0000 (15:35 +0100)]
testpmd: Simplify GUEST's testpmd configuration

Testpmd has a lot of parameters and vsperf was able
to modify only a few of them through dedicated GUEST's
specific configuration options. Old configuration
options were replaced by one generic GUEST_TESTPMD_PARAMS,
which allows to modify any of existing testpmd parameters.
Detection of testpmd execution was changed to be independent
on TXQ flags setting.
Documentation was modified to reflect GUEST_TESTPMD change.
Also doc formatting was fixed at several places.

JIRA: VSPERF-380

Change-Id: Ie0bf290320f3b22ef6be6b55ed553235bbcb4aff
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
8 years agolicenses: Dedicated directory for non Apache files 57/23157/2
Martin Klozik [Fri, 14 Oct 2016 07:18:58 +0000 (08:18 +0100)]
licenses: Dedicated directory for non Apache files

All files, which do not comply to Apache 2.0 license,
are moved into dedicated 3rd_party directory. This will
simplify license checks performed on vsperf code.
It is not required to move l2fwd module from its
current location.

JIRA: VSPERF-413

Change-Id: I6b4bd6bb5542e6db9a7ef91ee3f5f2907f93e9b8
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
8 years agoMerge "IETF Draft: Comments from IETF-96"
Maryam Tahhan [Fri, 14 Oct 2016 09:14:56 +0000 (09:14 +0000)]
Merge "IETF Draft: Comments from IETF-96"

8 years agoreport: [fix] remove upper border of a process table 85/23085/1
Otto Sabart [Thu, 13 Oct 2016 09:08:56 +0000 (11:08 +0200)]
report: [fix] remove upper border of a process table

According to Markdown Tables extension specification, there should be no upper
border in the table.

See for example python implementation of Markdown Tables extension [0][1].

[0] https://pythonhosted.org/Markdown/extensions/tables.html
[1] https://michelf.ca/projects/php-markdown/extra/#table

JIRA: VSPERF-411

Change-Id: I2843dbeb4544a1d1fe0a5f1a6b1028ae788a28ee
Signed-off-by: Otto Sabart <osabart@redhat.com>
8 years agovsperf: launch should not depend on current $PWD 33/21033/6
Otto Sabart [Mon, 10 Oct 2016 08:46:19 +0000 (10:46 +0200)]
vsperf: launch should not depend on current $PWD

JIRA: VSPERF-392

Change-Id: I44866b7d3298617003b87b015eb08bf32c4014f7
Signed-off-by: Otto Sabart <osabart@redhat.com>
8 years agoMerge "integration: Test vHost User numa awareness"
Martin Klozik [Tue, 11 Oct 2016 07:30:34 +0000 (07:30 +0000)]
Merge "integration: Test vHost User numa awareness"

8 years agoIETF Draft: Comments from IETF-96 45/22945/1
Al Morton [Mon, 10 Oct 2016 19:46:21 +0000 (15:46 -0400)]
IETF Draft: Comments from IETF-96

JIRA: VSPERF-410

x Ramki on OVS features - the scope of benchmarking does not include
the ever-growing list of OVS features, only the general and
switch-agnostic features will be assessed.

x Justify the length of SOAK tests (with variability allowed),
mention that the goal is stability characterization, not
the typical short term benchmarks of performance.

x Fix the LTD Reference to point to Brahmaputra version
(which is frozen in the release docs)

Change-Id: I2f795cd42e7ec2e06e5cd35bbf0c1f336a5e43ca
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
8 years agoCLI: add Multiqueue params. 23/18423/5
Antonio Fischetti [Thu, 11 Aug 2016 11:59:46 +0000 (12:59 +0100)]
CLI: add Multiqueue params.

This patch implements the following new CLI parameters that
can be used in the --test-params list.

 1. guest_nic_queues, which overrides all GUEST_NIC_QUEUES values
 2. guest_testpmd_txq, which overrides all GUEST_TESTPMD_TXQ
 3. guest_testpmd_rxq, which overrides all GUEST_TESTPMD_RXQ
 4. guest_testpmd_nb_cores, which overrides all GUEST_TESTPMD_NB_CORES
    values
 5. guest_testpmd_cpu_mask, which overrides all GUEST_TESTPMD_CPU_MASK
    values
 6. vswitch_dpdk_multi_queues, which overrides VSWITCH_DPDK_MULTI_QUEUES
 7. guest_smp, which overrides all GUEST_SMP values
 8. guest_core_binding, which overrides all GUEST_CORE_BINDING values

When they are present in the CLI the corresponding settings from the
configuration files will be overridden.

As an example a usage can be:
./vsperf --test-params "guest_nic_queues=2;guest_testpmd_txq=1;\
guest_testpmd_rxq=1;guest_testpmd_nb_cores=1"...

v2: rebase + rework to add other CLI params as suggested and update doc.
v3: changes in 'testusage.rst' doc.

JIRA: VSPERF-371

Change-Id: I140d6e068c1653d21aaa0df27532a48c4a12c151
Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agoMerge "Integration Test: 4 serial VMs testcases."
Maryam Tahhan [Sun, 9 Oct 2016 12:02:53 +0000 (12:02 +0000)]
Merge "Integration Test: 4 serial VMs testcases."

8 years agoRebase to fuel 10.0 for fuel@opnfv D release 49/22849/1
Guo Ruijing [Sun, 9 Oct 2016 00:55:00 +0000 (08:55 +0800)]
Rebase to fuel 10.0 for fuel@opnfv D release

Change-Id: I3ebe6876bd0f04218489d2c7d21dcd401a2ee48a
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
8 years agointegration: Test vHost User numa awareness 87/22687/2
Martin Klozik [Tue, 20 Sep 2016 14:49:46 +0000 (15:49 +0100)]
integration: Test vHost User numa awareness

Open vSwitch with DPDK can optimize memory usage
in case of NUMA architecture to avoid unnecessary
memory access across NUMA slots. In a nutshell,
PMD threads serving virtual NICs are co-located at
the same NUMA slot as QEMU instance, which is using
these NICs.
This patch adds new (functional) integration testcase,
which verifies OVS vHost User numa awareness feature.
Step driven test objects were updated to allow a call
of OS utilies and evaluation of conditions. Also the
documentation was updated with the list of supported
test objects and their methods.

JIRA: VSPERF-377

Change-Id: I184e71e066d27b5b9fc9e6a9f7e240e2d1b5a0fa
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Ciara Loftus <ciara.loftus@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
8 years agoMerge "pkt_gen: Spirent Testcenter RFC 2889 Support"
Martin Klozik [Tue, 4 Oct 2016 07:11:46 +0000 (07:11 +0000)]
Merge "pkt_gen: Spirent Testcenter RFC 2889 Support"

8 years agoMerge "cmd_timeout: Add ovs command timeout configuration option"
Martin Klozik [Tue, 4 Oct 2016 06:52:30 +0000 (06:52 +0000)]
Merge "cmd_timeout: Add ovs command timeout configuration option"

8 years agocmd_timeout: Add ovs command timeout configuration option 97/21897/4
Christian Trautman [Tue, 20 Sep 2016 16:34:55 +0000 (12:34 -0400)]
cmd_timeout: Add ovs command timeout configuration option

Adds option for configurable timeout for ovs commands.

JIRA: VSPERF-396

Change-Id: Ie73dfea1a088a5c92bef705f1fe874ddeeaec5a7
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agobugfix: Correct VM handling by integration tests 93/22393/3
Martin Klozik [Thu, 22 Sep 2016 14:03:52 +0000 (15:03 +0100)]
bugfix: Correct VM handling by integration tests

Patch with multi VM support has changed the way
how data are copied into the shared folder. Also
new support of GUEST_ options expansion requires
proper initialization with exact number of VMs
involved in the test.
Code of class specific to integration tests
was updated to initialize both GUEST_ options
and VM shared dir correctly.
Original values of all GUEST_ options are restored
after the testcase execution. So other TCs can
use original values for configuration expansion
to required number of VMs.

JIRA: VSPERF-361

Change-Id: Ic1149fbc73f73a66982bb64173b2217e55597200
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
8 years agoci: Update default DPDK and OVS versions 51/22551/2
Martin Klozik [Wed, 7 Sep 2016 12:26:07 +0000 (13:26 +0100)]
ci: Update default DPDK and OVS versions

VSPERF was updated to use DPDK16.07 and OVS 2.6.90
by default. This change should improve a performance.
It will also solve failures of VSPERF verify and merge
jobs at OPNFV Jenkins, because newer OVS version is
compatible with Linux Kernel 4.4.

JIRA: VSPERF-378

Change-Id: I636dd96facd3f6357f215290eb2382c9cc16150e
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
8 years agobugfix: Qemu shared dir failure 87/22387/1
Martin Klozik [Fri, 23 Sep 2016 11:04:01 +0000 (12:04 +0100)]
bugfix: Qemu shared dir failure

In case of testpmd or l2fwd loopback app, VSPERF copies
sources if these tools into qemu shared folder. Maximum
size of folder content is limited to approx. 500MB. This
limit is exceeded in case that DPDK is built for multiple
RTE_TARGETs. Unnecessary files are excluded from the
copy to spare size inside shared folder.

JIRA: VSPERF-398

Change-Id: Iab31a6ff2397f7031eae6a95d424317c3343d4d9
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
8 years agopkt_gen: Spirent Testcenter RFC 2889 Support 47/21147/3
Sridhar K. N. Rao [Wed, 14 Sep 2016 17:12:05 +0000 (22:42 +0530)]
pkt_gen: Spirent Testcenter RFC 2889 Support

The changes/additions, apart from spirent testcenter-specific, also
includes
to some files in conf (01_testcase and 03_traffic) and core (result-
constants, traffic_controller and component_factory) folders.

Currently, only RFC2889 Forwarding testcase is supported.

Incorporated following review suggestions:
1. Log level fixes
2. Removing unused function in results_constants.py
3. Added documentation to docs/configguide/trafficgen.rst. Userguide
   will be updated once other RFC2889 tests are implemented.
4. string matching in component_factory.
5. Remove Trailing Whitespaces

JIRA: VSPERF-286

Change-Id: I0195720ab2f8cf2c3a5aa490d66166bdca0afcb0
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
8 years agoMerge "paths: Support binary packages"
Martin Klozik [Tue, 20 Sep 2016 12:27:13 +0000 (12:27 +0000)]
Merge "paths: Support binary packages"

8 years agopaths: Support binary packages 15/20015/6
Martin Klozik [Fri, 26 Aug 2016 14:39:29 +0000 (15:39 +0100)]
paths: Support binary packages

Currently VSPERF supports OVS, DPDK and QEMU built
from the source code only. In some cases it is required
to support installation of these tools from binary packages
available for given linux distribution. Thus VSPERF
configuration and code was modified to suport both source
and binary versions of tools. This can be configured perf
tool, so various combinations of source and binary version
are supported.
Together with new configuration also a handling of kernel
modules was modified to automatically detect and load module
dependencies.

JIRA: VSPERF-340
JIRA: VSPERF-339

Change-Id: I855cb438cbd8998bdc499613ea5e7de2526299d7
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Otto Sabart <osabart@redhat.com>
8 years agomerge_buffers: Add option to disable merge buffer on qemu startup 95/20295/3
Christian Trautman [Mon, 5 Sep 2016 06:42:19 +0000 (02:42 -0400)]
merge_buffers: Add option to disable merge buffer on qemu startup

In cases with VHost user and non-jumbo frame scenarios we can
disable merge buffers on the guest NICS to improve performance.
This patch adds this option to the 04_vnf conf file.

JIRA: VSPERF-388

Change-Id: Ic1f776e90fdccaa5d5a0c952c96811a8747fe936
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agobugfix: SRIOV used wrong device names 53/20653/2
Martin Klozik [Thu, 8 Sep 2016 08:41:10 +0000 (09:41 +0100)]
bugfix: SRIOV used wrong device names

QemuPciPassthrough class responsible for SRIOV testing
used wrong device names for GUEST configuration. Details
of HOST interfaces connected to the traffic generator were
used to initialize forwarding applications inside the guest.
Code was fixed to use correct device configuration.
As part of this fix, old bug in VNF type detection was fixed.

JIRA: VSPERF-389

Change-Id: I269c9232012980c600c171571e90beb11e7b72cd
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
8 years agoIntegration Test: 4 serial VMs testcases. 13/18113/4
Antonio Fischetti [Sat, 6 Aug 2016 08:07:37 +0000 (09:07 +0100)]
Integration Test: 4 serial VMs testcases.

Implementation of RFC2544 throughput/back2back and
continuous testcases with 4 serial VMs.

Topology is: Phy1-VM0-VM1-VM2-VM3-Phy2.

This patch requires Patch VSPERF-326 "Integration test
implementation: Multi-PVP with explicit Flows".

v2: rebased to master to fix conflicts.

JIRA: VSPERF-364

Change-Id: Ib731bf6dc4634d6347b1c521bb82326db90a6c63
Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agopkt_gen: MoonGen code clean up 61/20561/1
bmichalo [Wed, 7 Sep 2016 13:29:52 +0000 (09:29 -0400)]
pkt_gen: MoonGen code clean up

MoonGen code optimizations and general clean up.  No
functionality changes.

JIRA: VSPERF-351

Change-Id: Ida16f16eb218eb6f0a1c90594c38511bfbb2cf97
Signed-off-by: bmichalo <bmichalo@redhat.com>
8 years agoMerge "docs: Fix links and formatting"
Martin Klozik [Tue, 6 Sep 2016 06:43:18 +0000 (06:43 +0000)]
Merge "docs: Fix links and formatting"

8 years agodocs: Fix links and formatting 55/20355/4
Martin Klozik [Mon, 5 Sep 2016 13:12:59 +0000 (14:12 +0100)]
docs: Fix links and formatting

Documentation was updated as follows:
* section decorators were fixed in LTD
* links to testcase and deployment
  descriptions were fixed
* duplicate labels removed from LTP&LTD
* fixed typos in formatting and text
* links to scalability and stress tests
  fixed after their renaming

JIRA: VSPERF-349

Change-Id: I86c2b723231431388b69d3d696805de2a4e12435
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
8 years agoMerge "multi VM: Fix p2p deployment"
Martin Klozik [Mon, 5 Sep 2016 12:46:28 +0000 (12:46 +0000)]
Merge "multi VM: Fix p2p deployment"

8 years agomulti VM: Fix p2p deployment 09/20309/1
Martin Klozik [Mon, 5 Sep 2016 08:29:00 +0000 (09:29 +0100)]
multi VM: Fix p2p deployment

Revert enforced vsperf failure in case, that VnfController
is used in scenario without VNFs. Instance of VnfController
is created for all scenarios including p2p, so it must
be prepared for it.

JIRA: VSPERF-361

Change-Id: Icf6e88e7ea62044c09bb194c260ea878d6a197c9
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
8 years agoMerge "test_spec: Remove formatted text file verions of IETF Draft"
Maryam Tahhan [Fri, 2 Sep 2016 15:55:52 +0000 (15:55 +0000)]
Merge "test_spec: Remove formatted text file verions of IETF Draft"

8 years agoMerge "multi VM: Multi VMs in serial or parallel"
Martin Klozik [Fri, 2 Sep 2016 12:33:06 +0000 (12:33 +0000)]
Merge "multi VM: Multi VMs in serial or parallel"

8 years agodocs: Remove links to Brahmaputra documentation 27/20227/1
Martin Klozik [Fri, 2 Sep 2016 09:16:59 +0000 (10:16 +0100)]
docs: Remove links to Brahmaputra documentation

Hyperlinks to the yardstick documentation were updated
to refer to files generated from the master branch.

JIRA: VSPERF-349

Change-Id: I248795b6a951377885492515fa9b96a694c9da5d
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
8 years agoMerge "vhost_affin_fixup: Change vhost thread from regex to pgrep usage"
Martin Klozik [Fri, 2 Sep 2016 07:51:33 +0000 (07:51 +0000)]
Merge "vhost_affin_fixup: Change vhost thread from regex to pgrep usage"

8 years agotest_spec: Remove formatted text file verions of IETF Draft 91/20191/1
Al Morton [Fri, 2 Sep 2016 01:10:14 +0000 (21:10 -0400)]
test_spec: Remove formatted text file verions of IETF Draft

Remove files with IETF copyrights (Internet Draft .txt files).
I assume these files have to be removed in C-stable branch...

JIRA: VSPERF-387

Change-Id: I76709ab055f845cec0bec8d07b14c29dec349f54
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
8 years agomulti VM: Multi VMs in serial or parallel 07/19507/6
Martin Klozik [Tue, 16 Aug 2016 13:59:05 +0000 (14:59 +0100)]
multi VM: Multi VMs in serial or parallel

Support for deployment scenarios with any number of VMs
in both serial and parallel configuration. Detailed
content of the patch:

* VswitchControllerPXP class for multi VM support
* pvvpxx and pvpvxx deployments for xx VMs in
  serial respective parallel configuration
* special GUEST_ options expansion to requested
  number of VMs;
* support of GUEST_ options specific macros
  #VMINDEX, #MAC(), #IP() and #EVAL()
* all GUEST specific options are turned to lists
  to be VM specific
* support for VM with 1 NIC
* support for VM with multiple NIC pairs; traffic
  is routed in serial or parallel between NIC paris
  based on deployment scenario
* support for PVVP and PVPV scenarios using VMs
  with different numbers of NICs

JIRA: VSPERF-361

Change-Id: I05bedbdfa9a81ea0166d9b03d83ae49d6cb8b19b
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
8 years agovhost_affin_fixup: Change vhost thread from regex to pgrep usage 07/20107/1
Christian Trautman [Thu, 1 Sep 2016 06:44:35 +0000 (02:44 -0400)]
vhost_affin_fixup: Change vhost thread from regex to pgrep usage

Change vhost affinity process lookup to use pgrep instead of
ugly error prone regex method as suggested.

Change-Id: I8cac00a7f2d26ba1ce1815535a198f578159222c
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agopkt_gen: MoonGen Incorrect RX_MBPS Calculation 51/19651/1
bmichalo [Fri, 26 Aug 2016 14:27:30 +0000 (10:27 -0400)]
pkt_gen: MoonGen Incorrect RX_MBPS Calculation

Misplaced parenthesis regarding THROUGHPUT_RX_MBPS

JIRA: VSPERF-381

Change-Id: Ie33cf6ca88164f0686a819715b5f9f7409072063
Signed-off-by: bmichalo <bmichalo@redhat.com>
8 years agodocs: vloop-vnf changelog update 51/19551/2
Martin Klozik [Thu, 25 Aug 2016 07:59:29 +0000 (08:59 +0100)]
docs: vloop-vnf changelog update

Documentation was updated to reflect recent changes
of vloop-vnf image.

JIRA: VSPERF-374

Change-Id: I65a34a7618593a7b77c38eb2fa4c87619b937346
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
8 years agoVanilla_Multi_Queue: Add vanilla ovs multi-queue functionality 27/19327/4
Christian Trautman [Fri, 22 Jul 2016 19:54:18 +0000 (15:54 -0400)]
Vanilla_Multi_Queue: Add vanilla ovs multi-queue functionality

Adds multi-queue for vanilla OVS using virtio-net.

TunTap ports will use multi_queue parameter when ports are
created/deleted if guest nic queues are enabled and
vswitch is ovs vanilla. Virtio net will now add guest nic
queues to qemu command line if appropriate.

Reworked multi-queue documentation to reflect these changes.

Adds vhost net thread affinitization which is recommended
when performing vanilla ovs multi-queue.

Guests will require ethtool if using l2fwd or linux bridge
as the loopback application when vanilla ovs multi-queue
is enabled.

Modified dpdk setting in vswitch conf to be better worded
for separation from vanilla ovs multi-queue.

Updated release and installation doc for new vloop image
that includes required ethtool utility.

JIRA: VSPERF-373

Change-Id: Idb550515190b1a93390308c11f54da368f962512
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoguest_drive_type: Adds guest drive configuration options 33/19333/2
Christian Trautman [Tue, 23 Aug 2016 10:31:39 +0000 (06:31 -0400)]
guest_drive_type: Adds guest drive configuration options

Adds boot and mounted drive configuration options.

JIRA: VSPERF-379

Change-Id: Ic0673a9b9f7a3430d7ac4db5fb9bf4228872f501
signed-off-by: Christian Trautman <ctrautma@redhat.com>

8 years agocuse: Remove vHost Cuse support 59/18959/2
Martin Klozik [Thu, 18 Aug 2016 11:00:44 +0000 (12:00 +0100)]
cuse: Remove vHost Cuse support

Support of vHost Cuse interface is not supported
by OVS anymore, so it was removed also from VSPERF.
Cuse can be used with older VSPERF release if needed.

JIRA: VSPERF-376

Change-Id: Id786bddf5fa9dce5706a93de7b089707a60317cd
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
8 years agoMerge "old_style_multi-queue: Allows for multi-queue with ovs <= 2.5.0"
Martin Klozik [Thu, 18 Aug 2016 13:14:27 +0000 (13:14 +0000)]
Merge "old_style_multi-queue: Allows for multi-queue with ovs <= 2.5.0"

8 years agoIntegration Test: Multi-VM with parallel PVP connections. 91/16991/3
Antonio Fischetti [Sat, 9 Jul 2016 12:48:33 +0000 (13:48 +0100)]
Integration Test: Multi-VM with parallel PVP connections.

Implementation of 3 testcases with multi-VMs in parallel.
Flows are explicitly set on UDP destination ports so that
each packet is sent to a specific VM.

Topology is: Phy1-VM1-Phy2, Phy1-VM2-Phy2,..

This patch requires change #16855 "ovs/ofctl: Fix validation
method for complex flows."

JIRA: VSPERF-326

Change-Id: I59d23354bc9c6db470a59faba13bdcd6f2beb19d
Signed-off-by: Antonio Fischetti <antonio.fischetti@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
8 years agointegration: Support for VxLAN TC without using overlay traffic gen. 17/17417/2
Sugesh Chandran [Thu, 7 Jul 2016 09:24:36 +0000 (10:24 +0100)]
integration: Support for VxLAN TC without using overlay traffic gen.

The test case for verifying the vxlan tunneling feature without using any
ingress tunnel traffic. The virtual switch(OVS) is configured to mangle and
generate tunnel traffic in the deployment. The packet flow in the test case is
as follows

TRAFFIC-IN --> [ENCAP-PKT] --> [MOD-PKT] --> [DECAP-PKT] --> TRAFFIC-OUT

 ENCAP-PKT - Encapsulate the ingress packet to a tunnel type.
 MOD-PKT   - Modify the tunnel header to match the following decap interface.
 DECAP-PKT - Decapsulate the newly generated tunneled packet.

Change-Id: Ie24bacb3cb1c069bd60403e5a4ef8bcdf0e12e54
Signed-off-by: Sugesh Chandran <sugesh.chandran@intel.com>
8 years agoold_style_multi-queue: Allows for multi-queue with ovs <= 2.5.0 91/18691/2
Christian Trautman [Mon, 15 Aug 2016 17:44:27 +0000 (13:44 -0400)]
old_style_multi-queue: Allows for multi-queue with ovs <= 2.5.0

Enables multi-queue option for OVS versions 2.5.0 or less with
dpdk. Instead of enabling MQ on a port by port basis this sets
the global MQ option after starting the ovs switch.

JIRA: VSPERF-372

Change-Id: I245c76779695518d0005122d8214bbf3f141bb96
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agodocs: add vm2vm testing methodology 57/18557/4
Maryam Tahhan [Fri, 12 Aug 2016 13:41:53 +0000 (14:41 +0100)]
docs: add vm2vm testing methodology

Change-Id: I8a89ee3eedd3b439f0243eaef2fafc50ee807739
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoMerge "docs: add LTP to index.rst"
Maryam Tahhan [Sun, 14 Aug 2016 09:57:12 +0000 (09:57 +0000)]
Merge "docs: add LTP to index.rst"

8 years agodoc_fixup: Grammar and link fixes to documentation 27/18427/2
Christian Trautman [Thu, 11 Aug 2016 12:53:20 +0000 (08:53 -0400)]
doc_fixup: Grammar and link fixes to documentation

Fixes minor grammar and link issues.

JIRA: VSPERF-349

Change-Id: Id8708aee5b099287b5c99e79ca6da9ab8778897f
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agopkt_gen: Spirent changes to Harmonize test/trial terminology 19/18219/2
sridharkn [Tue, 9 Aug 2016 12:24:05 +0000 (17:54 +0530)]
pkt_gen: Spirent changes to Harmonize test/trial terminology

Added changes to make use of the tests parameter.
The change is minor.
Prior to this the value was taken from configuration file.
With this change, the tests value is used as passed.

JIRA: VSPERF-367

Change-Id: I9d1553d3b53dd19a79428ddaaacadb55fc27324f
Signed-off-by: Sridhar Rao <sridhar.rao@spirent.com>
8 years agodocs: add LTP to index.rst 21/18321/4
Maryam Tahhan [Wed, 10 Aug 2016 12:30:33 +0000 (13:30 +0100)]
docs: add LTP to index.rst

Fix build issues and add the LTP to index.rst.

JIRA: DOCS-95
Change-Id: I2d22646af935c544645c01600b92a5f51ede39ec
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agopkt_gen: Update MoonGen Documention 39/18339/3
bmichalo [Wed, 10 Aug 2016 14:41:15 +0000 (10:41 -0400)]
pkt_gen: Update MoonGen Documention

Updating MoonGen configuration guide

JIRA: VSPERF-370

Change-Id: I577491a6ece249a6162e1a3595a8682b826e5734
Signed-off-by: bmichalo <bmichalo@redhat.com>
8 years agohugepage_fix: Fix free hugepage calcluation 67/18467/1
Christian Trautman [Thu, 11 Aug 2016 16:34:07 +0000 (12:34 -0400)]
hugepage_fix: Fix free hugepage calcluation

Fixes hugepage free calculation when hugepage size is not
1GB. Calculation previously assumed 1GB in size. This change
allows for all sizes to be calculated properly.

Change-Id: Ib05800f51992e9757c412a66296a47ad29e88a3b
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoMerge "docs: split LTD into LTP and LTD."
Maryam Tahhan [Wed, 10 Aug 2016 12:22:54 +0000 (12:22 +0000)]
Merge "docs: split LTD into LTP and LTD."

8 years agoMerge "integration_cleanup: Force testcase cleanup to always run"
Maryam Tahhan [Wed, 10 Aug 2016 12:21:27 +0000 (12:21 +0000)]
Merge "integration_cleanup: Force testcase cleanup to always run"

8 years agoMerge "Xena_2544_tput_options: Add options for rfc 2544 testing"
Maryam Tahhan [Wed, 10 Aug 2016 12:20:50 +0000 (12:20 +0000)]
Merge "Xena_2544_tput_options: Add options for rfc 2544 testing"

8 years agoMerge "hugepages: change default num pages + deallocate"
Maryam Tahhan [Wed, 10 Aug 2016 12:19:58 +0000 (12:19 +0000)]
Merge "hugepages: change default num pages + deallocate"

8 years agodocs: split LTD into LTP and LTD. 53/16853/6
Maryam Tahhan [Wed, 13 Jul 2016 14:19:02 +0000 (15:19 +0100)]
docs: split LTD into LTP and LTD.

Change-Id: Id0b2ce7460e76ffb3d478bd255a7e5b8e75ba001
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
Reviewed-by: <sridhar.rao@spirent.com>
8 years agointegration_cleanup: Force testcase cleanup to always run 69/18269/1
Christian Trautman [Tue, 9 Aug 2016 20:06:07 +0000 (16:06 -0400)]
integration_cleanup: Force testcase cleanup to always run

During testcase development on the integration side, if
namespaces are used or veth ports and an exception is raised.
The namespaces and veth ports are not properly cleanup up
because the run_finalize does not get executed.

This patch wraps the testing block in a try block where
a finally will ALWAYS execute the run_finalize thus
preventing the possiblity of leftover testing artifacts.

JIRA: VSPERF-328

Change-Id: I4ea5f29a48b9171f330847f34b5b30ef3ab22f27
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoXena_2544_tput_options: Add options for rfc 2544 testing 67/18267/1
Christian Trautman [Tue, 9 Aug 2016 19:52:14 +0000 (15:52 -0400)]
Xena_2544_tput_options: Add options for rfc 2544 testing

Adds options to Xena for testing options when running RFC 2544
throughput testing.

JIRA: VSPERF-369

Change-Id: I3145bd1a4d697d7b06cafda4f9d77cce859d1839
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoMerge "test_spec: LTD: MatchAction Performance testing"
Maryam Tahhan [Tue, 9 Aug 2016 16:40:57 +0000 (16:40 +0000)]
Merge "test_spec: LTD: MatchAction Performance testing"

8 years agoMerge "pkt_gen: MoonGen should use class object for line rate calc"
Maryam Tahhan [Tue, 9 Aug 2016 16:38:21 +0000 (16:38 +0000)]
Merge "pkt_gen: MoonGen should use class object for line rate calc"

8 years agopkt_gen: MoonGen should use class object for line rate calc 51/18251/2
bmichalo [Tue, 9 Aug 2016 15:52:36 +0000 (11:52 -0400)]
pkt_gen: MoonGen should use class object for line rate calc

Instead of hard coding line speed numbers for rate calcuation,
MoonGen should use its class object initialized at start time.

JIRA: VSPERF-368

Change-Id: I68c688f8c244df16d98cfd15efabf491a317256b
Signed-off-by: bmichalo <bmichalo@redhat.com>
8 years agotest_spec: LTD: MatchAction Performance testing 01/18101/2
Al Morton [Fri, 5 Aug 2016 21:21:59 +0000 (17:21 -0400)]
test_spec: LTD: MatchAction Performance testing

One of the new tests we agreed by working on Etherpad
was MatchAction. Maryam led the development, and many
provided comments there. This is another chance for
comments before we merge.

JIRA: VSPERF-242

Change-Id: I9da74efb703d5f221280567159e4ed6d830eb92c
Signed-off-by: Al Morton <acmorton@att.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Billy O'Mahony<billy.o.mahony@intel.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
8 years agoMerge "bugfix: Harmonize test/trial RFC2544 terminology"
Maryam Tahhan [Tue, 9 Aug 2016 08:18:42 +0000 (08:18 +0000)]
Merge "bugfix: Harmonize test/trial RFC2544 terminology"

8 years agohugepages: change default num pages + deallocate 01/18201/2
Maryam Tahhan [Tue, 9 Aug 2016 07:51:04 +0000 (08:51 +0100)]
hugepages: change default num pages + deallocate

Change the default number of allocated pages to the min 10GB. Deallocate
hugepages if we allocated them on the fly.

Change-Id: If9946cec423dd095c1ca1ab3bee3698e2f025047
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agohugepage_detect: Change hugepage detection to check for free hugepages 23/16923/9
Christian Trautman [Thu, 14 Jul 2016 18:46:43 +0000 (14:46 -0400)]
hugepage_detect: Change hugepage detection to check for free hugepages

Change hugepage detection to check if hugepages are configured. Also
verifies enough free hugepages are available based on test
configuration. Will result in an exception if not enough hugepages
are found. This performs the check based on the guest memory configs
as well as the dpdk socket configs.

Adds some new methods to check for free hugepages based on all
hugepages or for socket free hugepages.

Adds new logging indicitaing needed and free hugepages as well as info
level event if hugepages are not configured at recommended 1GB size.

JIRA: VSPerf-255

Change-Id: I80d5605308861070c412568d8d40339f01b9718b
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agoMerge "namespace_bug: Initial creation of namespace fails"
Maryam Tahhan [Tue, 9 Aug 2016 07:48:00 +0000 (07:48 +0000)]
Merge "namespace_bug: Initial creation of namespace fails"

8 years agopkt_gen: MoonGen incorrectly calculates rx/tx % statistics 29/17829/3
bmichalo [Fri, 29 Jul 2016 14:10:00 +0000 (10:10 -0400)]
pkt_gen:  MoonGen incorrectly calculates rx/tx % statistics

For MoonGen, the final results parameters: throughput_rx_percent,
throughput_tx_percent were incorrectly calculated when converting
MoonGen to VSPERF format.  In particular, this would occur when more
than one data stream (single channel unidirectional traffic) was used in
the test. When calculating these percentages, only aggregate throughput
values equaling unidirectional traffic were used (for example, for 64
byte frames bidirectional traffic should use 29.76 Mpps, not 14.88 Mpps)

JIRA: VSPERF-341

Change-Id: Ie62bded7aea023c287697f18c4172b58c320e050
Signed-off-by: bmichalo <bmichalo@redhat.com>
8 years agoMerge "sriov: PCI IDs must be checked before usage"
Maryam Tahhan [Mon, 8 Aug 2016 08:16:56 +0000 (08:16 +0000)]
Merge "sriov: PCI IDs must be checked before usage"

8 years agoMerge "dpdk: Testpmd forwarding mode changes in v16.07"
Maryam Tahhan [Mon, 8 Aug 2016 08:16:20 +0000 (08:16 +0000)]
Merge "dpdk: Testpmd forwarding mode changes in v16.07"

8 years agoMerge "install: Missing packages for numa library"
Maryam Tahhan [Mon, 8 Aug 2016 08:16:08 +0000 (08:16 +0000)]
Merge "install: Missing packages for numa library"

8 years agoMerge "Xena: Modify aggregate_stats one port no stats when bi-direction"
Maryam Tahhan [Mon, 8 Aug 2016 08:15:57 +0000 (08:15 +0000)]
Merge "Xena: Modify aggregate_stats one port no stats when bi-direction"

8 years agonamespace_bug: Initial creation of namespace fails 17/18117/1
Christian Trautman [Sun, 7 Aug 2016 01:34:22 +0000 (21:34 -0400)]
namespace_bug: Initial creation of namespace fails

Initial creation of namespace fails because var/run/netns does not
exist.

JIRA: VSPERF-366

Change-Id: I02e5aef52e1675f303405b69c7461ca6482903af
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
8 years agosriov: PCI IDs must be checked before usage 83/18083/1
Martin Klozik [Fri, 5 Aug 2016 11:38:56 +0000 (12:38 +0100)]
sriov: PCI IDs must be checked before usage

Order of NIC PCI IDs handling was changed to ensure their
check and possible expansion (by missing domain part)
before their first usage. This avoids a vsperf crash
in case that sriov is configured and short NIC PCI IDs
are used.

JIRA: VSPERF-363

Change-Id: I91f724e9558bce5a92520de72b4bf000f33d2f29
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
8 years agodpdk: Testpmd forwarding mode changes in v16.07 77/18077/1
Martin Klozik [Fri, 5 Aug 2016 08:04:55 +0000 (09:04 +0100)]
dpdk: Testpmd forwarding mode changes in v16.07

Testpmd forwarding mode mac_retry was obsoleted in DPDK v16.07.
Retry option is supported by multiple forwarding modes now.
Former "mac_retry" mode can be replaced by "mac retry" construct.

JIRA: VSPERF-333

Change-Id: I1563427985966264f07d10b1a8351784fe999d74
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
8 years agoMerge "Hugepages: on the fly allocation."
Maryam Tahhan [Fri, 5 Aug 2016 10:37:27 +0000 (10:37 +0000)]
Merge "Hugepages: on the fly allocation."

8 years agoMerge "pkt_gen: MoonGen start rates not correct"
Maryam Tahhan [Fri, 5 Aug 2016 10:36:51 +0000 (10:36 +0000)]
Merge "pkt_gen: MoonGen start rates not correct"

8 years agoinstall: Missing packages for numa library 41/18041/1
Martin Klozik [Thu, 4 Aug 2016 14:08:16 +0000 (15:08 +0100)]
install: Missing packages for numa library

Recent versions of DPDK (16.xx) depend on numa library.
Thus installation scripts were updated to install both
binary and development packages.

JIRA: VSPERF-360

Change-Id: Idd0eac8758f30a355909bb804e99e650b67bba8b
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
8 years agobugfix: Harmonize test/trial RFC2544 terminology 39/17739/3
Martin Klozik [Thu, 28 Jul 2016 13:12:26 +0000 (14:12 +0100)]
bugfix: Harmonize test/trial RFC2544 terminology

VSPERF framework was updated to follow RFC2544 definition
of 'test' and 'trial' terms. Test parameter 'rfc2544_trials'
was replaced by new parameter 'rfc2544_tests'.
Both code and documentation were updated to reflect
these changes.

JIRA: VSPERF-300

Change-Id: I144a28359fd06394f1f87ef324458bafd5aad45f
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
8 years agodocs: Update vloop-vnf changelog 35/18035/1
Martin Klozik [Thu, 4 Aug 2016 09:02:54 +0000 (10:02 +0100)]
docs: Update vloop-vnf changelog

Updated version of vloop-vnf image was added into the changelog inside
installation guide.

JIRA: VSPERF-349

Change-Id: I64a1acdf2191858dc282ea6c3b588048b3bdd742
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: <bmichalo@redhat.com>
8 years agoHugepages: on the fly allocation. 65/17265/6
Mars Toktonaliev [Wed, 20 Jul 2016 22:01:52 +0000 (18:01 -0400)]
Hugepages: on the fly allocation.

If no hugepages are available, try to allocate HUGEPAGE_RAM_ALLOCATION
amount of RAM for hugepages.
JIRA: VSPERF-290

Change-Id: I092b3831254579eeebbe45e85884828f9d749895
Signed-off-by: Mars Toktonaliev <mars.toktonaliev@nokia.com>