diff options
author | 2018-10-15 16:49:26 +0800 | |
---|---|---|
committer | 2018-10-18 14:58:22 +0800 | |
commit | f46e5e9becd2bc76e8335f5e8247ba21713b9510 (patch) | |
tree | 6416e21fc5a82f0fce8dfc512a6e1f9b579ff70b /stacks/lwip_stack/release/script | |
parent | af0587ee6e44e9057ff6047a00fcd9015df1f5a1 (diff) |
Fix: nStackMain parameters should not be fixed
Change-Id: I60d16736831fde5af6e657393195ca57242a6d3c
Signed-off-by: rainbow_0206 <jiangwenjiang@huawei.com>
Diffstat (limited to 'stacks/lwip_stack/release/script')
-rwxr-xr-x[-rw-r--r--] | stacks/lwip_stack/release/script/nstack_fun.sh | 4 | ||||
-rw-r--r-- | stacks/lwip_stack/release/script/nstack_var.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/stacks/lwip_stack/release/script/nstack_fun.sh b/stacks/lwip_stack/release/script/nstack_fun.sh index bb33a6a..5e16283 100644..100755 --- a/stacks/lwip_stack/release/script/nstack_fun.sh +++ b/stacks/lwip_stack/release/script/nstack_fun.sh @@ -332,10 +332,10 @@ run_nStackMain() log $LINENO "$env DPDK_TOOL_DIR=$DPDK_TOOL_DIR" log $LINENO "$env LD_LIBRARY_PATH=$LD_LIBRARY_PATH" log $LINENO "$env DPDK_LIB_PATH=$DPDK_LIB_PATH" - log $LINENO "./bin/nStackMain -c $1 -n 4 --huge-dir=$2 -m $3 stack -c $4 -sleep $5 -bind_cpu $6" + log $LINENO "./nStackMain -c $1 -n 4 --huge-dir=$2 --proc-type=primary --file-prefix nStackMain -m $3 stack -c $4 -sleep $5 -bind_cpu $6" check_file_size $DPDK_FILE cd ..; cd bin/ - ./nStackMain -c $1 -n 4 --huge-dir=$2 -m $3 stack -c $4 -sleep $5 -bind_cpu $6 >> $DPDK_FILE & + ./nStackMain -c $1 -n 4 --huge-dir=$2 --proc-type=primary --file-prefix nStackMain -m $3 stack -c $4 -sleep $5 -bind_cpu $6 >> $DPDK_FILE & } diff --git a/stacks/lwip_stack/release/script/nstack_var.sh b/stacks/lwip_stack/release/script/nstack_var.sh index 4c5c6f6..4fc5888 100644 --- a/stacks/lwip_stack/release/script/nstack_var.sh +++ b/stacks/lwip_stack/release/script/nstack_var.sh @@ -52,7 +52,7 @@ HUGE_PAGES=2048 HUGE_DIR=/mnt/nstackhuge SLEEP_INTERVAL=100 # tcpip thread sleep time, unit: us BIND_CPU=0 -MEM_SIZE=2048 +MEM_SIZE=3072 RTP_CORE_MASK=2 MASTER_EXEC_PATH="/product/gpaas/nStackMaster/bin" |