More tuning - set nice for kdmxts threads and for minisatip, increase txqueuelen
This commit is contained in:
parent
4d10fefa21
commit
c221bcf48e
@ -74,7 +74,7 @@ if test -n "$KMODULES"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# basic network
|
# basic network
|
||||||
ifconfig eth0 up
|
ifconfig eth0 txqueuelen 2000 up
|
||||||
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
|
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
|
||||||
|
|
||||||
# local boot
|
# local boot
|
||||||
|
@ -6,13 +6,20 @@ if test "$MINISATIP" != "yes"; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# renice kernel demuxers
|
||||||
|
a=""
|
||||||
|
for i in $(ps -o pid,nice,comm | grep "kdmxts_64" | cut -d 'k' -f 1); do
|
||||||
|
if test "$i" -gt 15; then a="$a $i"; fi
|
||||||
|
done
|
||||||
|
renice -15 $a
|
||||||
|
|
||||||
cd /tmp
|
cd /tmp
|
||||||
while test ! -f /tmp/nosatip; do
|
while test ! -f /tmp/nosatip; do
|
||||||
while ! test -r /tmp/satip-network; do
|
while ! test -r /tmp/satip-network; do
|
||||||
nc -l 127.0.0.1:999 -e /etc/init.d/satip-network
|
nc -l 127.0.0.1:999 -e /etc/init.d/satip-network
|
||||||
done
|
done
|
||||||
. /etc/sysconfig/config
|
. /etc/sysconfig/config
|
||||||
minisatip -f -g $MINISATIP_OPTS
|
nice -5 minisatip -f -g $MINISATIP_OPTS
|
||||||
logger "minisatip exited $?, restarting"
|
logger "minisatip exited $?, restarting"
|
||||||
done
|
done
|
||||||
if test -f /tmp/nosatip; then
|
if test -f /tmp/nosatip; then
|
||||||
|
Loading…
Reference in New Issue
Block a user