summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-06-09 18:18:14 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-06-09 18:18:14 +0000
commit741f548c3b0099d0116148484d40e2fb3efd4b8a (patch)
tree7af26c0ab7956ee5c81e47cc227b9d1ea4d6479a
parent6f252a0941c0043ef40ea7d2520143b36ac7f646 (diff)
downloadATCD-741f548c3b0099d0116148484d40e2fb3efd4b8a.tar.gz
ChangeLogTag:Mon Jun 9 13:16:38 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r--ChangeLog5
-rwxr-xr-xbin/performance_stats.sh62
2 files changed, 66 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 349049e7559..880e177e5e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun 9 13:16:38 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
+
+ * bin/performance_stats.sh: The sequence<> latency tests will also
+ be monitored on a daily basis.
+
Mon Jun 9 08:27:12 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Makefile.ace:
diff --git a/bin/performance_stats.sh b/bin/performance_stats.sh
index d22a0783412..5ce44caf9d8 100755
--- a/bin/performance_stats.sh
+++ b/bin/performance_stats.sh
@@ -14,6 +14,10 @@ DATE=`date +%Y/%m/%d-%H:%M`
COMMON_TESTS="AMI DII DSI Deferred Single_Threaded Thread_Per_Connection Thread_Pool"
+SEQUENCE_TESTS="Single_Threaded"
+
+SEQ_TEST_TYPE="octet long short char double longlong"
+
cd $DEST/source
/bin/sync
@@ -43,6 +47,25 @@ if grep -q 'Total throughput: ' Default.log; then
) >> Default.txt
fi
+/bin/sync
+sleep 2
+(
+ cd $ACE_ROOT/TAO/performance-tests/Sequence_Latency/Single_Threaded;
+
+ for i in $SEQ_TEST_TYPE; do
+ (
+ ./default_configuration.pl -t $i > $DEST/source/Sequence_Default_${i}.log 2>&1
+ if grep -q 'Total throughput: ' $DEST/source/Sequence_Default_${i}.log; then
+ (
+ echo -n $DATE " ";
+ awk '/^Total throughput:/ {print $3}' $DEST/source/Sequence_Default_${i}.log
+ ) >> $DEST/source/Sequence_Default_${i}.txt
+ fi
+ )
+ done
+
+)
+
for i in $COMMON_TESTS; do
/bin/sync
sleep 10
@@ -53,11 +76,32 @@ for i in $COMMON_TESTS; do
if grep -q 'Total throughput: ' ${i}.log; then
(
echo -n $DATE " ";
- awk '/^Total throughput:/ {print $3}' ${i}.log
+ awk '/^Total throughput:/ {print $3}' $DEST/source/${i}.log
) >> ${i}.txt
fi
done
+for i in $SEQUENCE_TESTS; do
+ /bin/sync
+ sleep 10
+ (
+ cd $ACE_ROOT/TAO/performance-tests/Sequence_Latency/${i};
+ for j in $SEQ_TEST_TYPE; do
+ (
+ ./run_test.pl > $DEST/source/Sequence_${i}_${j}.log 2>&1
+
+ if grep -q 'Total throughput: ' $DEST/source/Sequence_${i}_${j}.log; then
+ (
+ echo -n $DATE " ";
+ awk '/^Total throughput:/ {print $3}' $DEST/source/Sequence_${i}_${j}.log
+ ) >> $DEST/source/Sequence_${i}_${j}.txt
+ fi
+ )
+ done
+ )
+
+done
+
for i in $COMMON_TESTS TCP Default; do
$ACE_ROOT/bin/generate_performance_chart.sh ${i}.txt ${i}.png "$i"
/bin/cp ${i}.png $DEST/images/${i}.png
@@ -65,6 +109,22 @@ for i in $COMMON_TESTS TCP Default; do
/usr/bin/tail -5 ${i}.txt > $DEST/data/LAST_${i}.txt
done
+for i in $SEQ_TEST_TYPE ; do
+ $ACE_ROOT/bin/generate_performance_chart.sh Sequence_Default_${i}.txt Sequence_Default_${i}.png "Default Configuration for $i sequences"
+ /bin/cp Sequence_Default_${i}.png $DEST/images/Sequence_Default_${i}.png
+ /usr/bin/tac $DEST/source/Sequence_Default_${i}.txt > $DEST/data/Sequence_Default_${i}.txt
+ /usr/bin/tail -5 $DEST/source/Sequence_Default_${i}.txt > $DEST/data/LAST_Sequence_Default_${i}.txt
+done
+
+for i in $SEQUENCE_TESTS; do
+for j in $SEQ_TEST_TYPE; do
+ $ACE_ROOT/bin/generate_performance_chart.sh Sequence_${i}_${j}.txt Sequence_${i}_${j}.png "Sequence_$i_$j"
+ /bin/cp Sequence_${i}_${j}.png $DEST/images/Sequence_${i}_${j}.png
+ /usr/bin/tac Sequence_${i}_${j}.txt > $DEST/data/Sequence_${i}_${j}.txt
+ /usr/bin/tail -5 Sequence_${i}_${j}.txt > $DEST/data/LAST_Sequence_${i}_${j}.txt
+done
+done
+
gnuplot <<_EOF_ >/dev/null 2>&1
set xdata time
set timefmt '%Y/%m/%d-%H:%M'