summaryrefslogtreecommitdiffstats
path: root/tests/roof.sh
blob: 12a4cfa3e9ac04271d2ba2cb29fcfc53796b9f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash

. config.sh

bufs=800000
bufs=$((bufs * 4))

cat roof.yaml | yq . > roof.json

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 "$@"