kill and restart the nameserver after running: perf 'without rpz' norpz
This commit is contained in:
@@ -403,7 +403,7 @@ if test -n "$QPERF"; then
|
||||
|
||||
# turn off rpz and measure queries/second again
|
||||
# Don't wait for a clean stop. Clean stops of this server need seconds
|
||||
# until the sockets are close. 5 or 10 seconds after that, the
|
||||
# until the sockets are closed. 5 or 10 seconds after that, the
|
||||
# server really stops and deletes named.pid.
|
||||
echo "# rpz off" >ns5/rpz-switch
|
||||
PID=`cat ns5/named.pid`
|
||||
@@ -411,6 +411,14 @@ if test -n "$QPERF"; then
|
||||
$PERL $SYSTEMTESTTOP/start.pl --noclean --restart . ns5
|
||||
perf 'without rpz' norpz
|
||||
|
||||
# Don't wait for a clean stop. Clean stops of this server need seconds
|
||||
# until the sockets are closed. 5 or 10 seconds after that, the
|
||||
# server really stops and deletes named.pid.
|
||||
echo "# rpz off" >ns5/rpz-switch
|
||||
PID=`cat ns5/named.pid`
|
||||
test -z "$PID" || kill -9 "$PID"
|
||||
$PERL $SYSTEMTESTTOP/start.pl --noclean --restart . ns5
|
||||
|
||||
NORPZ=`trim norpz`
|
||||
RPZ=`trim rpz`
|
||||
echo "I:$RPZ qps with RPZ versus $NORPZ qps without"
|
||||
|
||||
Reference in New Issue
Block a user