From 211eb7443e6cdc66c9657399be983184cd16bba7 Mon Sep 17 00:00:00 2001 From: Radek Zetik Date: Mon, 20 Jul 2015 05:33:58 +0100 Subject: 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 Reviewed-by: Maryam Tahhan --- tools/pkt_gen/ixnet/ixnet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/pkt_gen') 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. """ -- cgit 1.2.3-korg