[openib-general] krping/CMA Test Scrips
Tom Tucker
tom at opengridcomputing.com
Wed Mar 22 17:28:32 PST 2006
Here is what I've been running to test the CMA...
On the server side... multiple shells running the following...
#!/bin/bash
p=$1
echo Running server side on port $p
let i=1
while true
do
echo $i
echo "server,addr=192.168.69.131,port=$p" > /proc/krping
let i++
done
On the client side... multiple shells running the following...
#!/bin/bash
p=$1
if [ "$2" = "" ]
then
let c=1
else
let c=$2
fi
echo Running client side on port $p for $c iterations
let i=1
while true
do
echo $i
echo "client,addr=192.168.69.131,count=$c,port=$p"
> /proc/krping
let i++
done
With a 'count' of 1, this will establish and shutdown connections as
fast as the CMA can handle it including QP interactions due to the one
WR. This was very useful for debugging race conditions.
Killing the client and/or server at random intervals also uncovered some
bugs.
I did some limited testing on IB to confirm that the iWARP changes did
not regress the IB CM, and confirmed that it works equally well before
and after the IW CM changes.
More information about the general
mailing list