aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Massive tab and trailing space cleanupMelanie Thielker2017-01-051-26/+26
|
* work around some warningsUbitUmarov2016-11-211-8/+14
|
* put back skip of first drip callUbitUmarov2016-11-181-1/+1
|
* change the clock source on tokenBucketUbitUmarov2016-11-081-13/+11
|
* add a missing overrideUbitUmarov2015-11-211-3/+3
|
* make m_minimumDripRate a bit larger than mtu. Add a bucket space check that ↵UbitUmarov2015-11-101-1/+6
| | | | does not consume avaiable space, so reducing bandwidth
* let minimum wqburst be a bit larger than MTUUbitUmarov2015-09-221-2/+2
|
* removed a protocol breaking lludp debug option that no one should try, ↵UbitUmarov2015-09-221-1/+1
| | | | changed terrain send throotle to be by packets in queue, reduced odds of MTU violation on terrain send (still bad). Most UDP protocol implementations may not mind much, but our code still does
* seems to compile ( tests comented out)UbitUmarov2015-09-021-232/+39
|
* bad merge?UbitUmarov2015-09-011-41/+178
|\
| * void time change between gettime callsUbitUmarov2014-09-021-4/+3
| |
| * *needs testing, not that good* change throttles math using floats and notUbitUmarov2014-09-021-97/+64
| | | | | | | | | | int64, etc. Limite brust bytes to the total rate client requested times a look ahead estimation time, Avoid queues starvation with updates waiting...
| * reduce burstUbitUmarov2014-08-291-1/+1
| |
| * replace the tick() by a limit on the maximum number of tokens that can beUbitUmarov2014-08-291-13/+39
| | | | | | | | acumulated ( variable named BurtRate, not exactly a rate...)
| * disable first dripUbitUmarov2014-08-291-1/+1
| |
| * try to reduce insane high data rate udp bursts. This needs testing on aUbitUmarov2014-08-281-1/+9
| | | | | | | | region with a lot of contents. Should not affect much average rates.
| * add some functions for estimation of number of bytes that can be send in a ↵UbitUmarov2014-08-281-0/+5
| | | | | | | | category in specified time
* | Merge branch 'mb-throttle-test'Mic Bowman2014-12-301-17/+42
|\ \ | | | | | | | | | Merge in the new throttle code.
| * | Another technique inspired by some of the newer flow control algorithms... ↵Mic Bowman2014-12-301-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | rather than drop exponentially to 0 (and then adjust up for the minimum flow), drop on the delta between current rate and the minimum rate. This should smooth the fallback to minimum.
| * | Change the effect of successfully acknowledged packets to bump theMic Bowman2014-12-291-4/+4
| | | | | | | | | | | | | | | | | | | | | adaptive throttle by a full MTU. This is consistent with some implementations of congestion control algorithms and certainly has the effect of opening the throttle window more quickly after errors. This is especially important after initial scene load when the number and size of packets is small.
| * | Enable runtime configuration of the minimum rate for adaptiveMic Bowman2014-12-291-16/+35
| | | | | | | | | | | | | | | | | | | | | | | | throttles. Setting adaptive_throttle_min_bps will change the minimum rate that the adapative throttles will drop to in case of network packet loss. The current rate default rate is 256kbps. The viewer can throttle rates under that amount, but the dynamic adaptation will not.
* | | minor: correct sent -> set in TokenBucket.RequestedDripRate method docJustin Clark-Casey (justincc)2014-12-301-1/+1
|/ /
* | Fix recent regression where adaptive throttles stopped adjusting.Justin Clark-Casey (justincc)2014-11-251-17/+17
| | | | | | | | Extends regression tests to test response of adaptive throttles to ack'ed and expired packets.
* | Fix setting of max scene throttle so that setting it restricts the child ↵Justin Clark-Casey (justincc)2014-11-251-26/+33
| | | | | | | | | | | | | | client throttles properly. In "show throttles", also renames 'total' column to 'actual' to reflect that it is not necessarily the throttles requested for/by the client. Also fills out 'target' in non-adapative mode to the actual throttle requested for/by the client.
* | Fix an issue where specifying both max client and server outgoing UDP ↵Justin Clark-Casey (justincc)2014-11-251-38/+84
| | | | | | | | | | | | | | | | | | | | throttles would cause client throttles to be lower than expected when total requests exceeded the scene limit. This was because specifying a max client throttle would always request the max from the parent server throttle, no matter the actual total requests on the client throttle. This would lead to a lower server multiplier than expected. This change also adds a 'target' column to the "show throttles" output that shows the target rate (as set by client) if adaptive throttles is active. This commit also re-adds the functionality lost in recent 5c1a1458 to set a max client throttle when adaptive is active. This commit also adds TestClientThrottlePerClientAndRegionLimited and TestClientThrottleAdaptiveNoLimit regression tests
* | Use automatic properties for Parent and TotalDripRequest in TokenBucket to ↵Justin Clark-Casey (justincc)2014-11-251-32/+21
| | | | | | | | make code analysis easier. No functional change.
* | Remove the unnecessary intermediate total token bucket.Justin Clark-Casey (justincc)2014-11-251-4/+1
| | | | | | | | | | This only had one child, which is the 'adaptive' token bucket. So from testing and currently analysis, we can use that bucket directly which simplifies the code.
* | minor: Remove compiler warnings from unused fields in TokenBucketJustin Clark-Casey (justincc)2014-11-251-3/+0
| |
* | Add "debug lludp throttle set" command to allow setting of parameters at runtimeJustin Clark-Casey (justincc)2014-11-251-2/+2
| | | | | | | | Can currently only set adaptive true|false, where adaptive = false
* | Add "debug lludp throttle log <level> <avatar-first-name> ↵Justin Clark-Casey (justincc)2014-10-021-12/+21
| | | | | | | | <avatar-last-name>" to control extra throttle related debug logging.
* | In "show throttles", show the maximum drip rate. This shows whether a client ↵Oren Hurvitz2014-07-211-9/+9
|/ | | | is being throttled due to past poor performance.
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-07-301-3/+4
|
* First stab at cleaning up Caps. Compiles. Untested.Diva Canto2011-04-301-0/+393