aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-25If an exception makes it to the top of a JobEngine request, catch and log ↵Justin Clark-Casey (justincc)1-1/+10
instead of letting it terminate the simulator...
2014-11-25Allow GetMesh capability to be served directly by a server like GetTextureJustin Clark-Casey (justincc)3-58/+46
To do this required GetMesh to be converted to a BaseStreamHandler Unlike GetTexture connector, no redirect URL functionality yet (this wasn't present in the first place).
2014-11-25Start JobEngine by default in simulator for now.Justin Clark-Casey (justincc)1-0/+2
2014-11-25If JobEngine is active, then use it to copy/rez attachments for an avatar ↵Justin Clark-Casey (justincc)1-22/+62
entering the scene that isn't initially logging on. This will execute tasks consecutively rather than concurrently. This has two aims 1) Reduce initial teleport failures when a foreign Hypergrid user enters a region by not holding up the teleport for attachment rez (this can be particularly costly when HG gets all assets in the object graph. 2) Reduce server load that may impact other simulator activities. This complements existing JobEngine options that perform initial login attachment rez and appearance send in consecutive tasks.
2014-11-25minor: be consistent about reporting errors out of HttpServerBaseJustin Clark-Casey (justincc)1-11/+13
2014-11-25If the port entry in [Network] for a server is missing, then actually tell ↵Justin Clark-Casey (justincc)1-7/+8
the user that's the problem rather than simply exiting silently. Also exit with Environment.Exit(), not by aborting the thread.
2014-11-25Add an IConfigSource constructor to HGAssetBroker so that it can be ↵Justin Clark-Casey (justincc)1-0/+7
instantiated directly for potentially handling some capabilities directly in services with HG active
2014-11-25Fix an issue where specifying both max client and server outgoing UDP ↵Justin Clark-Casey (justincc)8-73/+287
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
2014-11-25Use automatic properties for Parent and TotalDripRequest in TokenBucket to ↵Justin Clark-Casey (justincc)1-32/+21
make code analysis easier. No functional change.
2014-11-25Remove the unnecessary intermediate total token bucket.Justin Clark-Casey (justincc)2-15/+3
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.
2014-11-25minor: remove warnings from unused fields in LocalGridServicesConnectorJustin Clark-Casey (justincc)1-2/+2
2014-11-25minor: Remove unused field from EntityTransferModuleJustin Clark-Casey (justincc)1-2/+0
2014-11-25minor: remove compiler warning from unused field in SimulatorFeaturesModuleJustin Clark-Casey (justincc)1-2/+2
2014-11-25minor: resolve warnings from unused fields in XBakesGet and Post handlersJustin Clark-Casey (justincc)2-6/+3
2014-11-25Remove compiler warning from UserProfilesHandlersJustin Clark-Casey (justincc)1-2/+1
2014-11-25minor: remove warning in BasicHttpAuthentication by commenting out unused ↵Justin Clark-Casey (justincc)1-2/+2
remove_me parameter (which looks like it might still be potentially useful for logging)
2014-11-25extend TestClientThrottleRegionLimited for 2 clients after testing 1. ↵Justin Clark-Casey (justincc)1-25/+71
Renames to TestSingleClientThrottleRegionLimited()
2014-11-25Add regression test TestClientThrottleRegionLimited() for testing simple ↵Justin Clark-Casey (justincc)1-2/+50
behaviour of throttles where a region-wide total outbound limit is in place.
2014-11-25factor out common throttle setting byte[] array construction in ThrottleTests.Justin Clark-Casey (justincc)1-44/+43
2014-11-25Add regression test TestClientThrottleLimited() for throttle behaviour when ↵Justin Clark-Casey (justincc)2-1/+64
a max client total limit is enforced server-side
2014-11-25refactor: consistently put all test classes in the OpenSim.Tests.Common ↵Justin Clark-Casey (justincc)85-164/+10
package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add
2014-11-25minor: disable logging in regression test TestClientThrottleSetNoLimitJustin Clark-Casey (justincc)1-1/+1
2014-11-25minor: comment out unused method in regression BasicCircuitTestsJustin Clark-Casey (justincc)1-17/+17
2014-11-25Add basic regression test ThrottleTests.TestClientThrottleSetNoLimitJustin Clark-Casey (justincc)2-0/+114
2014-11-25refactor: Move test clientstack setup code out of BasicCircuitTests into ↵Justin Clark-Casey (justincc)3-60/+109
OpenSim.Tests.Common.ClientStackHelpers
2014-11-25Fix recent regression in "debug lludp throttles get" command that stopped it ↵Justin Clark-Casey (justincc)1-2/+4
printing any information. Also fix max throttle displayed to be properly kbps
2014-11-25minor: in "show server throttles", display unset if new client throttle ↵Justin Clark-Casey (justincc)1-2/+6
value is not set rather than 0
2014-11-25Add throttle-max option to "debug lludp throttles set" to allow runtime ↵Justin Clark-Casey (justincc)1-2/+33
setting of default and existing client throttles. Doesn't yet adjust until clients submit new throttle settings.
2014-11-25Change "debug lludp throttle *" commands to "debug lludp throttles" for ↵Justin Clark-Casey (justincc)1-9/+9
consistency (and because I keep typing throttles). This will still work with "debug lludp throttle" anyway.
2014-11-25Fix console set and get of max scene rate. Was performing wrong calculation ↵Justin Clark-Casey (justincc)1-3/+3
- throttle buckets are set in bytes, not bits
2014-11-25Eliminate 'max' throttle setting from server throttles report since this ↵Justin Clark-Casey (justincc)1-9/+4
never applies.
2014-11-25Allow "debug lludp throttle *" commands to work without a user name, in ↵Justin Clark-Casey (justincc)1-21/+51
which case they apply to all users in the lludp server
2014-11-25minor: add apparant total to logging when client sets throttlesJustin Clark-Casey (justincc)1-2/+5
2014-11-25minor: fix bug in throttle logging where arguments were mismatchedJustin Clark-Casey (justincc)1-1/+1
2014-11-25Add "debug lludp set scene-throttle-max <value>" console command to allow us ↵Justin Clark-Casey (justincc)2-6/+40
to potentially set the scene max throttle on the fly.
2014-11-25Move information about "server agent rate" throttles into "show server ↵Justin Clark-Casey (justincc)2-39/+57
throttles" command rather than "show throttles" THis allows us to see the rates when no client is connected to the region.
2014-11-25Add "show server throttles" command for showing server specific information ↵Justin Clark-Casey (justincc)2-0/+26
about throttles This is separate from the user-oriented "show throttles" command since one will often only want to know about varying client throttle settings. Currently displays max scene throttle and adaptive throttles config if set.
2014-11-25refactor: Use simpler auto-implemented property for HttpPort in GridRegionJustin Clark-Casey (justincc)1-10/+5
2014-11-25minor: Remove compiler warning from GridRegion in IGridServiceJustin Clark-Casey (justincc)1-1/+1
2014-11-25minor: remove compiler warning from OpenProfileClientJustin Clark-Casey (justincc)1-4/+3
2014-11-25Add OutgoingPacketsQueuedCount clientstack stat.Justin Clark-Casey (justincc)2-0/+53
This is the total of queued outgoing packets across all connections, as also seen in the "show queues" command. Gives some early indication of whether the simulator can't send all outgoing packets fast enough. Though then one would want to check that this isn't due to a few bad client connections.
2014-11-25minor: Remove compiler warnings from unused fields in TokenBucketJustin Clark-Casey (justincc)1-3/+0
2014-11-25refactor: Move LLUDPServer console commands into their own class.Justin Clark-Casey (justincc)3-480/+539
2014-11-25refactor: rename "debug lludp throttle status" to "debug lludp throttle get" ↵Justin Clark-Casey (justincc)1-6/+6
to match set command
2014-11-25Add "debug lludp throttle set" command to allow setting of parameters at runtimeJustin Clark-Casey (justincc)2-3/+52
Can currently only set adaptive true|false, where adaptive = false
2014-11-25Eliminate a few unnecessary calculations in the maintenance loop.Justin Clark-Casey (justincc)1-7/+17
Also uses wait event instead of sleep for periodicity control.
2014-11-25Fix recent minor regression where the default frame time wasn't being set if ↵Justin Clark-Casey (justincc)2-3/+2
there was no startup config section. Caused some regression tests to fail.
2014-11-25If Bullet is running on its own thread, use a reset event to control timing ↵Justin Clark-Casey (justincc)1-2/+9
rather than a sleep. In theory, there should be no difference between these mechanisms. However, on at least Mono 3.2.8 waiting via an event appears to be much more accurate.
2014-11-25Improve frame time stability by taking a few unnecessary repeated ↵Justin Clark-Casey (justincc)2-21/+42
calculations out of the main scene loop. Also uses a wait event to sleep rather than a Thread.Sleep to allow the loop to be interrupted in a more controlled manner when necessary.
2014-11-25Make BulletSim thread be ThreadPriority.Highest if runningJustin Clark-Casey (justincc)1-0/+2
Will only effect Windows or mono with a patch such as https://gist.github.com/justincc/31e52218d098529b4696 applied For test purposes