Difference between revisions of "AgentThrottle"

From Second Life Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 20: Line 20:
==Usage and Notes==
==Usage and Notes==
[[Category:Messages]]
[[Category:Messages]]
'''GenCounter''' can be 0


The throttles variable appears to be structured as follows, each value a little endian 32 bit float:
The '''throttles''' variable appears to be structured as follows, each value a little endian 32 bit float:


Resend - Maxmimum bytes per second for resending unacknowledged packets
<pre width=80>
Land - Maximum bytes per second for LayerData terrain
Resend - Maxmimum bytes per second for resending unacknowledged packets. Max: 150,000
Wind - Maximum bytes per second for LayerData wind data
Land   - Maximum bytes per second for LayerData terrain. Max: 170,000
Cloud - Maximum bytes per second for LayerData clouds
Wind   - Maximum bytes per second for LayerData wind data. Max: 34,000
Task - Unknown, includes object data
Cloud   - Maximum bytes per second for LayerData clouds. Max: 34,000
Texture - Maximum bytes per second for textures
Task   - Unknown, includes object data. Max: 446,000
Asset - Maximum bytes per second for downloaded assets
Texture - Maximum bytes per second for textures. Max: 446,000
Asset   - Maximum bytes per second for downloaded assets. Max: 220,000
</pre>
 
Note, that even though it appears to have a set number of parameters (and a set size), it IS a "variable".
 
Each value should not be smaller than '''10,000'''. The maximum figures specified above sum 1,500,000. It is not clear from the libsecondlife documentation wether the figures shown above are recommended maximums or enforced. The actual limit is 1,536,000.

Latest revision as of 12:26, 8 February 2008

Message Layout

{
	AgentThrottle Low NotTrusted Zerocoded
	{
		AgentData			Single
		{	AgentID			LLUUID		}
		{	SessionID		LLUUID		}
		{	CircuitCode		U32		}
	}
	{
		Throttle			Single
		{	GenCounter		U32		}
		{	Throttles		Variable 1	}
	}
}

Usage and Notes

GenCounter can be 0

The throttles variable appears to be structured as follows, each value a little endian 32 bit float:

Resend  - Maxmimum bytes per second for resending unacknowledged packets. Max: 150,000
Land    - Maximum bytes per second for LayerData terrain. Max: 170,000
Wind    - Maximum bytes per second for LayerData wind data. Max: 34,000
Cloud   - Maximum bytes per second for LayerData clouds. Max: 34,000
Task    - Unknown, includes object data. Max: 446,000
Texture - Maximum bytes per second for textures. Max: 446,000
Asset   - Maximum bytes per second for downloaded assets. Max: 220,000

Note, that even though it appears to have a set number of parameters (and a set size), it IS a "variable".

Each value should not be smaller than 10,000. The maximum figures specified above sum 1,500,000. It is not clear from the libsecondlife documentation wether the figures shown above are recommended maximums or enforced. The actual limit is 1,536,000.