summaryrefslogtreecommitdiffstats
path: root/nfvbenchvm/dib/elements
diff options
context:
space:
mode:
authorYichen Wang <yicwang@cisco.com>2018-02-26 16:27:53 -0800
committerYichen Wang <yicwang@cisco.com>2018-02-26 17:14:04 -0800
commit54365002e932743f693af28d3f568c20a9e18513 (patch)
tree1a25e3170d3bd6a7fd94c3ecbb8aadb478f5f0d3 /nfvbenchvm/dib/elements
parente275e0bc2ae9ea1906190d81c9e78e85265734df (diff)
[NFVBENCH-70] Update nfvbenchvm to 0.6
1. Update kernel to 4.4.118-1.el7.elrepo.x86_64; 2. Update to build testpmd off DPDK 18.02; 3. Update txd/rxd of testpmd to 256/1024; 4. Update VPP to 17.10-9~gd594711~b55.x86_64; Change-Id: I1321b306143d1daf81f8a984ad7739a980c5cfb9 Signed-off-by: Yichen Wang <yicwang@cisco.com>
Diffstat (limited to 'nfvbenchvm/dib/elements')
-rwxr-xr-xnfvbenchvm/dib/elements/nfvbenchvm/post-install.d/02-testpmd-script4
-rw-r--r--nfvbenchvm/dib/elements/nfvbenchvm/static/etc/rc.d/rc.local6
2 files changed, 4 insertions, 6 deletions
diff --git a/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/02-testpmd-script b/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/02-testpmd-script
index 2136c3a..6f133d1 100755
--- a/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/02-testpmd-script
+++ b/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/02-testpmd-script
@@ -1,7 +1,7 @@
#!/bin/bash
-DPDK=dpdk-17.08
-DPDK_UNTAR=dpdk-17.08
+DPDK=dpdk-18.02
+DPDK_UNTAR=dpdk-18.02
# pick up the kernel version for the target image
kernel_version=`ls -t /lib/modules | awk 'NR==1 {print}'`
diff --git a/nfvbenchvm/dib/elements/nfvbenchvm/static/etc/rc.d/rc.local b/nfvbenchvm/dib/elements/nfvbenchvm/static/etc/rc.d/rc.local
index dddc787..caf3142 100644
--- a/nfvbenchvm/dib/elements/nfvbenchvm/static/etc/rc.d/rc.local
+++ b/nfvbenchvm/dib/elements/nfvbenchvm/static/etc/rc.d/rc.local
@@ -71,10 +71,8 @@ if [ "$FORWARDER" == "testpmd" ]; then
-n 4 \
-- \
--burst=32 \
- --txd=2048 \
- --rxd=2048 \
- --txqflags=0xf00 \
- --disable-hw-vlan \
+ --txd=256 \
+ --rxd=1024 \
--eth-peer=0,$TG_MAC1 \
--eth-peer=1,$TG_MAC2 \
--forward-mode=mac \