vswitchperf.git
7 years agoMerge "centos73_install: Provide installer script for CentOS 7.3"
Martin Klozik [Tue, 24 Jan 2017 08:23:37 +0000 (08:23 +0000)]
Merge "centos73_install: Provide installer script for CentOS 7.3"

7 years agoMerge "dpdk_vhostuser_mq_fix: Fixes erroneous error message with MQ and dpdk"
Martin Klozik [Tue, 24 Jan 2017 08:22:13 +0000 (08:22 +0000)]
Merge "dpdk_vhostuser_mq_fix: Fixes erroneous error message with MQ and dpdk"

7 years agoMerge "xena_cont_accuracy_fix: Xena continuous traffic accuracy fixes"
Martin Klozik [Tue, 24 Jan 2017 08:12:40 +0000 (08:12 +0000)]
Merge "xena_cont_accuracy_fix: Xena continuous traffic accuracy fixes"

7 years agoMerge "xena_cont_learning: Adds learning preemption to continuous traffic"
Martin Klozik [Tue, 24 Jan 2017 07:56:48 +0000 (07:56 +0000)]
Merge "xena_cont_learning: Adds learning preemption to continuous traffic"

7 years agodocs: Upgrade instructions 89/27389/2
Martin Klozik [Mon, 23 Jan 2017 14:44:38 +0000 (14:44 +0000)]
docs: Upgrade instructions

New section specific to upgrade was added into documentation.
Description of configuration changes beetween Colorado and
Danube releases is discussed in detail.

JIRA: VSPERF-269

Change-Id: Ibbd1bb447e5d85c6b269ad26e10ff5d646a2bfbe
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 <sridhar.rao@spirent.com>
Reviewed-by: Martin Goldammer <martinx.goldammer@intel.com>
7 years agoxena_cont_learning: Adds learning preemption to continuous traffic 01/27401/1
Christian Trautman [Mon, 23 Jan 2017 18:33:56 +0000 (13:33 -0500)]
xena_cont_learning: Adds learning preemption to continuous traffic

Adds a configurable learning preemptive option when running
xena continuous traffic tests. This resolves a missing packet
or two when running OVS tests at flow rates that should not
drop packets.

JIRA: VSPERF-473

Change-Id: I056578ed9c9181287d97aea55a002f09aac14e81
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoxena_cont_accuracy_fix: Xena continuous traffic accuracy fixes 91/27391/2
Christian Trautman [Mon, 23 Jan 2017 15:21:53 +0000 (10:21 -0500)]
xena_cont_accuracy_fix: Xena continuous traffic accuracy fixes

Second patch to help improve Xena continuous traffic accuracy.
Increases delay before gathering statistics to allow packets in
flight to be received. Changes bps and fps to be calculated
based on total bytes and packets received versus capturing the
data while port is transmitting from active statistics.

Sets time limit on ports based on duration.

JIRA: VSPerf-423

Change-Id: I574819694d3141edb539de64bc16dcd6c6fcf489
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agodpdk_vhostuser_mq_fix: Fixes erroneous error message with MQ and dpdk 81/27381/1
Christian Trautman [Mon, 23 Jan 2017 13:13:27 +0000 (08:13 -0500)]
dpdk_vhostuser_mq_fix: Fixes erroneous error message with MQ and dpdk

Removes un-needed code to set multi-queue option on vhostuser ports.

JIRA: VSPerf-471

Change-Id: I9f58e53d9a9bb62ef5ed441a7b4b1dea37a2f557
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agocentos73_install: Provide installer script for CentOS 7.3 91/27291/1
goldammx [Thu, 19 Jan 2017 09:56:48 +0000 (04:56 -0500)]
centos73_install: Provide installer script for CentOS 7.3

Adds installer script for CentOS 7.3. Modifications are
based on installation script for RHEL7.3.

Modified dpdk makefile to allow upstream dpdk to build.
Prevents upstream vanilla OVS from building due to kernel
incompatibilities.

JIRA: VSPERF-452

Change-Id: Iaf05de0cf2ad7f5636d9474f351d3c7d193123cf
Signed-off-by: Martin Goldammer <martinx.goldammer@intel.com>
Reviewed-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 <sridhar.rao@spirent.com>
7 years agoMerge "testpmd_pvp_fix: Fix SR-IOV QemuPciPassthrough mode to not use vdev"
Martin Klozik [Thu, 19 Jan 2017 12:21:26 +0000 (12:21 +0000)]
Merge "testpmd_pvp_fix: Fix SR-IOV QemuPciPassthrough mode to not use vdev"

7 years agoMerge "mrg_buff_doc: Add documentation on mergable buffer option"
Martin Klozik [Wed, 18 Jan 2017 18:50:42 +0000 (18:50 +0000)]
Merge "mrg_buff_doc: Add documentation on mergable buffer option"

7 years agomrg_buff_doc: Add documentation on mergable buffer option 33/27133/5
Christian Trautman [Wed, 18 Jan 2017 01:07:24 +0000 (20:07 -0500)]
mrg_buff_doc: Add documentation on mergable buffer option

Adds section about mergable buffers option to testusage doc.

Also adds drive boot type info into gotchas section of
testusage doc.

JIRA: VSPERF-459

Change-Id: I159273502663dd29f4847b0737535009a42e430d
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agodocs: Ixia docs update 73/27173/2
Martin Klozik [Wed, 18 Jan 2017 13:28:56 +0000 (13:28 +0000)]
docs: Ixia docs update

Ixia generator related documenation was reviewed
and updated. Links to the chapters specific to
supported traffic generators were created.

JIRA: VSPERF-454

Change-Id: I3a19b054002ac8be3ed3115bc21986b3ca4ea187
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 <sridhar.rao@spirent.com>
7 years agodocs: Dummy pre-configured results 55/27055/4
Martin Klozik [Mon, 16 Jan 2017 14:54:08 +0000 (14:54 +0000)]
docs: Dummy pre-configured results

In case of Dummy traffic generator, the test results
can be pre-configured. Configuration and examples
were described in trafficgen related chapter.

JIRA: VSPERF-458

Change-Id: I6179e98f3999e5b2df2ad4080582302bf4177cda
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 <sridhar.rao@spirent.com>
7 years agotestpmd_pvp_fix: Fix SR-IOV QemuPciPassthrough mode to not use vdev 27/27127/2
Christian Trautman [Wed, 18 Jan 2017 01:12:31 +0000 (20:12 -0500)]
testpmd_pvp_fix: Fix SR-IOV QemuPciPassthrough mode to not use vdev

A recent patch introduced a bug where SR-IOV would use code designed
for use with testpmd_pvp scenarios. This is because this scenario
also calls for the vswitch=none flag. This patch resolves this issue
to stop the vdev devices from being added when the vnf is specified
as QemuPciPassthrough.

JIRA: VSPERF-460

Change-Id: Ie4522b046982ec5554c3deb6a507d86ca9798124
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "traffic: Configurable traffic details"
Martin Klozik [Tue, 17 Jan 2017 11:37:49 +0000 (11:37 +0000)]
Merge "traffic: Configurable traffic details"

7 years agotraffic: Configurable traffic details 67/26367/3
Martin Klozik [Wed, 14 Dec 2016 14:02:43 +0000 (14:02 +0000)]
traffic: Configurable traffic details

Traffic generated by traffic generator is based on default
values and their modifications specific to particular testing
scenario. Traffic default values were defined inside VSPERF
code and it was not possible to change them. This patch introduces
new TRAFFIC dictionary inside 03_traffic.conf. Thus user can
modify any of TRAFFIC values either in configuration file
or by CLI or by 'Parameters' section of testcase definition.
Following CLI options were obsoleted by this patch:
    'bidirectional', 'traffic_type', 'iload', 'multistream',
    'stream_type' and 'pre-installed_flows'
Following CLI option was renamed to be consistent with other options:
    'tunnel_type' => 'TUNNEL_TYPE'
Following sections of testcase definition were obsoleted:
    "Traffic Type", "biDirectional", "MultiStream", "Stream Type",
    "Pre-installed Flows", "Flow Type" and "iLoad"
New TRAFFIC dictionary should be used instead of old CLI options
and old testcase definition sections. Testcase definitons,
yardstick sample testcases and documentation were updated to reflect
configuration changes.

JIRA: VSPERF-433

Change-Id: I03a388c766491d5688e715f6d7b51e8e0377ec27
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 agodocs: Update NEWS section 19/27019/1
Martin Klozik [Thu, 12 Jan 2017 14:05:18 +0000 (14:05 +0000)]
docs: Update NEWS section

Update NEWS with details about vsperf changes implemented
during Danube release.

JIRA: VSPERF-440

Change-Id: I3ebb010ef2a86806084c856257a6195b425b98a6
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 <sridhar.rao@spirent.com>
7 years agoMerge "testpmd_pvp: Adds pkt_fwd to allow pvp topology testing"
Martin Klozik [Mon, 16 Jan 2017 07:56:57 +0000 (07:56 +0000)]
Merge "testpmd_pvp: Adds pkt_fwd to allow pvp topology testing"

7 years agoMerge "docs: Fix links to default test parameters"
Martin Klozik [Mon, 16 Jan 2017 07:37:23 +0000 (07:37 +0000)]
Merge "docs: Fix links to default test parameters"

7 years agotestpmd_pvp: Adds pkt_fwd to allow pvp topology testing 91/26891/4
Christian Trautman [Wed, 11 Jan 2017 20:00:52 +0000 (15:00 -0500)]
testpmd_pvp: Adds pkt_fwd to allow pvp topology testing

Requires DPDK 16.11 or greater to support vdev flags.

Initial support for TestPMD to support guests.

Allows vsperf to execute TestPMD as a switch for pvp
test scenarios.

Can be increased in functionality later to support
multiple guest configs.

JIRA: VSPERF-406

Change-Id: I67a5a355c990ca6cfcbb5845a2beaf1c1f21f5f0
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agodocs: Fix links to default test parameters 27/26927/2
Martin Klozik [Wed, 11 Jan 2017 13:58:10 +0000 (13:58 +0000)]
docs: Fix links to default test parameters

Links to the default test parameters were fixed.

JIRA: VSPERF-442

Change-Id: I775d5598799050fe44a5f0fc23a28716e24c2c76
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 <sridhar.rao@spirent.com>
7 years agoovs-dpdk port setup: specify PCI slot. 89/26889/1
Antonio_Fischetti [Fri, 6 Jan 2017 19:39:17 +0000 (19:39 +0000)]
ovs-dpdk port setup: specify PCI slot.

Update to use options:dpdk-devargs coming from the Arbitray Port Naming feature
lately upstreamed in Ovs-DPDK project.
See Commit ID: 55e075e65ef9ecbd70e5e0fada2704c3d73724d8.
By this new param you can explicitly select a PCI slot for a dpdk port.

JIRA: VSPERF-449

Change-Id: Id6028cc4efbaf228a99c6f0a346a8e96a82e43a6
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
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>
7 years agoMerge "rhel73_install: Provide installer script for RHEL 7.3"
Martin Klozik [Tue, 10 Jan 2017 09:19:37 +0000 (09:19 +0000)]
Merge "rhel73_install: Provide installer script for RHEL 7.3"

7 years agorhel73_install: Provide installer script for RHEL 7.3 41/25641/8
Christian Trautman [Wed, 7 Dec 2016 19:35:54 +0000 (14:35 -0500)]
rhel73_install: Provide installer script for RHEL 7.3

Adds installer scripts for RHEL 7.3 OS.

Modified dpdk makefile to allow upstream dpdk to build.

Prevents upstream OVS from building due to kernel incompatibilities.

Provides instructions on setting up RHEL 7.3 for usage with binary
OVS packages when testing with OVS Vanilla.

Tested under RHEL 7.3

JIRA: VSPerf-322

Change-Id: If294d465f28f60a1c514a7b661ce4696ac3b5b73
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agoMerge "pkt_gen: STC - Handle Results DB file synchronization failures."
Martin Klozik [Thu, 5 Jan 2017 09:19:34 +0000 (09:19 +0000)]
Merge "pkt_gen: STC - Handle Results DB file synchronization failures."

7 years agopkt_gen: STC - Handle Results DB file synchronization failures. 81/26381/2
Sridhar K. N. Rao [Wed, 21 Dec 2016 15:24:05 +0000 (20:54 +0530)]
pkt_gen: STC - Handle Results DB file synchronization failures.

If the downloading of results-database file fails, the CSV file and
corresponding results are not generated - eventhough the test was
successful.
This small patch handles such cases.

Updated the logging to be more explicit.

JIRA: VSPERF-435

Change-Id: I14bf519fbca2ea362777e29920bc1759494965e0
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
7 years agobugfix: Ethernet type and vnf stop fixes 87/26687/1
Martin Klozik [Wed, 4 Jan 2017 15:07:52 +0000 (15:07 +0000)]
bugfix: Ethernet type and vnf stop fixes

Usage of ethernet type for IPv4 was harmonized, to use
0x0800 at all places. Together with this fix a bug during
VNF cleanup was removed - VNF started by TestSteps are
tested for validity before the call of their stop() method.
It avoid vsperf crash in case, that VNF was not properly
started.

JIRA: VSPERF-436

Change-Id: Ic1a36919f5c9d707aa0aad64b5d96a1214c56cb3
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 <sridhar.rao@spirent.com>
7 years agoMerge "install: Ubuntu 16.xx support"
Martin Klozik [Mon, 19 Dec 2016 09:19:10 +0000 (09:19 +0000)]
Merge "install: Ubuntu 16.xx support"

7 years agoconf: traffic type naming step2 77/25977/1
Martin Klozik [Wed, 14 Dec 2016 14:40:35 +0000 (14:40 +0000)]
conf: traffic type naming step2

Update of the rest of old traffic type names.

JIRA: VSPERF-420

Change-Id: Icf4bab7afad09f9b48ee25b9ff020c83cf2e02bd
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 agoinstall: Ubuntu 16.xx support 57/25857/1
Martin Klozik [Mon, 12 Dec 2016 14:27:49 +0000 (14:27 +0000)]
install: Ubuntu 16.xx support

Installation scripts were updated to support Ubuntu 16.04 LTS
and Ubuntu 16.10. Ubuntu 16.10 uses kernel 4.8, which is supported
since DPDK 16.11. It is up to the vsperf user to use DPDK and OVS
versions compatible with active Linux kernel.

JIRA: VSPERF-408

Change-Id: Ifb71de72cf6d4f9d6e2319cb5c1d7d5dcbe5314f
Signed-off-by: Goldammer, MartinX <martinx.goldammer@intel.com>
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 "conf:Traffic-type naming convention and consistency"
Martin Klozik [Wed, 7 Dec 2016 14:01:07 +0000 (14:01 +0000)]
Merge "conf:Traffic-type naming convention and consistency"

7 years agoconf:Traffic-type naming convention and consistency 71/24771/4
Sridhar K. N. Rao [Wed, 23 Nov 2016 14:58:13 +0000 (20:28 +0530)]
conf:Traffic-type naming convention and consistency

Following changes are added following first review
1. Descriptions in integration/01_testcases.conf
2. Comment in conf/01_testcases.conf
3. Checking all cases of traffic types in traffic_controller_rfc2544.py
4. Removing whitespaces
5. Missing changes (throughput->rfc2544_throughput)
6. Syntax error in core/traffic_controller_rfc2544.py

Currently the traffic-type values that are provided as part of the
test case definition needs some fix to support additional traffic
- apart from rfc2544. The Current and the proposed changed is summarized
in the below table:

|--------------------------------------------------------------------|
|  Parameter  | Existing traffic_type value |    Changed to          |
----------------------------------------------------------------------
| Throughput  | rfc2544  OR throughput      |   rfc2544_throughput   |
----------------------------------------------------------------------
| Back2Back   | back2back                   |   rfc2544_back2back    |
----------------------------------------------------------------------
| Continuous  | continuous                  |   rfc2544_continuous   |
----------------------------------------------------------------------

JIRA: VSPERF-420

Change-Id: I22bd897f6389d2b568a6a3735c67f0003e813445
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
7 years agoMerge "scl_fix: Fix broken link to install python33"
Christian Trautman [Tue, 6 Dec 2016 19:01:14 +0000 (19:01 +0000)]
Merge "scl_fix: Fix broken link to install python33"

7 years agoMerge "pkt_gen: MoonGen updated to keep parity with master"
Martin Klozik [Thu, 1 Dec 2016 14:23:37 +0000 (14:23 +0000)]
Merge "pkt_gen:  MoonGen updated to keep parity with master"

7 years agoMerge "yardstick: CLI params support for yardstick TCs"
Martin Klozik [Thu, 1 Dec 2016 14:21:29 +0000 (14:21 +0000)]
Merge "yardstick: CLI params support for yardstick TCs"

7 years agoscl_fix: Fix broken link to install python33 75/25275/1
Christian Trautman [Wed, 30 Nov 2016 22:21:49 +0000 (17:21 -0500)]
scl_fix: Fix broken link to install python33

Fixes broken link to download python33 rpm scl installer.

Replaces Centos with software collections recommended method
to install Python33.

Adds temporary repo for Rhel7.2 to install python33.

Verified on Centos7.2 and Rhel7.2.

JIRA: VSPerf-429

Change-Id: Id86748e898f1d81011d19024d9ff2c0e9a47479f
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
7 years agopkt_gen: MoonGen updated to keep parity with master 53/25253/2
bmichalo [Wed, 30 Nov 2016 14:56:38 +0000 (09:56 -0500)]
pkt_gen:  MoonGen updated to keep parity with master

Need to make VSPERF's MoonGen codebase in parity with master emmerich
MoonGen branch.

JIRA:  VSPERF-400

Change-Id: I8c50ed89c9e7b0080497107c1af826f49c1e82f0
Signed-off-by: bmichalo <bmichalo@redhat.com>
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 agoci: Configure hugepages directly from CI script 43/24743/7
Martin Klozik [Wed, 23 Nov 2016 07:17:08 +0000 (07:17 +0000)]
ci: Configure hugepages directly from CI script

In case of CI it is better to enforce hugepages
allocation. Just for case, that hugepages were
left enabled by last vsperf execution or by
another job.

JIRA: VSPERF-391

Change-Id: I0531b2a8a1e5024d73c227377dd9c487d6931c35
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>
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"