2 # Copyright 2000, International Business Machines Corporation and others.
5 # This software has been released under the terms of the IBM Public
6 # License. For details, see the LICENSE file in the top-level source
7 # directory or online at http://www.openafs.org/dl/license10.html
9 # This script runs the Rx stress test on a list of machines. It needs
10 # to be started on all the machines within a few seconds of each other
11 # and it will run indefinitely.
14 if ("$1" == "-noload") then
15 echo Skipping load
test.
19 if (! $?RX_STRESS_SERVERS
) then
20 setenv RX_STRESS_SERVERS
"sybil bigtime brick junior"
22 set servers
= ( $RX_STRESS_SERVERS )
24 if (! $?RX_STRESS_DIR
) setenv RX_STRESS_DIR ~
/afs
/3.3/obj
/rxkad
/test
27 # ./stress -client localhost -stopserver # kill existing server if any
32 while ($i <= $#servers)
33 .
/stress
-client $servers[$i] -hijacktest -calltest
35 echo Starting load
test on server
$servers[$i]
36 alias stm .
/stress
-client $servers[$i] \
37 -fastcalls 1000 -slowcalls 60 \
38 -copiouscalls 10 -sendlen 100000 -recvlen 100000 \
39 -repeatinterval $interval