aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/Tests/ThrottleTests.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Massive tab and trailing space cleanupMelanie Thielker2017-01-051-29/+29
|
* seems to compile ( tests comented out)UbitUmarov2015-09-021-6/+11
|
* Comment out the debugging statements added in the last commit. KeepingMic Bowman2014-12-301-4/+4
| | | | | | | them in the code for later use rather than just reverting them. Fixed the throttle tests for the new algorithm used when packets are marked as expired.
* Fix the throttle tests. Remove the hardcoded constant multipliers andMic Bowman2014-12-301-9/+11
| | | | compute the expected values without depending on the token bucket code.
* Change the effect of successfully acknowledged packets to bump theMic Bowman2014-12-291-2/+2
| | | | | | | 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.
* Fix recent regression where adaptive throttles stopped adjusting.Justin Clark-Casey (justincc)2014-11-251-14/+28
| | | | 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-23/+43
| | | | | | | 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.
* Add request drip rate to assertions for token bucket regression testsJustin Clark-Casey (justincc)2014-11-251-12/+14
|
* Add regression tests for token buckets on their ownJustin Clark-Casey (justincc)2014-11-251-1/+49
|
* Make regression throttle tests consistently test target and max throttle ↵Justin Clark-Casey (justincc)2014-11-251-136/+62
| | | | | | settings. As part of this also refactors code to put all throttle asserts in a single regression test method
* Fix an issue where specifying both max client and server outgoing UDP ↵Justin Clark-Casey (justincc)2014-11-251-2/+160
| | | | | | | | | | 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
* extend TestClientThrottleRegionLimited for 2 clients after testing 1. ↵Justin Clark-Casey (justincc)2014-11-251-25/+71
| | | | Renames to TestSingleClientThrottleRegionLimited()
* Add regression test TestClientThrottleRegionLimited() for testing simple ↵Justin Clark-Casey (justincc)2014-11-251-2/+50
| | | | behaviour of throttles where a region-wide total outbound limit is in place.
* factor out common throttle setting byte[] array construction in ThrottleTests.Justin Clark-Casey (justincc)2014-11-251-44/+43
|
* Add regression test TestClientThrottleLimited() for throttle behaviour when ↵Justin Clark-Casey (justincc)2014-11-251-0/+58
| | | | a max client total limit is enforced server-side
* minor: disable logging in regression test TestClientThrottleSetNoLimitJustin Clark-Casey (justincc)2014-11-251-1/+1
|
* Add basic regression test ThrottleTests.TestClientThrottleSetNoLimitJustin Clark-Casey (justincc)2014-11-251-0/+106