Author: toad
Date: 2008-02-15 17:00:38 +0000 (Fri, 15 Feb 2008)
New Revision: 17957

Modified:
   trunk/apps/new_installer/res/unix/run.sh
Log:
Reduce default nice from 15 to 12. More space for the node to vary thread 
priorities. Practically the impact on the system should be less if your 
platform has a JNI setpriority library (x86, x86-64), even with the higher 
maximum niceness.

Modified: trunk/apps/new_installer/res/unix/run.sh
===================================================================
--- trunk/apps/new_installer/res/unix/run.sh    2008-02-15 16:56:45 UTC (rev 
17956)
+++ trunk/apps/new_installer/res/unix/run.sh    2008-02-15 17:00:38 UTC (rev 
17957)
@@ -20,8 +20,12 @@

 # Priority at which to run the wrapper.  See "man nice" for valid priorities.
 #  nice is only used if a priority is specified.
-PRIORITY=15

+# Note that Freenet will scale its usage within the speicifed niceness, some
+# threads will have a lower priority (higher nice value) than this. Also please
+# don't renice Freenet once it's started.
+PRIORITY=12
+
 # Location of the pid file.
 PIDDIR="."



Reply via email to