diff options
author | Justin Clark-Casey (justincc) | 2013-08-01 21:16:53 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-08-01 21:16:53 +0100 |
commit | 216e785ca9ca7dee51c32e69952a79b6e87733d1 (patch) | |
tree | 23b0c79da034868d12c4b7dfd15ee4051f9fba04 /bin/OpenSimDefaults.ini | |
parent | Try a different approach to slow terrain update by always cycling the loop im... (diff) | |
download | opensim-SC_OLD-216e785ca9ca7dee51c32e69952a79b6e87733d1.zip opensim-SC_OLD-216e785ca9ca7dee51c32e69952a79b6e87733d1.tar.gz opensim-SC_OLD-216e785ca9ca7dee51c32e69952a79b6e87733d1.tar.bz2 opensim-SC_OLD-216e785ca9ca7dee51c32e69952a79b6e87733d1.tar.xz |
Add experimental "debug attachments throttle <ms>" setting (command line) and ThrottlePer100PrimsRezzed in [Attachments] in config
This is an experimental setting to control cpu spikes when an attachment heavy avatar logs in or avatars with medium attachments lgoin simultaneously.
It inserts a ms sleep specified in terms of attachments prims after each rez when an avatar logs in.
Default is 0 (no throttling).
"debug attachments <level>" changes to "debug attachments log <level>" which controls logging. A logging level of 1 will show the throttling performed if applicable.
Also adds "debug attachments status" command to show current throttle and debug logging levels.
Diffstat (limited to 'bin/OpenSimDefaults.ini')
-rw-r--r-- | bin/OpenSimDefaults.ini | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index dbafd5c..2488bf1 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -703,11 +703,18 @@ | |||
703 | ; on every login | 703 | ; on every login |
704 | ReuseTextures = false | 704 | ReuseTextures = false |
705 | 705 | ||
706 | |||
706 | [Attachments] | 707 | [Attachments] |
707 | ; Controls whether avatar attachments are enabled. | 708 | ; Controls whether avatar attachments are enabled. |
708 | ; Defaults to true - only set to false for debugging purposes | 709 | ; Defaults to true - only set to false for debugging purposes |
709 | Enabled = true | 710 | Enabled = true |
710 | 711 | ||
712 | ; Controls the number of milliseconds that are slept per 100 prims rezzed in attachments | ||
713 | ; Experimental setting to control CPU spiking when avatars with many attachments login | ||
714 | ; or when multiple avatars with medium level attachments login simultaneously. | ||
715 | ; If 0 then no throttling is performed. | ||
716 | ThrottlePer100PrimsRezzed = 0; | ||
717 | |||
711 | 718 | ||
712 | [Mesh] | 719 | [Mesh] |
713 | ; enable / disable Collada mesh support | 720 | ; enable / disable Collada mesh support |