[Opensim-users] Default .ini settings question

Mark Dubin mark at 3demb.com
Mon Aug 9 21:47:41 UTC 2010


There are numerous default settings in OpenSim.ini that are possibly  
related to client performance lag. I cannot (at least readily) find  
explanations of how these defaults affect performance if they are  
increased or decreased or changed. I would like to know, thus this  
posting.

Here are normally used ones I think are relevant to my question, and  
their defaults. If you know the impact of changing any of them,  
please post to this list, or off-line to me by e-mail. I will collate  
the answers and add them to the Wiki in an appropriate manner,  
perhaps as a separate linked page.

I apologize in advance to those who think the answers are self- 
evident :D   Thanks, Mark

----------
; Max threads to allocate on the FireAndForget thread pool when  
running with the SmartThreadPool option above
     MaxPoolThreads = 15

; Objects will be considered for persistance in the next sweep when  
they have not changed for this number of seconds
     MinimumTimeBeforePersistenceConsidered = 60

; Objects will always be considered for persistance in the next sweep  
if the first change occurred this number of seconds ago
     MaximumTimeBeforePersistenceConsidered = 600

; Maximum number of llListen events we allow per script. Set this to  
0 to have no limit imposed.
     max_listens_per_script = 64

[XEngine]
; How many threads to start at maximum load
     MaxThreads = 100

[XEngine]
; Time a thread must be idle (in seconds) before it dies
     IdleTimeout = 60

[XEngine]
; Thread priority ("Lowest", "BelowNormal", "Normal", "AboveNormal",  
"Highest")
     Priority = "BelowNormal"

[XEngine]
; Maximum number of events to queue for a script (excluding timers)
     MaxScriptEventQueue = 300

[XEngine]
; Stack size per thread created
     ThreadStackSize = 262144

[XEngine]
; Interval (s) between background save of script states
     SaveInterval = 120

[XEngine]
; Interval (s) between maintenance runs (0 = disable)
     MaintenanceInterval = 10

[XEngine]
; Time a script can spend in an event handler before it is interrupted
     EventLimit = 30

[XEngine]
; If a script overruns it's event limit, kill the script?
     KillTimedOutScripts = false

[XEngine]
; Sets the multiplier for the scripting delays
     ScriptDelayFactor = 1.0

[InterestManagement]
; This section controls how state updates are prioritized for each  
client
; Valid values are Time, Distance, SimpleAngularDistance, and FrontBack
      UpdatePrioritizationScheme = FrontBack
      ReprioritizationEnabled = true
      ReprioritizationInterval = 2000.0
      RootReprioritizationDistance = 10.0
      ChildReprioritizationDistance = 20.0

----------



More information about the Opensim-users mailing list