aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-226/+179
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-111/+181
2011-07-30minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-3/+4
2011-04-30First stab at cleaning up Caps. Compiles. Untested.Diva Canto1-0/+0
2011-04-25Removed debug message in the token bucket codeMic Bowman1-1/+1
2011-04-25Cleaned up various configuration options. Removed the category throttleMic Bowman1-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).
2011-04-22Set the initial rate for the adaptive throttle to 160KpbsMic Bowman1-4/+6
or about 15 packets per second.
2011-04-21Add some locking on the child list for the token bucketMic Bowman1-15/+22
hiearchy. A few other cosmetic changes.
2011-04-20Adds the first pass at an adaptive throttle to slow start newMic Bowman1-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.
2011-04-15Remove the call to remove tokens from the parent. Under heavy loadMic Bowman1-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.
2011-04-13New tokenbucket algorithm. This one provides fair sharing of the queuesMic Bowman1-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.
2011-04-12New tokenbucket algorithm. This one provides fair sharing of the queuesMic Bowman1-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.
2011-04-11New tokenbucket algorithm. This one provides fair sharing of the queuesMic Bowman1-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.
2011-02-09Fix the negative number problem in TokenBucket. mantis #5365Diva Canto1-5/+4
2011-02-09More detection of negatives.Diva Canto1-0/+3
2011-02-09Detect negative dripAmounts in TokenBuckets. These negatives result from ↵Diva Canto1-0/+3
overflown integer operations. Also added Total to the scene throttles in show throttles.
2010-12-13It turns out that the 1/2 sec burst for prims download is not a bug, but a ↵Diva Canto1-11/+2
feature of the client. The client sets the throttles in such a way that makes the server behave like that. The same happens in the Linden Grid. Revert "This may have been the biggest, baddest bug in OpenSim ever... confusion between bytes per second and bytes per millisecond." This reverts commit 870bbcfc6c264c515ac660837d16ccad4e59ac64.
2010-12-13This may have been the biggest, baddest bug in OpenSim ever... confusion ↵Diva Canto1-2/+11
between bytes per second and bytes per millisecond.
2010-05-27Revert "Comment noisy "CONNECTION DEBUGGING" messages, because they push more"Melanie1-1/+1
Some other stuff snuck in. This reverts commit 4cc533e7ad94d148351c16f48afd2a688a64c48a.
2010-05-27Comment noisy "CONNECTION DEBUGGING" messages, because they push moreMelanie Thielker1-1/+1
important stuff off screen too fast
2009-10-21Committing Jim's optimization to replace the 20ms sleep in outgoing packet ↵John Hurliman1-6/+10
handling with an interruptible wait handle
2009-10-20* Added a sanity check to GetScriptAssemblies() and GetScriptStates() for ↵John Hurliman1-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)