Here are the steps to run the perf testing for JBossCache.

1. check out JBossCache head and do a build
2. Copy benchmark.sh (benchmakr-pojocache.sh for PojoCache) and 
bench.txt under your JBossCache home dir
3. If you are running PojoCache, remember to run aopcWithAnnoc for jdk1.4
or aopc50 for jdk5.0.
4. edit bench.txt appropriately.
 * Note that this is a very simple load test. So let's say if 
you want to try out a 3 node cluster, you will need to execute 
the same script on all three nodes. You can also specify the 
"-receiver" option to be in receiving mode only as well.
5. Copy bench.xml to output directory (or anywhere but you need to
edit your bench.txt entry accordingly).
5. Go to each node, do "sh benchmark.sh -config bench.txt" to start the script.
5a. If you are running JDK5.0 and want to test out aop-jdk50.jar lib as well, use
"sh benchmark-50.sh -config bench.txt"

Note:
a) Just as a guideline, when the object list size is 100, the
total payload is about 7038 bytes (from JGroups UDP layer); 200 is
13570, and 400 is 25400, respectively.
b) The bench.xml only runs with JGroups 2.3!
c) Be sure to turn off log4j.xml logging!
d) Now you can test PojoCache as well. Remember to use benchmark-pojocache.sh.
e) Or uou can want to comment out "sh build.sh aopcWithAnnoc" in 
benchmark-pojocache.sh. It only needs to build once for PojoCache.
f) You may need to add bind_address marco in benchmark.sh. Or 
uncomment the JAVA_OPTS line.
g) You can also use the build target "build.sh perfTestJar" to create a jar
tester and then use benchmark-jar.sh to run the perf test. You can use this
to run the perf test in other JBossCache releases.
