aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/OpenSim.ini.example
diff options
context:
space:
mode:
authorTedd Hansen2008-02-22 19:46:13 +0000
committerTedd Hansen2008-02-22 19:46:13 +0000
commit0fb4374c1aabdc08fb69c31372ce1217f87d740c (patch)
treea4721b5198884598e64df87ef28397f765e9e63a /bin/OpenSim.ini.example
parent* Moved all events except gridcomms and regioncomms over to Event Delegate in... (diff)
downloadopensim-SC-0fb4374c1aabdc08fb69c31372ce1217f87d740c.zip
opensim-SC-0fb4374c1aabdc08fb69c31372ce1217f87d740c.tar.gz
opensim-SC-0fb4374c1aabdc08fb69c31372ce1217f87d740c.tar.bz2
opensim-SC-0fb4374c1aabdc08fb69c31372ce1217f87d740c.tar.xz
Better timing of MaintenanceThread's tasks (uses less CPU)
Updated OpenSim.ini.example
Diffstat (limited to 'bin/OpenSim.ini.example')
-rw-r--r--bin/OpenSim.ini.example31
1 files changed, 17 insertions, 14 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index 732530b..793fe5b 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -171,8 +171,8 @@ msgformat = "PRIVMSG {0} : {3} - {1} of {2}"
171; Refresh ScriptEngine config options (these settings) every xx seconds 171; Refresh ScriptEngine config options (these settings) every xx seconds
172; 0 = Do not refresh 172; 0 = Do not refresh
173; Set it to number of seconds between refresh, for example 30. 173; Set it to number of seconds between refresh, for example 30.
174; Will allow you to change ScriptEngine settings while server is running just by editing this file. 174; Will allow you to change ScriptEngine settings while server is running just by using "CONFIG SET" on console
175; For example to increase or decrease number of threads. 175; For example to increase or decrease number of threads: CONFIG SET NumberOfScriptThreads 10
176; NOTE! Disabled for now. Feature does not work. 176; NOTE! Disabled for now. Feature does not work.
177RefreshConfig=0 177RefreshConfig=0
178 178
@@ -184,14 +184,6 @@ NumberOfScriptThreads=2
184; Valid values: Lowest, BelowNormal, Normal, AboveNormal, Highest 184; Valid values: Lowest, BelowNormal, Normal, AboveNormal, Highest
185ScriptThreadPriority=BelowNormal 185ScriptThreadPriority=BelowNormal
186 186
187; Should the script threads be private for each region?
188; true: Each region will get <NumberOfScriptThreads> dedicated to scripts within that region
189; Number of threads will be <NumberOfScriptThreads>*<NumberOfRegions>
190; false: All regions share <NumberOfScriptThreads> for all their scripts
191; Note! If you run multiple script engines based on "OpenSim.Region.ScriptEngine.Common" then all of them will share the same threads.
192; *** This setting will not work until you restart OpenSim
193PrivateRegionThreads=false
194
195; How long MAX should a script event be allowed to run (per event execution)? 187; How long MAX should a script event be allowed to run (per event execution)?
196; Do not set this too low (like 50ms) as there are some time wasted in simply executing a function 188; Do not set this too low (like 50ms) as there are some time wasted in simply executing a function
197; There is also a small speed penalty for every kill that is made 189; There is also a small speed penalty for every kill that is made
@@ -222,11 +214,22 @@ ScriptsPerAppDomain=1
222; How long load/unload thread should sleep if there is nothing to do 214; How long load/unload thread should sleep if there is nothing to do
223; Higher value makes it respond slower when scripts are added/removed from prims 215; Higher value makes it respond slower when scripts are added/removed from prims
224; But once active it will process all in queue before sleeping again 216; But once active it will process all in queue before sleeping again
225ScriptLoadUnloadLoopms=30
226 217
227; Loading and unloading of scripts is queued and processed by a separate thread. 218
228; This thread can either be shared among all regions, or private (one thread per region) 219; MaintenanceLoop
229PrivateScriptLoadUnloadThread=false 220; How often to run maintenance loop
221; Maintenance loop is doing: script compile/load, script unload, reload config, adjust running config and enforce max execution time
222MaintenanceLoopms=50
223
224; How many maintenanceloops between each of these.
225; (if 2 then function will be executed every MaintenanceLoopms*2 ms)
226; Script loading/unloading
227MaintenanceLoopTicks_ScriptLoadUnload=1
228
229; Other tasks
230; check if we need to reload config, adjust running config and enforce max execution time
231MaintenanceLoopTicks_Other=10
232
230 233
231; Maximum number of items in load/unload queue before we start rejecting loads 234; Maximum number of items in load/unload queue before we start rejecting loads
232; Note that we will only be rejecting load. Unloads will still be able to queue. 235; Note that we will only be rejecting load. Unloads will still be able to queue.