diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-11-17 16:58:02 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-11-17 16:58:02 +0100 |
commit | ea9626b60092f2d2c79431718c3ca8bc383429a6 (patch) | |
tree | f76a6dcf118fc3977eda1cbcf368018715ebe01c /tests/roof.sh | |
parent | 23f22348c5281fff685c1fa89255e7e1e76266a4 (diff) | |
download | ufo-roof-ea9626b60092f2d2c79431718c3ca8bc383429a6.tar.gz ufo-roof-ea9626b60092f2d2c79431718c3ca8bc383429a6.tar.bz2 ufo-roof-ea9626b60092f2d2c79431718c3ca8bc383429a6.tar.xz ufo-roof-ea9626b60092f2d2c79431718c3ca8bc383429a6.zip |
Networking setup
Diffstat (limited to 'tests/roof.sh')
-rwxr-xr-x | tests/roof.sh | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/tests/roof.sh b/tests/roof.sh index d0ec30a..df51679 100755 --- a/tests/roof.sh +++ b/tests/roof.sh @@ -1,3 +1,17 @@ +#! /bin/bash + +. config.sh + +bufs=800000 +bufs=$((bufs * 4)) + cat roof.yaml | yq . > roof.json -GI_TYPELIB_PATH="/usr/local/lib64/girepository-1.0/" python roof.py +ulimit -l unlimited +echo 1000000000 > /proc/sys/kernel/shmmax # 18446744073692774399 +echo 8000 > /proc/sys/vm/nr_hugepages # 0 + + +#VMA_THREAD_MODE=3 VMA_MTU=0 VMA_RX_POLL=0 VMA_SELECT_POLL=0 VMA_RING_ALLOCATION_LOGIC_RX=20 VMA_RX_BUFS=$bufs LD_PRELOAD=$vma_lib \ + LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib64" GI_TYPELIB_PATH="/usr/local/lib64/girepository-1.0/" \ + python roof.py "$@" |