aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden (unfollow)
Commit message (Collapse)AuthorFilesLines
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)2-229/+12
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)1-0/+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-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-25Make outboudn and packet inbox handling threads highest priority.Justin Clark-Casey (justincc)2-0/+6
Will only have any affect under Windows or mono with a patch such as https://gist.github.com/justincc/31e52218d098529b4696 (not recommended) applied. For assessment purposes.
2014-11-22Small improvements to SimulatorFeaturesModule: (1) don't overwrite extras if ↵Diva Canto1-1/+21
the grid response is invalid; (2) make the name of the config variable for destination guide consistent with the grid-wide name in LoginService; (3) account for the existence of a [USERID] in the destination guide URL
2014-11-06Added grid information to SimFeatures response, so that the viewer can show it.Diva Canto1-1/+13
2014-10-02minor: Comment out received seed caps request logging for nowJustin Clark-Casey (justincc)1-2/+2
2014-10-02Add "debug lludp throttle status" command to return status information about ↵Justin Clark-Casey (justincc)1-0/+36
a client's throttle (currently just whether adaptive is enabled).
2014-10-02Add "debug lludp throttle log <level> <avatar-first-name> ↵Justin Clark-Casey (justincc)3-18/+111
<avatar-last-name>" to control extra throttle related debug logging.
2014-09-24Add "debug lludp data out" console command for logging outgoing data just ↵Justin Clark-Casey (justincc)2-1/+52
before it's put on the wire. Unlike "debug lludp packet" which logs at the point where OpenSim first asks the clientstack to send a certain outgoing packet, this logs immediately before the actual send. For low-level debugging purposes.
2014-09-04Make LLUDP output queue refill thread active by default, since load tests ↵Justin Clark-Casey (justincc)2-1/+3
have shown that this has better scalability. For testing, previous behaviour can be restored with the console command "debug lludp oqre stop" at runtime.
2014-08-26Implement experimental non-default mechanism to update scene via a timer ↵Justin Clark-Casey (justincc)1-1/+1
rather than a persistent thread with sleep. This is to see if an inaccuracy in sleep times under load is responsible for increase in frame times even when there is spare time still available. Can currently only be activated by setting "debug scene set update-on-timer true". Can be switched between timer and thread with sleep updates whilst the scene is running.
2014-08-19Extend drop command to "debug lludp drop <in|out>..." to allow drop of ↵Justin Clark-Casey (justincc)2-8/+44
inbound packets. For test/debug purposes.
2014-08-19Add "debug lludp drop out <add|remove> <packet-name>" console command for ↵Justin Clark-Casey (justincc)2-0/+76
debug/test purposes. This drops all outbound packets that match a given packet name. Can currently only be applied to all connections in a scene.
2014-08-19Add clientstack.<scene>.OQRERequestsWaiting statJustin Clark-Casey (justincc)1-0/+19
Only present if OQRE is enabled
2014-08-19Add experimental OutgoingQueueRefillEngine to handle queue refill processing ↵Justin Clark-Casey (justincc)3-5/+288
on a controlled number of threads rather than the threadpool. Disabled by default. Currently can only be enabled with console "debug lludp oqre start" command, though this can be started and stopped whilst simulator is running. When a connection requires packet queue refill processing (used to populate queues with entity updates, entity prop updates and image queue updates), this is done via Threadpool requests. However, with a very high number of connections (e.g. 100 root + 300 child) a very large number of simultaneous requests may be causing performance issues. This commit adds an experimental engine for processing these requests from a queue with a persistent thread instead. Unlike inbound processing, there are no network requests in this processing that might hold the thread up for a long time. Early implementation - currently only one thread which may (or may not) get overloaded with requests. Added for testing purposes.
2014-08-19Make LLUDPServer.Scene publicly gettable/privately settable instead of ↵Justin Clark-Casey (justincc)3-49/+55
protected so that other logging code in the clientstack can record more useful information Adds some commented out logging for use again in the future. No functional change.
2014-08-15If a user moves back in sight of a child region before the agent has been ↵Justin Clark-Casey (justincc)1-1/+1
closed on teleport, don't unnecessarily resend all avatar and object data about that region.
2014-08-15On teleport to a region that already has a child agent established (e.g. a ↵Justin Clark-Casey (justincc)1-1/+1
neighbour) don't resend all the initial avatar and object data again. This is unnecessary since it has been received (and data continues to be received) in the existing child connection.
2014-08-13Only set up the UnackedMethod for an outgoing message if that message is ↵Justin Clark-Casey (justincc)1-1/+3
actually meant to get an ack (because it's reliable).
2014-08-06OpenSimExtrasBlueWall1-50/+24
Move the experimental extra features functionality into the GridService. This sends default values for map, search and destination guide, plus ExportSupported control to the region on startup. Please watch http://opensimulator.org/wiki/SimulatorFeatures_Extras for changes and documentation.
2014-08-05Make currently unfiltered EventQueue log messages only appear now at ↵Justin Clark-Casey (justincc)1-16/+24
DebugLevel 1 This covers event queue setup messages and some outgoing messages (e.g. EnableSimulator) In my experience these messages are only useful if you really know what they mean and you're looking for them Otherwise, they're quite spammy. Event queue DebugLevel 1 is enabled with the "debug eq 1" console command
2014-08-02Fix typo in log messageBlueWall1-1/+1
2014-08-01Fix regression in SimulatorFeatures module that would stop OpenSimulator ↵Justin Clark-Casey (justincc)1-12/+20
from starting if no [SimulatorFeatures] section was present in config.
2014-07-31Add region-side extra feature setting for destination guideBlueWall1-0/+4
2014-07-30Simulator Extra Features ServiceBlueWall1-9/+65
Provide a means for regions to fetch extra features supported by modern viewers from a central location .
2014-07-21XBakes: store the assets only in the sim's local assets cache; not in the ↵Oren Hurvitz1-89/+37
main assets server. Also, some cleanup.
2014-07-21In "show throttles", show the maximum drip rate. This shows whether a client ↵Oren Hurvitz2-10/+11
is being throttled due to past poor performance.
2014-07-21Added "debug packet --all" option, which changes the packet logging level ↵Oren Hurvitz1-8/+26
for both current and future clients The existing "--default" option only changes the logging level for future clients.
2014-07-21Fixed the logic that decides if a packet was queued (it was reversed)Oren Hurvitz1-5/+6
2014-07-21Eliminated some warningsOren Hurvitz1-1/+0
2014-07-17fix all instances of "non-existant" to "non-existent" (spelling mistakes) ↵Michael Cerquoni1-1/+1
thanks Ai Austin for pointing this out.
2014-07-04minor: put standard 'category' in brackets at front of log messages from ↵Justin Clark-Casey (justincc)1-2/+8
previous commit 3d70db4a