aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
authorUbitUmarov2019-11-22 07:01:17 +0000
committerUbitUmarov2019-11-22 07:01:17 +0000
commit943d0935a624710b2d38bd4be906aaada2c2d1fe (patch)
tree1857b4d4bac5b6f936347baa569bf0b8e176d649 /bin
parentOooopss (diff)
downloadopensim-SC-943d0935a624710b2d38bd4be906aaada2c2d1fe.zip
opensim-SC-943d0935a624710b2d38bd4be906aaada2c2d1fe.tar.gz
opensim-SC-943d0935a624710b2d38bd4be906aaada2c2d1fe.tar.bz2
opensim-SC-943d0935a624710b2d38bd4be906aaada2c2d1fe.tar.xz
YEngine, change default number of exec threads to 2 of priority Normal. Let the threads priority a option on ini files
Diffstat (limited to '')
-rw-r--r--bin/OpenSim.ini.example9
-rw-r--r--bin/OpenSimDefaults.ini27
2 files changed, 29 insertions, 7 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index 33b2819..04a4f7d 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -933,17 +933,12 @@
933 ; PriceGroupCreate = 0 933 ; PriceGroupCreate = 0
934 934
935[YEngine] 935[YEngine]
936 ;; experimental engine
937 ;; implements non preemptive microthreading, so fixing problems like llSleep or long events handlers 936 ;; implements non preemptive microthreading, so fixing problems like llSleep or long events handlers
938 ;; but those will suffer from timeslicing, so will be slower. 937 ;; but those will suffer from timeslicing, so will be slower.
939 ;; warning: scripts state is lost on TP or cross to Xengine regions (cars stop, etc) 938 ;; warning: scripts state is lost on TP or cross to Xengine regions (cars stop, etc)
940 ;; ignore its extensions (subset of original XMRengine), those are still undefined. 939 ;; ignore its extensions (subset of original XMRengine), those are still undefined.
941 Enabled = false 940 ; Enabled = false
942 ScriptStackSize = 256 941
943 ScriptHeapSize = 256
944 UseSourceHashCode = true
945 MinTimerInterval = 0.1
946 ;ScriptBasePath="ScriptEngines"
947 942
948[XEngine] 943[XEngine]
949 ;# {Enabled} {} {Enable the XEngine scripting engine?} {true false} true 944 ;# {Enabled} {} {Enable the XEngine scripting engine?} {true false} true
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini
index d5a13cf..5d99110 100644
--- a/bin/OpenSimDefaults.ini
+++ b/bin/OpenSimDefaults.ini
@@ -1750,6 +1750,33 @@
1750 ; MeshModelAllowTextureToInventory = true 1750 ; MeshModelAllowTextureToInventory = true
1751 1751
1752 1752
1753[YEngine]
1754 ;; implements non preemptive microthreading, so fixing problems like llSleep or long events handlers
1755 ;; but those will suffer from timeslicing, so will be slower.
1756 ;; warning: scripts state is lost on TP or cross to Xengine regions (cars stop, etc)
1757 ;; ignore its extensions (subset of original XMRengine), those are still undefined.
1758 ;Enabled = false
1759
1760 ; maximum stack a script can use in KB
1761 ;ScriptStackSize = 2048
1762
1763 ; maximum heap memory a script can use in KB
1764 ;ScriptHeapSize = 1024
1765
1766 ; number of threads to execute script. Too many threads can have negative impact on other region operations
1767 ;NumThreadScriptWorkers = 2
1768
1769 ; Priority of those threads (Lowest, BelowNormal, Normal, AboveNormal or Highest). Higher priorit can have negative impact on other region operations
1770 ;Priority = Normal
1771
1772 ; to reuse binary compare sources using a hash codes of them or full text
1773 UseSourceHashCode = true
1774
1775 MinTimerInterval = 0.1
1776
1777 ; scripts states and cache parent folder location
1778 ;ScriptBasePath="ScriptEngines"
1779
1753 1780
1754[XEngine] 1781[XEngine]
1755 ; Enable this engine in this OpenSim instance 1782 ; Enable this engine in this OpenSim instance