In netperf-2.6.0, we can assign two arguments (local send size & remote send size) for TCP_MAERTS by '-m $local_send_size,remote_send_size'
Currently we only assigned useless local send size, this patch corrects the parameters for TCP_MAERTS. + netperf-2.6.0 & without this patch (throughput almost no change) size| sessions| throughput| CPU| thr_per_CPU| rx_pkts| ... 32| 4| 6209.42| 66.06| 94.00| 2125812| 32| 16| 6070.56| 63.94| 94.94| 1399264| 32| 64| 6275.39| 66.31| 94.64| 1020208| 64| 4| 6191.72| 65.80| 94.10| 2164126| 64| 16| 5987.68| 63.66| 94.06| 1391014| 64| 64| 6361.39| 67.07| 94.85| 1004647| 128| 4| 6288.48| 65.82| 95.54| 2115431| 128| 16| 6117.56| 64.53| 94.80| 1374448| + netperf-2.6.0 & apply this patch size| sessions| throughput| CPU| thr_per_CPU| rx_pkts| ... 32| 4| 702.16| 82.21| 8.54| 2140611| 32| 16| 720.50| 81.13| 8.88| 2098084| 32| 64| 764.36| 79.71| 9.59| 2035739| 64| 4| 1549.72| 87.81| 17.65| 2798703| 64| 16| 1551.30| 86.27| 17.98| 2807006| 64| 64| 1546.38| 85.42| 18.10| 2764068| 128| 4| 3040.82| 86.49| 35.16| 2478920| 128| 16| 3066.91| 86.04| 35.65| 2363175| 128| 64| 3033.88| 83.75| 36.23| 2260807| Signed-off-by: Amos Kong <[email protected]> --- tests/netperf.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/tests/netperf.py b/tests/netperf.py index e0cbd89..ad42762 100644 --- a/tests/netperf.py +++ b/tests/netperf.py @@ -309,6 +309,11 @@ def start_test(server, server_ctl, host, client, resultsdir, l=60, "-t %s -v 0 -P -0 -- -r %s,%s -b %s" % (protocol, i, i, j), netserver_port, params, server_cyg) thu = parse_file("/tmp/netperf.%s" % ret['pid'], 0) + elif (protocol == "TCP_MAERTS"): + ret = launch_client(j, server, server_ctl, host, client, l, + "-C -c -t %s -- -m ,%s" % (protocol, i), + netserver_port, params, server_cyg) + thu = parse_file("/tmp/netperf.%s" % ret['pid'], 4) else: ret = launch_client(j, server, server_ctl, host, client, l, "-C -c -t %s -- -m %s" % (protocol, i), -- 1.7.1 _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
