aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2018-07-13 14:20:57 +0300
committerMatias Elo <matias.elo@nokia.com>2018-07-13 14:21:10 +0300
commit5b61de4b3e54aa1faf13f7a17054ad0386a53e23 (patch)
tree4c0ea40d1cc12c5bcdbb5990f50258f1f21847f4
parent66fd19ddff3e3bfcfe6369714297f3fea8417318 (diff)
linux-dpdk: test: reduce performance test memory usage
Signed-off-by: Matias Elo <matias.elo@nokia.com>
-rwxr-xr-xtest/performance/odp_l2fwd_run.sh4
-rwxr-xr-xtest/performance/odp_sched_pktio_run.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/performance/odp_l2fwd_run.sh b/test/performance/odp_l2fwd_run.sh
index af8000607..f2ba63df0 100755
--- a/test/performance/odp_l2fwd_run.sh
+++ b/test/performance/odp_l2fwd_run.sh
@@ -67,7 +67,7 @@ run_l2fwd()
exit 1
fi
- export ODP_PLATFORM_PARAMS="-m 512 --file-prefix="gen" \
+ export ODP_PLATFORM_PARAMS="-m 256 --file-prefix="gen" \
--proc-type auto --no-pci \
--vdev net_pcap0,iface=$IF0"
@@ -88,7 +88,7 @@ run_l2fwd()
fi
LOG=odp_l2fwd_tmp.log
- export ODP_PLATFORM_PARAMS="-m 512 --file-prefix="l2fwd" \
+ export ODP_PLATFORM_PARAMS="-m 256 --file-prefix="l2fwd" \
--proc-type auto --no-pci --vdev net_pcap1,iface=$IF1 \
--vdev net_pcap2,iface=$IF2"
diff --git a/test/performance/odp_sched_pktio_run.sh b/test/performance/odp_sched_pktio_run.sh
index 566636126..204f5bdc0 100755
--- a/test/performance/odp_sched_pktio_run.sh
+++ b/test/performance/odp_sched_pktio_run.sh
@@ -55,7 +55,7 @@ run_sched_pktio()
fi
# 1 worker
- export ODP_PLATFORM_PARAMS="-m 512 --file-prefix="sched" \
+ export ODP_PLATFORM_PARAMS="-m 256 --file-prefix="sched" \
--proc-type auto --no-pci --vdev net_pcap1,iface=$IF1 \
--vdev net_pcap2,iface=$IF2"
@@ -66,7 +66,7 @@ run_sched_pktio()
sleep 1
# Run generator with one worker
- export ODP_PLATFORM_PARAMS="-m 512 --file-prefix="gen" \
+ export ODP_PLATFORM_PARAMS="-m 256 --file-prefix="gen" \
--proc-type auto --no-pci \
--vdev net_pcap0,iface=$IF0"