tasty renamings
[feisty_meow.git] / scripts / opensim / opensim_utils.sh
index 3985411f1c34c5192e7242924c886a2d8f8a779c..c45ab0de0113d63c789de05d0483a677516d6188 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=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.
@@ -21,7 +21,7 @@ export SNOOZE_TIME=6
 
 # lock the limit in for threads, so we don't have any getting out of control.
 # also make sure we've provided enough space for each thread.
-ulimit -s 262144
+ulimit -s 512144
 
 # use more recent versions of mono for opensim if they're available.
 if [ -d /opt/mono-2.10/bin ]; then
@@ -38,7 +38,8 @@ function launch_screen()
   echo "$(date_stringer ' '): starting $screen_name now..."
   screen -L -S "$screen_name" -d -m nice -n $NICENESS_LEVEL mono "$app_name" 
 ##why? --debug 
-#-console=basic 
+#no, makes it ugly: -console=basic 
+
   echo "$(date_stringer ' '): $screen_name started."
   # only sleep if we are not at the last process that gets started.
   if [ "$app_name" != "OpenSim.exe" ]; then