OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs
/// <summary>
/// Reliable packets sent to the client for which we never received an ack adjust the drip rate down.
/// <param name="packets">Number of packets that expired without successful delivery</param>
/// </summary>
Reliable packets sent to the client for which we never received an ack adjust the drip rate down.
Number of packets that expired without successful delivery
Reliable packets sent to the client for which we never received an ack adjust the drip rate down . Number of packets that expired without successful delivery
public void ExpirePackets(Int32 packets)
        {
            if (AdaptiveEnabled)
            {
                if (DebugLevel > 0)
                    m_log.WarnFormat(
                        "[ADAPTIVEBUCKET] drop {0} by {1} expired packets for {2}", 
                        AdjustedDripRate, packets, Identifier);
                AdjustedDripRate = m_minimumFlow + (Int64) ((AdjustedDripRate - m_minimumFlow) / Math.Pow(2, packets));
            }
        }
public void ExpirePackets ( Int32 packets ) { if ( AdaptiveEnabled ) { if ( DebugLevel > 0 ) m_log . WarnFormat ( " " , AdjustedDripRate , packets , Identifier ) ; AdjustedDripRate = m_minimumFlow + ( Int64 ) ( ( AdjustedDripRate - m_minimumFlow ) / Math . Pow ( 2 , packets ) ) ; } }
Reliable packets sent to the client for which we never received an ack adjust the drip rate down.
Reliable packets sent to the client for which we never received an ack adjust the drip rate down .
// AdjustedDripRate = (Int64) (AdjustedDripRate / Math.Pow(2,packets)); // Compute the fallback solely on the rate allocated beyond the minimum, this // should smooth out the fallback to the minimum rate
packets
Int32