aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cleaned up various configuration options. Removed the category throttleMic Bowman2011-04-251-4/+15
| | | | | | | | | limits because the only ones used now are the defaults (which are overwritten by the client throttles anyway). Updated the default rates to correspond to about 350kbps. Also added a configuration to disable adaptive throttle. The default is the previous behavior (no adaptation).
* Set the initial rate for the adaptive throttle to 160KpbsMic Bowman2011-04-221-4/+6
| | | | or about 15 packets per second.
* Add some locking on the child list for the token bucketMic Bowman2011-04-211-15/+22
| | | | hiearchy. A few other cosmetic changes.
* Adds the first pass at an adaptive throttle to slow start newMic Bowman2011-04-201-16/+76
| | | | | | | | clients. If the sent packets are ack'ed successfully the throttle will open quickly up to the maximum specified by the client and/or the sims client throttle. This still needs a lot of adjustment to get the rates correct.
* Remove the call to remove tokens from the parent. Under heavy loadMic Bowman2011-04-151-5/+4
| | | | | | | | | | this appears to cause problems with the system timer resolution. This caused a problem with tokens going into the root throttle as bursts leading to some starvation. Also changed EnqueueOutgoing to always queue a packet if there are already packets in the queue. Ensures consistent ordering of packet sends.
* New tokenbucket algorithm. This one provides fair sharing of the queuesMic Bowman2011-04-121-104/+196
| | | | | | | | | when client and simulator throttles are set. This algorithm also uses pre-defined burst rate of 150% of the sustained rate for each of the throttles. Removed the "state" queue. The state queue is not a Linden queue and appeared to be used just to get kill packets sent.
* Fix the negative number problem in TokenBucket. mantis #5365Diva Canto2011-02-091-5/+4
|
* More detection of negatives.Diva Canto2011-02-091-0/+3
|
* Detect negative dripAmounts in TokenBuckets. These negatives result from ↵Diva Canto2011-02-091-0/+3
| | | | overflown integer operations. Also added Total to the scene throttles in show throttles.
* Revert "Comment noisy "CONNECTION DEBUGGING" messages, because they push more"Melanie2010-05-271-1/+1
| | | | | | Some other stuff snuck in. This reverts commit 4cc533e7ad94d148351c16f48afd2a688a64c48a.
* Comment noisy "CONNECTION DEBUGGING" messages, because they push moreMelanie Thielker2010-05-271-1/+1
| | | | important stuff off screen too fast
* Committing Jim's optimization to replace the 20ms sleep in outgoing packet ↵John Hurliman2009-10-211-6/+10
| | | | handling with an interruptible wait handle
* * Added a sanity check to GetScriptAssemblies() and GetScriptStates() for ↵John Hurliman2009-10-201-0/+213
the case where no scripting engine is enabled * Added TokenBucket.cs to OpenSim, with some fixes for setting a more accurate MaxBurst value and getting a more accurate Content value (by Drip()ing each get)