diff options
author | Radek Zetik <radekx.zetik@intel.com> | 2015-07-20 05:33:58 +0100 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2015-08-04 09:40:23 +0000 |
commit | 211eb7443e6cdc66c9657399be983184cd16bba7 (patch) | |
tree | fc1a5464451a6702e5774030b9191ef90972973c /tools/pkt_gen/ixnet/ixnet.py | |
parent | eec369cd944ee4951fe53f542114498a6b7d23dc (diff) |
Add a simple performance test that sends a continuous stream
Implement a simple performance test that sends a continuous
stream of traffic to the vSwitch at line rate for 30 seconds
and measures the throughput
Note: there is issue with calculating of the Tx Fps and Mbps
based on the results from the IxNetwork traffic generator.
This issue will be fixed in a later patch.
JIRA: VSPERF-27
Change-Id: Ic72225888735d33398a602462af159e901fb5957
Signed-off-by: Radek Zetik <radekx.zetik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'tools/pkt_gen/ixnet/ixnet.py')
-rwxr-xr-x | tools/pkt_gen/ixnet/ixnet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pkt_gen/ixnet/ixnet.py b/tools/pkt_gen/ixnet/ixnet.py index 58373a19..bb999f70 100755 --- a/tools/pkt_gen/ixnet/ixnet.py +++ b/tools/pkt_gen/ixnet/ixnet.py @@ -200,7 +200,7 @@ class IxNet(trafficgen.ITrafficGenerator): """ pass - def send_cont_traffic(self, traffic=None, time=20, framerate=0, + def send_cont_traffic(self, traffic=None, time=30, framerate=100, multistream=False): """See ITrafficGenerator for description """ @@ -208,7 +208,7 @@ class IxNet(trafficgen.ITrafficGenerator): return self.stop_cont_traffic() - def start_cont_traffic(self, traffic=None, time=20, framerate=0, + def start_cont_traffic(self, traffic=None, time=30, framerate=100, multistream=False): """Start transmission. """ |