# Matsim multi bench # In order to benchmark JVM parameters and find the optimal number of threads, # run the matsim benchmark test many times. To speed up things run several # benchmark tests in parallel. Be careful not to overload since the results may # give a wrong picture. # Command to start one process. RUN_BIN="java" # Variable argument list. # A file containing all the variations of arguments # that should be run. Each line in this file will provoke one process. The # arguments on each line in the file will be preceeded with the value of RUN_BIN. ARGLIST_FILE="matsim.arglist" # Common arguments to all processes. # Arguments that are common to all processes may be passed here, # Preceeding arguments to the variable arguments: COMMON_LEADING_ARGS="-Xmx1024M -Xms1024M" # Arguments following the variable arguments: COMMON_POST_ARGS="-jar Benchmark.jar" # Base name for the result directories RUNDIR_BASENAME="benchmark" # run with this amount of respect to others NICENESS=19 # maximum number of processes to run at once MAX_PROCESSES=4 # Wait that many seconds when the maxium number of running processes are # reached before retrying to start a new process. RETRY=2