diff options
author | Dr Scofield | 2009-06-25 07:42:06 +0000 |
---|---|---|
committer | Dr Scofield | 2009-06-25 07:42:06 +0000 |
commit | afd5f76648740b80fdfe6cfdfca82e3def5baf03 (patch) | |
tree | 1adbd4b99be8e3c1fc0f38dcb4de08283f6d0f9d /bin | |
parent | - fixes a "collection out of sync" exception in the ODE physics (diff) | |
download | opensim-SC_OLD-afd5f76648740b80fdfe6cfdfca82e3def5baf03.zip opensim-SC_OLD-afd5f76648740b80fdfe6cfdfca82e3def5baf03.tar.gz opensim-SC_OLD-afd5f76648740b80fdfe6cfdfca82e3def5baf03.tar.bz2 opensim-SC_OLD-afd5f76648740b80fdfe6cfdfca82e3def5baf03.tar.xz |
From: Alan Webb <alan_webb@us.ibm.com>
This change moves texture send processing out of the main
packet processing loop and moves it to a timer based
processing cycle.
Texture packets are sent to the client consistently over
time. The timer is discontinued whenever there are no
textures to transmit.
The behavior of the texture sending mechanism is controlled
by three variables in the LLCLient section of the config
file:
[1] TextureRequestRate (mS) determines how many times per second
texture send processing will occur. The default is 100mS.
[2] TextureSendLimit determines how many different textures
will be considered on each cycle. Textures are selected
by priority. The old mechanism specified a value of 10 for
this parameter and this is the default
[3] TextureDataLimit determines how many packets will be sent for
each of the selected textures. The old mechanism specified a
value of 5, so this is the default.
So the net effect is that TextureSendLimit*TextureDataLimit
packets will be sent every TextureRequestRate mS.
Once we have gotten a reasonable feeling for how these parameters
affect overall processing, it would be nice to autonmically manage
these values using information about the current status of the
region and network.
Note that this also resolves the pathologcal problem that
previously existed which was that a seated avatar generated very
few in-bound packets (theoretically) and would therefore be the
least able to retrieve the images being displayed by a
projector script.
Diffstat (limited to '')
-rw-r--r-- | bin/OpenSim.ini.example | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 91f86c5..5f2b46a 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -1208,12 +1208,15 @@ | |||
1208 | 1208 | ||
1209 | [LLClient] | 1209 | [LLClient] |
1210 | ; Resend packets markes as reliable until they are received | 1210 | ; Resend packets markes as reliable until they are received |
1211 | ; | ||
1211 | ;ReliableIsImportant = false | 1212 | ;ReliableIsImportant = false |
1212 | 1213 | ||
1213 | ; Maximum number of times to resend packets marked reliable | 1214 | ; Maximum number of times to resend packets marked reliable |
1215 | ; | ||
1214 | ;MaxReliableResends = 3 | 1216 | ;MaxReliableResends = 3 |
1215 | 1217 | ||
1216 | ; Configures how ObjectUpdates are compressed. | 1218 | ; Configures how ObjectUpdates are compressed. |
1219 | ; | ||
1217 | ;TerseUpdatesPerPacket=10 | 1220 | ;TerseUpdatesPerPacket=10 |
1218 | ;FullUpdatesPerPacket=14 | 1221 | ;FullUpdatesPerPacket=14 |
1219 | ;TerseUpdateRate=10 | 1222 | ;TerseUpdateRate=10 |
@@ -1221,6 +1224,22 @@ | |||
1221 | 1224 | ||
1222 | ;PacketMTU = 1400 | 1225 | ;PacketMTU = 1400 |
1223 | 1226 | ||
1227 | ; TextureUpdateRate (mS) determines how many times per second | ||
1228 | ; texture send processing will occur. The default is 100mS. | ||
1229 | ; | ||
1230 | ;TextureRequestRate = 100 | ||
1231 | |||
1232 | ; TextureSendLimit determines how many different textures | ||
1233 | ; will be considered on each cycle. Textures are selected | ||
1234 | ; by priority. The old mechanism specified a value of 10 for | ||
1235 | ; this parameter. | ||
1236 | ; | ||
1237 | ;TextureSendLimit = 10 | ||
1238 | |||
1239 | ; TextureDataLimit determines how many packets will be sent for | ||
1240 | ; each of the selected textures. Default is 5. | ||
1241 | ; | ||
1242 | ;TextureDataLimit = 5 | ||
1224 | 1243 | ||
1225 | ;; | 1244 | ;; |
1226 | ;; These are defatuls that are overwritten below in [Architecture]. | 1245 | ;; These are defatuls that are overwritten below in [Architecture]. |