From aa4bcac5a4eb1302bb8248fbce8ba0a723890b0a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Voc=C5=AF?= Date: Sat, 10 Jun 2006 11:29:20 +0000 Subject: [PATCH] * added test with --nosync and --norecover --- org.glite.lb.logger/src/perftest_il.sh | 178 ++++++++++++++++++--------------- 1 file changed, 96 insertions(+), 82 deletions(-) diff --git a/org.glite.lb.logger/src/perftest_il.sh b/org.glite.lb.logger/src/perftest_il.sh index 62985eb..b647c42 100644 --- a/org.glite.lb.logger/src/perftest_il.sh +++ b/org.glite.lb.logger/src/perftest_il.sh @@ -41,43 +41,43 @@ print_result rm -f /tmp/perftest.log.* -echo "--------------------------------" -echo "Interlogger test:" -echo " - events sent through IPC only" -echo " - events discarded in IL" -echo "--------------------------------" -echo "a) disabled event parsing, the server address (jobid) is hardcoded" -echo "b) disabled event synchornization from files" -echo "c) disabled recovery thread" -echo "d) lazy bkserver connection close" -echo "e) normal operation" -echo "" -echo -e "\tsmall_job \t big_job \t small_dag \t big_dag" - -PERFTEST_CONSUMER=$STAGEDIR/bin/glite-lb-interlogd-perf -LOGJOBS_ARGS="--nofile $COMM_ARGS" - -CONSUMER_ARGS="-d --nosend --noparse $COMM_ARGS" -echo -n "a)" -run_test il $numjobs -print_result - -CONSUMER_ARGS="-d --nosend --nosync $COMM_ARGS" -echo -n "b)" -run_test il $numjobs -print_result - -CONSUMER_ARGS="-d --nosend --norecover $COMM_ARGS" -echo -n "c)" -run_test il $numjobs -print_result - -echo "d) this test is not yet implemented" - -CONSUMER_ARGS="-d --nosend $COMM_ARGS" -echo -n "e)" -run_test il $numjobs -print_result +# echo "--------------------------------" +# echo "Interlogger test:" +# echo " - events sent through IPC only" +# echo " - events discarded in IL" +# echo "--------------------------------" +# echo "a) disabled event parsing, the server address (jobid) is hardcoded" +# echo "b) disabled event synchronization from files" +# echo "c) disabled recovery thread" +# echo "d) lazy bkserver connection close" +# echo "e) normal operation" +# echo "" +# echo -e "\tsmall_job \t big_job \t small_dag \t big_dag" + +# PERFTEST_CONSUMER=$STAGEDIR/bin/glite-lb-interlogd-perf +# LOGJOBS_ARGS="--nofile $COMM_ARGS" + +# CONSUMER_ARGS="-d --nosend --noparse $COMM_ARGS" +# echo -n "a)" +# run_test il $numjobs +# print_result + +# CONSUMER_ARGS="-d --nosend --nosync $COMM_ARGS" +# echo -n "b)" +# run_test il $numjobs +# print_result + +# CONSUMER_ARGS="-d --nosend --norecover $COMM_ARGS" +# echo -n "c)" +# run_test il $numjobs +# print_result + +# echo "d) this test is not yet implemented" + +# CONSUMER_ARGS="-d --nosend $COMM_ARGS" +# echo -n "e)" +# run_test il $numjobs +# print_result echo "-----------------------------------" echo "Interlogger test:" @@ -85,8 +85,9 @@ echo " - events sent through IPC & files" echo " - events discarded in IL" echo "-----------------------------------" echo "a) disabled event parsing, the server address (jobid) is hardcoded" -echo "b) disabled event synchornization from files" +echo "b) disabled event synchronization from files" echo "c) disabled recovery thread" +echo "x) disabled sync and recovery" echo "d) lazy bkserver connection close" echo "e) normal operation" echo "" @@ -113,59 +114,65 @@ run_test il $numjobs print_result rm -f /tmp/perftest.log.* -echo "d) this test is not yet imlemented" - -CONSUMER_ARGS="-d --nosend $COMM_ARGS" -echo -n "e)" -run_test il $numjobs -print_result -rm -f /tmp/perftest.log.* - - -echo "-------------------------------" -echo "Interlogger test:" -echo " - events sent through IPC" -echo " - events consumed by empty BS" -echo "-------------------------------" -echo "a) disabled event parsing, the server address (jobid) is hardcoded" -echo "b) disabled event synchornization from files" -echo "c) disabled recovery thread" -echo "d) lazy bkserver connection close" -echo "e) normal operation" -echo "" -echo -e "\tsmall_job \t big_job \t small_dag \t big_dag" - -PERFTEST_CONSUMER=$STAGEDIR/bin/glite-lb-bkserverd -CONSUMER_ARGS="-d --perf-sink=1" -PERFTEST_COMPONENT=$STAGEDIR/bin/glite-lb-interlogd-perf -LOGJOBS_ARGS="--nofile $COMM_ARGS" - - -COMPONENT_ARGS="-d --noparse $COMM_ARGS" -echo -n "a)" +CONSUMER_ARGS="-d --nosend --nosync --norecover $COMM_ARGS" +echo -n "x)" run_test il $numjobs print_result rm -f /tmp/perftest.log.* -COMPONENT_ARGS="-d --nosync $COMM_ARGS" -echo -n "b)" -run_test il $numjobs -print_result -rm -f /tmp/perftest.log.* +echo "d) this test is not yet implemented" -COMPONENT_ARGS="-d --norecover $COMM_ARGS" -echo -n "c)" +CONSUMER_ARGS="-d --nosend $COMM_ARGS" +echo -n "e)" run_test il $numjobs print_result rm -f /tmp/perftest.log.* -echo "d) this test is not yet implemented" -COMPONENT_ARGS="-d $COMM_ARGS" -echo -n "e)" -run_test il $numjobs -print_result -rm -f /tmp/perftest.log.* +# echo "-------------------------------" +# echo "Interlogger test:" +# echo " - events sent through IPC" +# echo " - events consumed by empty BS" +# echo "-------------------------------" +# echo "a) disabled event parsing, the server address (jobid) is hardcoded" +# echo "b) disabled event synchronization from files" +# echo "c) disabled recovery thread" +# echo "d) lazy bkserver connection close" +# echo "e) normal operation" +# echo "" +# echo -e "\tsmall_job \t big_job \t small_dag \t big_dag" + +# PERFTEST_CONSUMER=$STAGEDIR/bin/glite-lb-bkserverd +# CONSUMER_ARGS="-d --perf-sink=1" +# PERFTEST_COMPONENT=$STAGEDIR/bin/glite-lb-interlogd-perf +# LOGJOBS_ARGS="--nofile $COMM_ARGS" + + +# COMPONENT_ARGS="-d --noparse $COMM_ARGS" +# echo -n "a)" +# run_test il $numjobs +# print_result +# rm -f /tmp/perftest.log.* + +# COMPONENT_ARGS="-d --nosync $COMM_ARGS" +# echo -n "b)" +# run_test il $numjobs +# print_result +# rm -f /tmp/perftest.log.* + +# COMPONENT_ARGS="-d --norecover $COMM_ARGS" +# echo -n "c)" +# run_test il $numjobs +# print_result +# rm -f /tmp/perftest.log.* + +# echo "d) this test is not yet implemented" + +# COMPONENT_ARGS="-d $COMM_ARGS" +# echo -n "e)" +# run_test il $numjobs +# print_result +# rm -f /tmp/perftest.log.* echo "-----------------------------------" @@ -174,8 +181,9 @@ echo " - events sent through IPC & files" echo " - events consumed by empty BS" echo "-----------------------------------" echo "a) disabled event parsing, the server address (jobid) is hardcoded" -echo "b) disabled event synchornization from files" +echo "b) disabled event synchronization from files" echo "c) disabled recovery thread" +echo "x) disabled sync and recovery" echo "d) lazy bkserver connection close" echo "e) normal operation" echo "" @@ -205,6 +213,12 @@ run_test il $numjobs print_result rm -f /tmp/perftest.log.* +COMPONENT_ARGS="-d --nosync --norecover $COMM_ARGS" +echo -n "x)" +run_test il $numjobs +print_result +rm -f /tmp/perftest.log.* + echo "d) this test is not yet implemented" COMPONENT_ARGS="-d $COMM_ARGS" -- 1.8.2.3