aboutsummaryrefslogtreecommitdiffstats
path: root/docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional
diff options
context:
space:
mode:
authorSridhar Rao <srao@linuxfoundation.org>2022-05-18 04:52:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2022-05-18 04:52:35 +0000
commit0b9096cfae4000358f09554200e9cd9a7188f282 (patch)
tree0db3de20fe2515059efd6aab46e2dbee41462c0f /docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional
parentaa47709de52b24d72e12eb73b16db71ed596015a (diff)
parent2349ab83373ff51fe2ea6a5139f7f6f47744b9cd (diff)
Merge "[docs] Kubernetes East-West"
Diffstat (limited to 'docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional')
-rw-r--r--docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional/parameters.lua7
-rw-r--r--docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional/prox.cfg43
2 files changed, 50 insertions, 0 deletions
diff --git a/docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional/parameters.lua b/docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional/parameters.lua
new file mode 100644
index 00000000..cd247ec4
--- /dev/null
+++ b/docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional/parameters.lua
@@ -0,0 +1,7 @@
+require "helper"
+name="Swap"
+eal="--socket-mem=256,0 --vdev=net_memif0,socket=/usrspcni/memif-b42cff2335c2-net1.sock --vdev=net_memif1,socket=/usrspcni/memif-b42cff2335c2-net2.sock"
+mcore="14"
+swapone="17"
+bucket_size_exp="11"
+heartbeat="60"
diff --git a/docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional/prox.cfg b/docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional/prox.cfg
new file mode 100644
index 00000000..97662f74
--- /dev/null
+++ b/docs/testing/user/userguide/east-west-benchmarking/Configurations/PROX/swap-pod_2-interfaces/unidirectional/prox.cfg
@@ -0,0 +1,43 @@
+[lua]
+dofile("parameters.lua")
+
+[eal options]
+-n=4 ; force number of memory channels
+no-output=no ; disable DPDK debug output
+eal=--proc-type auto ${eal}
+
+[port 0]
+name=p0
+rx desc=2048
+tx desc=2048
+vlan=yes
+;vdev=gen_tap
+lsc=no
+
+[port 1]
+name=p1
+rx desc=2048
+tx desc=2048
+vlan=yes
+;vdev=rec_tap
+lsc=no
+
+[variables]
+$mbs=8
+[defaults]
+mempool size=8K
+
+[global]
+name=${name}
+heartbeat timeout=${heartbeat}
+
+[core $mcore]
+mode=master
+
+[core $swapone]
+name=swap1
+task=0
+mode=swap
+rx port=p0
+tx port=p1
+drop=no