From afd5f76648740b80fdfe6cfdfca82e3def5baf03 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Thu, 25 Jun 2009 07:42:06 +0000 Subject: From: Alan Webb 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. --- bin/OpenSim.ini.example | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'bin') 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 @@ [LLClient] ; Resend packets markes as reliable until they are received + ; ;ReliableIsImportant = false ; Maximum number of times to resend packets marked reliable + ; ;MaxReliableResends = 3 ; Configures how ObjectUpdates are compressed. + ; ;TerseUpdatesPerPacket=10 ;FullUpdatesPerPacket=14 ;TerseUpdateRate=10 @@ -1221,6 +1224,22 @@ ;PacketMTU = 1400 + ; TextureUpdateRate (mS) determines how many times per second + ; texture send processing will occur. The default is 100mS. + ; + ;TextureRequestRate = 100 + + ; 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. + ; + ;TextureSendLimit = 10 + + ; TextureDataLimit determines how many packets will be sent for + ; each of the selected textures. Default is 5. + ; + ;TextureDataLimit = 5 ;; ;; These are defatuls that are overwritten below in [Architecture]. -- cgit v1.1