updating number of threads to see if that improves the really bad runtime
[feisty_meow.git] / scripts / opensim / opensim_utils.sh
index 9405ba6fca8f3d24b5bf25284678413da002170a..c1ea58db9c4d7f6249f2f70c02015bcd1af36008 100644 (file)
@@ -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=808
 
 # 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