From b6d3d6e668b793220f2d3af1bc3e828553dc3fe6 Mon Sep 17 00:00:00 2001 From: hongbotian Date: Mon, 30 Nov 2015 02:58:25 -0500 Subject: bottleneck testcase based on rubbos JIRA: BOTTLENECK-31 Change-Id: I35b1bcdca28c4e06e316143cc895b4cdf689d0d3 Signed-off-by: hongbotian --- .../rubbos_scripts/1-1-1/rubbos_conf/Config.java | 68 +++++++ rubbos/rubbos_scripts/1-1-1/rubbos_conf/Makefile | 80 ++++++++ .../1-1-1/rubbos_conf/build.properties | 8 + rubbos/rubbos_scripts/1-1-1/rubbos_conf/build.xml | 114 ++++++++++++ rubbos/rubbos_scripts/1-1-1/rubbos_conf/config.mk | 32 ++++ rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh | 92 ++++++++++ .../1-1-1/rubbos_conf/mysql.properties | 83 +++++++++ .../1-1-1/rubbos_conf/rubbos-servletsBO.sh | 75 ++++++++ .../1-1-1/rubbos_conf/rubbos-servletsRW.sh | 75 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_1000 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_1100 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_1200 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_1300 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_1400 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_1500 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_1600 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_1700 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_200 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_300 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_400 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_500 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_600 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_700 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_800 | 79 ++++++++ .../1-1-1/rubbos_conf/rubbos.properties_900 | 79 ++++++++ rubbos/rubbos_scripts/1-1-1/rubbos_conf/web.xml | 203 +++++++++++++++++++++ 26 files changed, 2094 insertions(+) create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/Makefile create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/build.properties create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/build.xml create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/config.mk create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsBO.sh create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsRW.sh create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1000 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1100 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1200 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1300 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1400 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1500 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1600 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1700 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_200 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_300 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_400 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_500 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_600 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_700 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_800 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_900 create mode 100644 rubbos/rubbos_scripts/1-1-1/rubbos_conf/web.xml (limited to 'rubbos/rubbos_scripts/1-1-1/rubbos_conf') diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java new file mode 100644 index 00000000..8956b506 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java @@ -0,0 +1,68 @@ + +/** + * RUBBoS: Rice University Bulletin Board System. + * Copyright (C) 2001-2004 Rice University and French National Institute For + * Research In Computer Science And Control (INRIA). + * Contact: jmob@objectweb.org + * + * This library is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by the + * Free Software Foundation; either version 2.1 of the License, or any later + * version. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License + * for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this library; if not, write to the Free Software Foundation, + * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * Initial developer(s): Emmanuel Cecchet. + * Contributor(s): ______________________. + */ + +package edu.rice.rubbos.servlets; + +/** + * This class contains the configuration for the servlets like the path of HTML + * files, etc ... + * + * @author Emmanuel Cecchet and Julie Marguerite + * @version 1.0 + */ + +public class Config +{ + + /** + * Creates a new Config instance. + */ + Config() + { + } + + + public static final String HTMLFilesPath = "/bottlenecks/rubbos/app/RUBBoS/Servlet_HTML"; + public static final String[] DatabaseProperties = {"/bottlenecks/rubbos/app/RUBBoS/Servlets/mysql.properties"}; + public static final int DatabasePropertiesSize = 1; + + public static final int AboutMePoolSize = 10; + public static final int BrowseCategoriesPoolSize = 6; + public static final int BrowseRegionsPoolSize = 6; + public static final int BuyNowPoolSize = 4; + public static final int PutBidPoolSize = 8; + public static final int PutCommentPoolSize = 2; + public static final int RegisterItemPoolSize = 2; + public static final int RegisterUserPoolSize = 2; + public static final int SearchItemsByCategoryPoolSize = 15; + public static final int SearchItemsByRegionPoolSize = 20; + public static final int StoreBidPoolSize = 8; + public static final int StoreBuyNowPoolSize = 4; + public static final int StoreCommentPoolSize = 2; + public static final int ViewBidHistoryPoolSize = 4; + public static final int ViewItemPoolSize = 20; + public static final int ViewUserInfoPoolSize = 4; +} diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Makefile b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Makefile new file mode 100644 index 00000000..565b22be --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Makefile @@ -0,0 +1,80 @@ + + +########################### +# RUBBoS Makefile # +########################### + +include config.mk + +############################## +# Environment variables # +############################## + +JAVA = $(JAVA_HOME)/bin/java +JAVAC = $(JAVA_HOME)/bin/javac +JAVACOPTS = -deprecation +JAVACC = $(JAVAC) $(JAVACOPTS) +RMIC = $(JAVA_HOME)/bin/rmic +RMIREGISTRY= $(JAVA_HOME)/bin/rmiregistry +#CLASSPATH = .:$(J2EE_HOME)/lib/j2ee.jar:$(JAVA_HOME)/jre/lib/rt.jar:$TOMCATservlet.jar +CLASSPATH = .:$(J2EE_HOME)/lib/j2ee.jar:$(JAVA_HOME)/jre/lib/rt.jar +JAVADOC = $(JAVA_HOME)/javadoc + + +######################### +# Servlets version # +######################### +#ServletPrinter +Servlets = Config TimeManagement BrowseCategories Auth RegisterUser RubbosHttpServlet BrowseRegions SearchItemsByCategory SearchItemsByRegion ViewItem ViewBidHistory ViewUserInfo SellItemForm RegisterItem PutCommentAuth PutComment StoreComment BuyNowAuth BuyNow StoreBuyNow PutBidAuth PutBid StoreBid AboutMe + +all_servlets_sources = $(addprefix edu/rice/rubbos/servlets/, $(addsuffix .java, $(Servlets))) +all_servlets_obj = $(addprefix edu/rice/rubbos/servlets/, $(addsuffix .class, $(Servlets))) + +servlets: $(all_servlets_obj) + +clean_servlets: + rm -f edu/rice/rubbos/servlets/*.class + +#################### +# Client # +#################### + +ClientFiles = URLGenerator URLGeneratorPHP RUBBoSProperties Stats \ + TransitionTable ClientEmulator UserSession + +all_client_sources = $(addprefix edu/rice/rubbos/client/, $(addsuffix .java, $(ClientFiles))) +all_client_obj = $(addprefix edu/rice/rubbos/client/, $(addsuffix .class, $(ClientFiles))) edu/rice/rubbos/beans/TimeManagement.class + +client: $(all_client_obj) + +initDB: + ${JAVA} -classpath .:./database edu.rice.rubbos.client.InitDB ${PARAM} + +emulator: + ${JAVA} -classpath Client:Client/rubbos_client.jar:. -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + +emulatorDebug: + ${JAVA} -classpath Client:Client/rubbos_client.jar:. -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +############################ +# Global rules # +############################ + + +all: beans ejb_servlets client javadoc flush_cache + +world: all servlets + +javadoc : + ${JAVADOC} -d ./doc/api -bootclasspath ${CLASSPATH} -version -author -windowtitle "RUBBoS API" -header "RUBBoS (C)2001 Rice University/INRIA
" edu.rice.rubbos.beans edu.rice.rubbos.beans.servlets edu.rice.rubbos.client + +clean: + rm -f core edu/rice/rubbos/beans/*.class edu/rice/rubbos/beans/JOnAS* edu/rice/rubbos/beans/servlets/*.class edu/rice/rubbos/client/*.class edu/rice/rubbos/servlets/*.class + +%.class: %.java + ${JAVACC} -classpath ${CLASSPATH} $< + +flush_cache: bench/flush_cache.c + gcc bench/flush_cache.c -o bench/flush_cache + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/build.properties b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/build.properties new file mode 100644 index 00000000..dc3fbaaa --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/build.properties @@ -0,0 +1,8 @@ + +src = . +dist =. +classes.dir = ./build +web.dir = ../Servlet_HTML + +j2ee = /bottlenecks/rubbos/app/j2sdkee1.3.1 +mysql_connector = ./mysql-connector-java-5.1.7-bin.jar diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/build.xml b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/build.xml new file mode 100644 index 00000000..37472041 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/build.xml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RUBBoS API]]> + Copyright © 2004 - ObjectWeb Consortium - All Rights Reserved.]]> + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/config.mk b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/config.mk new file mode 100644 index 00000000..9182da4d --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/config.mk @@ -0,0 +1,32 @@ + +############################## +# Environment variables # +############################## + +JAVA = $(JAVA_HOME)/bin/java +JAVAC = $(JAVA_HOME)/bin/javac +JAVACOPTS = -deprecation +JAVACC = $(JAVAC) $(JAVACOPTS) +RMIC = $(JAVA_HOME)/bin/rmic +RMIREGISTRY= $(JAVA_HOME)/bin/rmiregistry +CLASSPATH = .:$(J2EE_HOME)/lib/j2ee.jar:$(JAVA_HOME)/jre/lib/rt.jar:$(SERVLET_API_PATH) +JAVADOC = $(JAVA_HOME)/bin/javadoc +JAR = $(JAVA_HOME)/bin/jar + +GENIC = ${JONAS_ROOT}/bin/unix/GenIC + +MAKE = gmake +CP = /bin/cp +RM = /bin/rm +MKDIR = /bin/mkdir + + +# EJB server: supported values are jonas or jboss +EJB_SERVER = jonas + +# DB server: supported values are MySQL or PostgreSQL +DB_SERVER = MySQL + +%.class: %.java + ${JAVACC} -classpath ${CLASSPATH} $< + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh new file mode 100644 index 00000000..ecaa7eb1 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/cpu_mem.sh @@ -0,0 +1,92 @@ +#!/bin/bash + +cd /bottlenecks/rubbos/rubbos_scripts/1-1-1 +source set_bottlenecks_rubbos_env.sh +cd - + +# delay inbetween snapshots + +delay=1 + +# central host to send results to +analysis_host=$BENCHMARK_HOST + +# monitoring start/end time in format YYYYmmddHHMMSS (20050920152059) +start_time=$1 +end_time=$2 + +# data filename suffix +data_filename_suffix="`hostname`-${start_time}.data" + +# sar filename +sar_filename=$RUBBOS_APP/sar-${data_filename_suffix} + +# iostat filename +iostat_filename=$RUBBOS_APP/iostat-${data_filename_suffix} + +# ps filename +ps_filename=$RUBBOS_APP/ps-${data_filename_suffix} + +# date command in predefined format +date_cmd="date +%Y%m%d%H%M%S" +date=`$date_cmd` + +# TEST MODE: start_time will be 2 seconds from launch, end time 5 seconds +#start_time=`expr $date \+ 2` +#end_time=`expr $date \+ 5` + +#echo +#echo Current timestamp: $date +#echo Start timestamp: $start_time +#echo End timestamp: $end_time +#echo + +# make sure they have all arguments +if [ "$end_time" = "" ]; then + echo usage: $0 \ \ \ \ + echo start_time and end_time are in YYYYmmddHHMMSS format + echo ie: 9/30/2005, 2:31:54pm = 20050930143154 + echo + exit +fi + +# wait until start time +#echo -n Waiting until start time \(${start_time}\).. +date=`$date_cmd` +while [ $date -lt $start_time ]; do + sleep 1 + date=`$date_cmd` +done +#echo + + +# launch iostat +sudo nice -n -1 $SYSSTAT_HOME/bin/iostat -dxtk $delay > ${iostat_filename} & +iostat_pid=$! + + +# run test until end time +#echo -n Running test until end time \(${end_time}\).. +while [ $date -lt $end_time ]; do + + sleep $delay + date=`$date_cmd` +done +#echo + + +# kill iostat +sudo kill -9 $iostat_pid + + +# chmod + +sudo chmod g+w ${iostat_filename} +sudo chmod o+r ${iostat_filename} + + +# send data to analysis host +#echo Sending data to analysis host.. +#scp -o StrictHostKeyChecking=no -o BatchMode=yes ${sar_filename} ${analysis_host}:/tmp/elba/rubbos +#scp -o StrictHostKeyChecking=no -o BatchMode=yes ${ps_filename} ${analysis_host}:/tmp/elba/rubbos + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties new file mode 100644 index 00000000..3c8c0add --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/mysql.properties @@ -0,0 +1,83 @@ + +###################### PostgreSQL DataSource configuration example +# + + +##### +# DataSource configuration +# +datasource.name mysql + +datasource.url jdbc:mysql://node9:3313/rubbos +datasource.classname com.mysql.jdbc.Driver + +datasource.username elba +datasource.password elba + + +##### +# ConnectionManager configuration +# + +# JDBC connection checking level. +# 0 = no special checking +# 1 = check physical connection is still open before reusing it +# 2 = try every connection before reusing it +jdbc.connchecklevel 1 + +# Max age for jdbc connections +# nb of minutes a connection can be kept in the pool +jdbc.connmaxage 30 + +# Max concurrent threads on same tx/connection +# (not used with a customized jdbc datasource) +jdbc.connmaxthreads 4 + +# Max wait time if more than connmaxthreads threads request conn +# value is in seconds +# (not used with a customized jdbc datasource) +jdbc.connexcltimeout 30 + +# Test statement +jdbc.connteststmt select 1 + + +###### +# Customizing JDBC DataSource configuration +# + +# Name of the class implementing the XADataSource +#datasource.factory org.objectweb.jonas.dbm.JonasStandardXADataSource + +# JNDI name use to bind the XADataSource +#datasource.xadataname postgre1_xa + +# Minimum number of physical connection used by the XADataSource +#datasource.mincon 5 + +# Maximum number of physical connection used by the XADataSource +#datasource.maxcon 10 + +# Minimum number of XAConnection used by the pool +#jdbc.minconpool 10 + +# Maximum number of XAConnection used by the pool +#jdbc.maxconpool 20 + +# Time between two clean-up of old unused connection +# (value is in millisecond) +#jdbc.sleeptimepool 300000 + +# Force the gc to be launched when cleaning up +#jdbc.gcpool false + +# In case of no connection in the pool, +# deadlockpool is the global time to re-try before throwing an exception +# (value is in millisecond) +#jdbc.deadlockpool 300000 + +# In case of no connection in the pool, +# loopwaitpool is the unit time to re-try +# (value is in millisecond) +#jdbc.loopwaitpool 10000 + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsBO.sh b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsBO.sh new file mode 100644 index 00000000..0113de50 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsBO.sh @@ -0,0 +1,75 @@ +#!/bin/bash + +############################################################################### +# +# This script runs first the RUBBoS browsing mix, then the read/write mix +# for each rubbos.properties_XX specified where XX is the number of emulated +# clients. Note that the rubbos.properties_XX files must be configured +# with the corresponding number of clients. +# In particular set the following variables in rubis.properties_XX: +# httpd_use_version = Servlets +# workload_number_of_clients_per_node = XX/number of client machines +# workload_transition_table = yourPath/RUBBoS/workload/transitions.txt +# +# This script should be run from the RUBBoS/bench directory on the local +# client machine. +# Results will be generated in the RUBBoS/bench directory. +# +################################################################################ + +#setenv SERVLETDIR $RUBBOS_HOME/Servlets + +# Go back to RUBBoS root directory +cd .. + +# Browse only + +cp -fi ./workload/browse_only_transitions.txt ./workload/user_transitions.txt +cp -fi ./workload/browse_only_transitions.txt ./workload/author_transitions.txt + +scp ./workload/browse_only_transitions.txt ${CLIENT1_HOST}:${RUBBOS_HOME}/workload/user_transitions.txt +scp ./workload/browse_only_transitions.txt ${CLIENT1_HOST}:${RUBBOS_HOME}/workload/author_transitions.txt + +scp ./workload/browse_only_transitions.txt ${CLIENT2_HOST}:${RUBBOS_HOME}/workload/user_transitions.txt +scp ./workload/browse_only_transitions.txt ${CLIENT2_HOST}:${RUBBOS_HOME}/workload/author_transitions.txt + +scp ./workload/browse_only_transitions.txt ${CLIENT3_HOST}:${RUBBOS_HOME}/workload/user_transitions.txt +scp ./workload/browse_only_transitions.txt ${CLIENT3_HOST}:${RUBBOS_HOME}/workload/author_transitions.txt + +scp ./workload/browse_only_transitions.txt ${CLIENT4_HOST}:${RUBBOS_HOME}/workload/user_transitions.txt +scp ./workload/browse_only_transitions.txt ${CLIENT4_HOST}:${RUBBOS_HOME}/workload/author_transitions.txt + +scp Client/rubbos.properties ${CLIENT1_HOST}:${RUBBOS_HOME}/Client/rubbos.properties +scp Client/rubbos.properties ${CLIENT2_HOST}:${RUBBOS_HOME}/Client/rubbos.properties +scp Client/rubbos.properties ${CLIENT3_HOST}:${RUBBOS_HOME}/Client/rubbos.properties +scp Client/rubbos.properties ${CLIENT4_HOST}:${RUBBOS_HOME}/Client/rubbos.properties + + +bench/flush_cache 490000 +ssh $HTTPD_HOST "$RUBBOS_HOME/bench/flush_cache 880000" # web server +ssh $MYSQL1_HOST "$RUBBOS_HOME/bench/flush_cache 880000" # database server +ssh $TOMCAT1_HOST "$RUBBOS_HOME/bench/flush_cache 780000" # servlet server +ssh $CLIENT1_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client +ssh $CLIENT2_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client +ssh $CLIENT3_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client +ssh $CLIENT4_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client + +RAMPUP=480000 +MI=720000 +current_seconds=`date +%s` +start_seconds=`echo \( $RAMPUP / 1000 \) + $current_seconds - 60 | bc` +SMI=`date -d "1970-01-01 $start_seconds secs UTC" +%Y%m%d%H%M%S` +end_seconds=`echo \( $RAMPUP / 1000 + $MI / 1000 + 30 \) + $current_seconds | bc` +EMI=`date -d "1970-01-01 $end_seconds secs UTC" +%Y%m%d%H%M%S` +ssh $BENCHMARK_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $CLIENT1_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $CLIENT2_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $CLIENT3_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $CLIENT4_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $HTTPD_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $TOMCAT1_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $MYSQL1_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & + + +make emulator + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsRW.sh b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsRW.sh new file mode 100644 index 00000000..b3286f20 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsRW.sh @@ -0,0 +1,75 @@ +#!/bin/bash + +############################################################################### +# +# This script runs first the RUBBoS browsing mix, then the read/write mix +# for each rubbos.properties_XX specified where XX is the number of emulated +# clients. Note that the rubbos.properties_XX files must be configured +# with the corresponding number of clients. +# In particular set the following variables in rubis.properties_XX: +# httpd_use_version = Servlets +# workload_number_of_clients_per_node = XX/number of client machines +# workload_transition_table = yourPath/RUBBoS/workload/transitions.txt +# +# This script should be run from the RUBBoS/bench directory on the local +# client machine. +# Results will be generated in the RUBBoS/bench directory. +# +################################################################################ + +#setenv SERVLETDIR $RUBBOS_HOME/Servlets + +# Go back to RUBBoS root directory +cd .. + +# Read/write mix + +cp --fi ./workload/user_default_transitions.txt ./workload/user_transitions.txt +cp --fi ./workload/author_default_transitions.txt ./workload/author_transitions.txt + +scp ./workload/user_default_transitions.txt ${CLIENT1_HOST}:${RUBBOS_HOME}/workload/user_transitions.txt +scp ./workload/author_default_transitions.txt ${CLIENT1_HOST}:${RUBBOS_HOME}/workload/author_transitions.txt + +scp ./workload/user_default_transitions.txt ${CLIENT2_HOST}:${RUBBOS_HOME}/workload/user_transitions.txt +scp ./workload/author_default_transitions.txt ${CLIENT2_HOST}:${RUBBOS_HOME}/workload/author_transitions.txt + +scp ./workload/user_default_transitions.txt ${CLIENT3_HOST}:${RUBBOS_HOME}/workload/user_transitions.txt +scp ./workload/author_default_transitions.txt ${CLIENT3_HOST}:${RUBBOS_HOME}/workload/author_transitions.txt + +scp ./workload/user_default_transitions.txt ${CLIENT4_HOST}:${RUBBOS_HOME}/workload/user_transitions.txt +scp ./workload/author_default_transitions.txt ${CLIENT4_HOST}:${RUBBOS_HOME}/workload/author_transitions.txt + +scp Client/rubbos.properties ${CLIENT1_HOST}:${RUBBOS_HOME}/Client/rubbos.properties +scp Client/rubbos.properties ${CLIENT2_HOST}:${RUBBOS_HOME}/Client/rubbos.properties +scp Client/rubbos.properties ${CLIENT3_HOST}:${RUBBOS_HOME}/Client/rubbos.properties +scp Client/rubbos.properties ${CLIENT4_HOST}:${RUBBOS_HOME}/Client/rubbos.properties + + +bench/flush_cache 490000 +ssh $HTTPD_HOST "$RUBBOS_HOME/bench/flush_cache 880000" # web server +ssh $MYSQL1_HOST "$RUBBOS_HOME/bench/flush_cache 880000" # database server +ssh $TOMCAT1_HOST "$RUBBOS_HOME/bench/flush_cache 780000" # servlet server +ssh $CLIENT1_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client +ssh $CLIENT2_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client +ssh $CLIENT3_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client +ssh $CLIENT4_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client + +RAMPUP=480000 +MI=720000 +current_seconds=`date +%s` +start_seconds=`echo \( $RAMPUP / 1000 \) + $current_seconds - 60 | bc` +SMI=`date -d "1970-01-01 $start_seconds secs UTC" +%Y%m%d%H%M%S` +end_seconds=`echo \( $RAMPUP / 1000 + $MI / 1000 + 30 \) + $current_seconds | bc` +EMI=`date -d "1970-01-01 $end_seconds secs UTC" +%Y%m%d%H%M%S` +ssh $BENCHMARK_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $CLIENT1_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $CLIENT2_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $CLIENT3_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $CLIENT4_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $HTTPD_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $TOMCAT1_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & +ssh $MYSQL1_HOST "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & + + +make emulator + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1000 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1000 new file mode 100644 index 00000000..b775321b --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1000 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 200 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1100 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1100 new file mode 100644 index 00000000..2598f8a5 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1100 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 220 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1200 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1200 new file mode 100644 index 00000000..e3dc186c --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1200 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 240 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1300 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1300 new file mode 100644 index 00000000..95a222ff --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1300 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 260 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1400 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1400 new file mode 100644 index 00000000..e9571f38 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1400 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 280 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1500 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1500 new file mode 100644 index 00000000..16f7efce --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1500 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 300 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1600 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1600 new file mode 100644 index 00000000..c494b9f3 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1600 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 320 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1700 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1700 new file mode 100644 index 00000000..e26c5767 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_1700 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 340 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_200 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_200 new file mode 100644 index 00000000..b15f10da --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_200 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /bottlenecks/rubbos/app/jdk1.6.0_27/bin/java -classpath .:/bottlenecks/rubbos/app/RUBBoS/Client/:/bottlenecks/rubbos/app/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 40 + + +# Workload: precise which transition table to use +workload_user_transition_table = /bottlenecks/rubbos/app/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /bottlenecks/rubbos/app/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /bottlenecks/rubbos/app/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /bottlenecks/rubbos/app/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_300 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_300 new file mode 100644 index 00000000..96ac98c5 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_300 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 60 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_400 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_400 new file mode 100644 index 00000000..de9bfd99 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_400 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 80 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_500 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_500 new file mode 100644 index 00000000..b2c2c520 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_500 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 100 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_600 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_600 new file mode 100644 index 00000000..36b7f476 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_600 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 120 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_700 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_700 new file mode 100644 index 00000000..dd6b87d6 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_700 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 140 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_800 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_800 new file mode 100644 index 00000000..b0c4275a --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_800 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 160 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_900 b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_900 new file mode 100644 index 00000000..1a6b8c0a --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos.properties_900 @@ -0,0 +1,79 @@ + +#n HTTP server information +httpd_hostname = node7 +httpd_port = 8000 + +# C/JDBC server to monitor (if any) +cjdbc_hostname = + +# Precise which version to use. Valid options are : PHP, Servlets, EJB +httpd_use_version = Servlets + +# EJB server information +ejb_server = +ejb_html_path = +ejb_script_path = + +# Servlets server information +servlets_server = node8 +servlets_html_path = /rubbos +servlets_script_path = /rubbos/servlet + +# PHP information +php_html_path = /PHP +php_script_path = /PHP + +#Database information +database_master_server = node9 + +database_slave_servers = +workload_remote_client_nodes = node3,node4,node5,node6 +workload_remote_client_command = /mnt/elba/rubbos/jdk1.6.0_27/bin/java -classpath .:/mnt/elba/rubbos/RUBBoS/Client/:/mnt/elba/rubbos/RUBBoS/Client/rubbos_client.jar -Xmx1300m -Dhttp.keepAlive=true -Dhttp.maxConnections=1000000 edu.rice.rubbos.client.ClientEmulator + + +workload_number_of_clients_per_node = 180 + + +# Workload: precise which transition table to use +workload_user_transition_table = /mnt/elba/rubbos/RUBBoS/workload/user_transitions.txt +workload_author_transition_table = /mnt/elba/rubbos/RUBBoS/workload/author_transitions.txt +workload_number_of_columns = 24 +workload_number_of_rows = 26 +workload_maximum_number_of_transitions = 1000 +workload_use_tpcw_think_time = yes +workload_number_of_stories_per_page = 20 + +workload_up_ramp_time_in_ms = 480000 +workload_up_ramp_slowdown_factor = 2 + +workload_session_run_time_in_ms = 720000 +workload_down_ramp_time_in_ms = 30000 +workload_down_ramp_slowdown_factor = 3 +workload_percentage_of_author = 10 + +# Users policy +database_number_of_authors = 50 +database_number_of_users = 500000 + +# Stories policy +database_story_dictionnary = /mnt/elba/rubbos/RUBBoS/database/dictionary +database_story_maximum_length = 1024 +database_oldest_story_year = 1998 +database_oldest_story_month = 1 + +# Comments policy +database_comment_max_length = 1024 + +# Connection timedout settings +connection_time_out_interval = 300 + + +# Monitoring Information +monitoring_debug_level = 1 +monitoring_program = /mnt/elba/rubbos/sysstat-9.0.6/bin/sar +monitoring_options = -u ALL -I SUM +monitoring_sampling_in_seconds = 1 +monitoring_rsh = /usr/bin/ssh +monitoring_scp = /usr/bin/scp +monitoring_gnuplot_terminal = png + diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/web.xml b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/web.xml new file mode 100644 index 00000000..e0a32b6b --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/web.xml @@ -0,0 +1,203 @@ + + + + + + + + RUBBos + + Rice University Bulletin Board System + + + + + BrowseCategories + edu.rice.rubbos.servlets.BrowseCategories + + + + BrowseStoriesByCategory + edu.rice.rubbos.servlets.BrowseStoriesByCategory + + + + ViewComment + edu.rice.rubbos.servlets.ViewComment + + + + ModerateComment + edu.rice.rubbos.servlets.ModerateComment + + + + PostComment + edu.rice.rubbos.servlets.PostComment + + + + StoreComment + edu.rice.rubbos.servlets.StoreComment + + + + SubmitStory + edu.rice.rubbos.servlets.SubmitStory + + + + AcceptStory + edu.rice.rubbos.servlets.AcceptStory + + + + RejectStory + edu.rice.rubbos.servlets.RejectStory + + + + ReviewStories + edu.rice.rubbos.servlets.ReviewStories + + + + StoreStory + edu.rice.rubbos.servlets.StoreStory + + + + ViewStory + edu.rice.rubbos.servlets.ViewStory + + + + StoriesOfTheDay + edu.rice.rubbos.servlets.StoriesOfTheDay + + + + Search + edu.rice.rubbos.servlets.Search + + + + StoreModeratorLog + edu.rice.rubbos.servlets.StoreModeratorLog + + + + RegisterUser + edu.rice.rubbos.servlets.RegisterUser + + + + Author + edu.rice.rubbos.servlets.Author + + + + OlderStories + edu.rice.rubbos.servlets.OlderStories + + + + + BrowseCategories + /servlet/edu.rice.rubbos.servlets.BrowseCategories + + + + BrowseStoriesByCategory + /servlet/edu.rice.rubbos.servlets.BrowseStoriesByCategory + + + + ViewComment + /servlet/edu.rice.rubbos.servlets.ViewComment + + + + ModerateComment + /servlet/edu.rice.rubbos.servlets.ModerateComment + + + + PostComment + /servlet/edu.rice.rubbos.servlets.PostComment + + + + StoreComment + /servlet/edu.rice.rubbos.servlets.StoreComment + + + + SubmitStory + /servlet/edu.rice.rubbos.servlets.SubmitStory + + + + AcceptStory + /servlet/edu.rice.rubbos.servlets.AcceptStory + + + + RejectStory + /servlet/edu.rice.rubbos.servlets.RejectStory + + + + ReviewStories + /servlet/edu.rice.rubbos.servlets.ReviewStories + + + + StoreStory + /servlet/edu.rice.rubbos.servlets.StoreStory + + + + ViewStory + /servlet/edu.rice.rubbos.servlets.ViewStory + + + + StoriesOfTheDay + /servlet/edu.rice.rubbos.servlets.StoriesOfTheDay + + + + + Search + /servlet/edu.rice.rubbos.servlets.Search + + + + StoreModeratorLog + /servlet/edu.rice.rubbos.servlets.StoreModeratorLog + + + + RegisterUser + /servlet/edu.rice.rubbos.servlets.RegisterUser + + + + Author + /servlet/edu.rice.rubbos.servlets.Author + + + + OlderStories + /servlet/edu.rice.rubbos.servlets.OlderStories + + + + + 30 + + + -- cgit 1.2.3-korg