X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fopensim%2Fopensim_utils.sh;h=ed431ed6b1ab2276dd5c52a3d78bfa79c5d3a6b4;hb=73939917e0733993c254205c4d3d8775f18eea05;hp=9405ba6fca8f3d24b5bf25284678413da002170a;hpb=24f722f9af5d3e01beb9cdb0664c47b67c353b38;p=feisty_meow.git diff --git a/scripts/opensim/opensim_utils.sh b/scripts/opensim/opensim_utils.sh index 9405ba6f..ed431ed6 100644 --- a/scripts/opensim/opensim_utils.sh +++ b/scripts/opensim/opensim_utils.sh @@ -5,7 +5,7 @@ source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" # set up some parameters that we believe (or have been told) are beneficial. -export MONO_THREADS_PER_CPU=408 +export MONO_THREADS_PER_CPU=1208 # we run the processes with a little cpu de-prioritization. we do not want # them taking over completely if there's a runaway mono tornado. @@ -40,7 +40,10 @@ function launch_screen() ##why? --debug #-console=basic echo "$(date_stringer ' '): $screen_name started." - sleep $SNOOZE_TIME + # only sleep if we are not at the last process that gets started. + if [ "$app_name" != "OpenSim.exe" ]; then + sleep $SNOOZE_TIME + fi } # finds the opensim process specified or returns a blank string in the