Difference between revisions of "AgentThrottle"

From Second Life Wiki
Jump to navigation Jump to search
(Filling in this function with data from LibSecondLife)
 
(One intermediate revision by the same user not shown)
Line 25: Line 25:


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


Note, that even though it appears to have a set number of parameters (and a set size), it IS a "variable".
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'''.
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.