From bf378f2973e129527f2abde54094799303db0d07 Mon Sep 17 00:00:00 2001 From: Martin Klozik Date: Tue, 18 Aug 2015 15:33:14 +0100 Subject: Support of configurable background load and implementation of LTD.CPU.RFC2544.0PacketLoss and LTD.Memory.RFC2544.0PacketLoss Every testcase can be configured to run background load on the DUT. Load is generated by chosen command line tool, which must be installed according to the installation.md. Currently 'stress' and 'stress-ng' tools are supported, but support for new tool can be easily added. Load can be configured by testcase configuration option 'load'. Details about supported load generator options can be found in conf/01_testcases.conf. JIRA: VSPERF-23 JIRA: VSPERF-24 Change-Id: I3e1aebc0d41357f5a2764015c41ffc7e50fdbf8b Signed-off-by: Martin Klozik Reviewed-by: Billy O Mahony Reviewed-by: Maryam Tahhan Reviewed-by: Al Morton --- docs/NEWS.rst | 4 +++- docs/installation.rst | 17 +++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/NEWS.rst b/docs/NEWS.rst index 223d3c8a..3f01e371 100644 --- a/docs/NEWS.rst +++ b/docs/NEWS.rst @@ -4,6 +4,9 @@ New --- - Backport and enhancement of reporting - PVP deployment scenario testing using vhost-cuse as guest access method +- Implementation of LTD.Scalability.RFC2544.0PacketLoss testcase +- Support for background load generation with command line tools like stress + and stress-ng July 2015 ========= @@ -51,6 +54,5 @@ New Missing ------- -- Report generation is currently disabled - xmlunit output is currently disabled - VNF support. diff --git a/docs/installation.rst b/docs/installation.rst index e9a3d115..90de7a0a 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -1,5 +1,5 @@ -Installing toit -=============== +Installing vswitchperf +====================== The test suite requires Python 3.3 and relies on a number of other packages. These need to be installed for the test suite to function. To @@ -18,6 +18,14 @@ Enable Software Collections (SCL) yum -y install scl-utils yum -y install https://www.softwarecollections.org/en/scls/rhscl/python33/epel-7-x86_64/download/rhscl-python33-epel-7-x86_64.noarch.rpm +(Optional) Enable Repoforge (for stress) +---------------------------------------- +Allows optional installation of stress tool, which is required by load tests. + + .. code-block:: console + + yum -y install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm + System packages ----------------- There are a number of packages that must be installed using `yum`. These can be installed like so: @@ -26,6 +34,11 @@ There are a number of packages that must be installed using `yum`. These can be yum -y --exclude=python33-mod_wsgi* install python33-* pciutils +Optional installation of stress tool + + .. code-block:: console + + yum -y install stress Python 3 Packages ----------------- -- cgit 1.2.3-korg