summaryrefslogtreecommitdiffstats
path: root/tools/pkt_gen
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pkt_gen')
-rw-r--r--[-rwxr-xr-x]tools/pkt_gen/ixnet/ixnet.py7
-rw-r--r--tools/pkt_gen/ixnet/ixnetrfc2544.tcl8
2 files changed, 9 insertions, 6 deletions
diff --git a/tools/pkt_gen/ixnet/ixnet.py b/tools/pkt_gen/ixnet/ixnet.py
index a4836330..b59d88a6 100755..100644
--- a/tools/pkt_gen/ixnet/ixnet.py
+++ b/tools/pkt_gen/ixnet/ixnet.py
@@ -384,15 +384,18 @@ class IxNet(trafficgen.ITrafficGenerator):
# the results file
return parse_ixnet_rfc_results(parse_result_string(output[0]))
- def send_rfc2544_back2back(self, traffic=None, trials=1, duration=20,
+ def send_rfc2544_back2back(self, traffic=None, trials=50, duration=2,
lossrate=0.0):
"""See ITrafficGenerator for description
"""
+ # NOTE 2 seconds is the recommended duration for a back 2 back
+ # test in RFC2544. 50 trials is the recommended number from the
+ # RFC also.
self.start_rfc2544_back2back(traffic, trials, duration, lossrate)
return self.wait_rfc2544_back2back()
- def start_rfc2544_back2back(self, traffic=None, trials=1, duration=20,
+ def start_rfc2544_back2back(self, traffic=None, trials=50, duration=2,
lossrate=0.0):
"""Start transmission.
"""
diff --git a/tools/pkt_gen/ixnet/ixnetrfc2544.tcl b/tools/pkt_gen/ixnet/ixnetrfc2544.tcl
index 3bd169c0..a74f2ef3 100644
--- a/tools/pkt_gen/ixnet/ixnetrfc2544.tcl
+++ b/tools/pkt_gen/ixnet/ixnetrfc2544.tcl
@@ -271,7 +271,7 @@ proc startRfc2544Test { testSpec trafficSpec } {
-destMacRetryDelay 5 \
-largeErrorThreshhold 2 \
-refreshLearnedInfoBeforeApply False \
- -enableMinFrameSize False \
+ -enableMinFrameSize True \
-macChangeOnFly False \
-waitTime 1 \
-enableInstantaneousStatsSupport False \
@@ -7773,7 +7773,7 @@ proc startRfc2544Test { testSpec trafficSpec } {
-inputParameters {{}}
ixNet setMultiAttrs $sg_rfc2544throughput/testConfig \
-protocolItem {} \
- -enableMinFrameSize False \
+ -enableMinFrameSize True \
-framesize $frameSize \
-reportTputRateUnit mbps \
-duration $duration \
@@ -7988,7 +7988,7 @@ proc startRfc2544Test { testSpec trafficSpec } {
-customLoadUnit percentMaxRate \
-randomLoadUnit percentMaxRate \
-incrementLoadUnit percentMaxRate \
- -binaryResolution 100 \
+ -binaryResolution 1000 \
-binaryBackoff 50 \
-binaryTolerance $tolerance \
-initialIncrementLoadRate 100 \
@@ -7999,7 +7999,7 @@ proc startRfc2544Test { testSpec trafficSpec } {
-countRandomLoadRate 1 \
-numFrames {100000} \
-loadRate 100 \
- -enableMinFrameSize False \
+ -enableMinFrameSize True \
-gap 3 \
-generateTrackingOptionAggregationFiles False \
-sendFullyMeshed False \