From: Jan Pospíšil Date: Wed, 7 Jun 2006 15:19:06 +0000 (+0000) Subject: complete LL performance tests X-Git-Tag: gridsite-core_R_1_3_1~21 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=1aeed36b89e01fa0fe874dde9a58fe392d6e17c5;p=jra1mw.git complete LL performance tests --- diff --git a/org.glite.lb.logger/src/perftest_ll.sh b/org.glite.lb.logger/src/perftest_ll.sh index 599867e..82deac9 100644 --- a/org.glite.lb.logger/src/perftest_ll.sh +++ b/org.glite.lb.logger/src/perftest_ll.sh @@ -1,6 +1,6 @@ #!/bin/bash -numjobs=$1 +numjobs=${1:-1} # XXX - there must be better way to find stage if [ -z "${GLITE_LOCATION}" ]; then @@ -15,20 +15,57 @@ DEBUG=${DEBUG:-0} # CONSUMER_ARGS= # PERFTEST_COMPONENT= # COMPONENT_ARGS= -#LOGJOBS_ARGS="" +# LOGJOBS_ARGS="" check_test_files || exit 1 +echo "---------------- +Locallogger test +---------------- +a) glite_lb_logd_perf_nofile --noParse --noIPC +b) glite_lb_logd_perf_nofile --noIPC +c) glite_lb_logd_perf --noIPC +d) glite_lb_logd_perf + +Number of jobs: $numjobs +" +echo -e "\tsmall_job \t big_job \t small_dag \t big_dag" + +# a) +echo -n "a)" PERFTEST_CONSUMER=$STAGEDIR/bin/glite-lb-logd-perf-nofile CONSUMER_ARGS="-d -v --noIPC --noParse" +init_result +run_test ll $numjobs +print_result_ev +print_result -echo -e "\tsmall_job \t big_job \t small_dag \t big_dag" +# b) +echo -n "b)" +PERFTEST_CONSUMER=$STAGEDIR/bin/glite-lb-logd-perf-nofile +CONSUMER_ARGS="-d -v --noIPC" +init_result +run_test ll $numjobs +print_result_ev +print_result + +# c) +echo -n "c)" +PERFTEST_CONSUMER=$STAGEDIR/bin/glite-lb-logd-perf +CONSUMER_ARGS="-d -v --noIPC" +init_result +run_test ll $numjobs +print_result_ev +print_result + +# d) +echo -n "d)" +PERFTEST_CONSUMER=$STAGEDIR/bin/glite-lb-interlogd-perf-empty +CONSUMER_ARGS="-d -v" +PERFTEST_COMPONENT=$STAGEDIR/bin/glite-lb-logd-perf +COMPONENT_ARGS="-d" +init_result run_test ll $numjobs -j=0 -while [[ $j -lt 4 ]] -do - echo -e -n "\t ${PERFTEST_EVENT_THROUGHPUT[$j]}" - j=$((j+1)) -done -echo "" +print_result_ev +print_result