aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Agent (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-22delay terrain sending if land queue is 2 busyUbitUmarov1-0/+5
2015-08-15Track selected objects per clientMelanie Thielker1-0/+2
2015-03-29varregion: any conversions of use of Constants.RegionSize converted intoRobert Adams1-1/+1
Util.cs routines to convert region coords to and from world coords or handles.
2014-11-25refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2-2/+2
thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
2014-11-25Fix setting of max scene throttle so that setting it restricts the child ↵Justin Clark-Casey (justincc)1-2/+4
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.
2014-11-25minor: In "show client stats" command, properly handle the case where a ↵Justin Clark-Casey (justincc)1-1/+3
client has made no AgentUpdate requests (as is the case with agents that have only even been child) rather than throwing an exception
2014-11-25Fix an issue where specifying both max client and server outgoing UDP ↵Justin Clark-Casey (justincc)1-7/+8
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-25Move information about "server agent rate" throttles into "show server ↵Justin Clark-Casey (justincc)1-39/+0
throttles" command rather than "show throttles" THis allows us to see the rates when no client is connected to the region.
2014-11-06 scale ChildAgentThrottles with distance (internal to child server and notUbitUmarov1-0/+5
root as was done before )
2014-08-29 add method to get a category throttle rateUbitUmarov1-0/+5
2014-08-21add a direct sendpartfullUpdate to send a full object update to a part,UbitUmarov1-0/+3
optionally overriding its parentID. check what it does to attachments
2014-08-14add a estimator of client ping time, and painfully make it visible in showUbitUmarov1-0/+2
connections console command
2014-07-25Revert "Write UDP statistics to the log, not just the console (e.g., "show ↵Justin Clark-Casey (justincc)1-37/+32
queues")" Fixes http://opensimulator.org/mantis/view.php?id=7280 It can't be done this way because the stats data needs to show up on the console at all log levels, not just debug. But this means setting it to log at fatal, which is not appropriate for this stuff in the log. I understand the desire but this has to be done some other way, perhaps by (yet another) config parameter. Also, this was already being done with the ClientStatsReport but that also should be done in another way, I think. This reverts commit 5d534127663899cd5592c865b1d00855fce25854.
2014-07-21In "show throttles", show the maximum drip rate. This shows whether a client ↵Oren Hurvitz1-4/+8
is being throttled due to past poor performance.
2014-07-21Write UDP statistics to the log, not just the console (e.g., "show queues")Oren Hurvitz1-32/+37
2014-04-23Eliminated many warningsOren Hurvitz1-0/+2
2014-03-24Get the full viewer name even if it's (incorrectly) sent in the 'Channel' fieldOren Hurvitz1-2/+2
Recent versions of Firestorm and Singularity have started sending the viewer name in the 'Channel' field, leaving only their version number in the 'Viewer' field. So we need to search both of these fields for the viewer name. This resolves http://opensimulator.org/mantis/view.php?id=6952
2014-01-24minor: remove long unused state queue from "show queues" console reportsJustin Clark-Casey (justincc)1-5/+3
2014-01-24minor: correct the usage statement on the "show image queues" console ↵Justin Clark-Casey (justincc)1-1/+1
command - should not have been "image queues show"
2014-01-24Skip IClientAPIs that don't implement IStatsCollector (such as NPCAvatar) ↵Justin Clark-Casey (justincc)1-15/+15
from the "show queues" console report to stop screwing up formatting. "show pquques" already did this
2013-12-26varregion: many more updates removing the constant RegionSize and replacingRobert Adams1-1/+1
with a passed region size. This time in the map code and grid services code.
2013-12-11Committing the Avination Scene Presence and related texture codeMelanie1-1/+1
- Parts of region crossing code - New bakes handling code - Bakes now sent from sim to sim without central storage - Appearance handling changes - Some changes to sitting - A number of unrelated fixes and improvements
2013-09-27refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)1-1/+1
the code that this is symmetric with CloseAgent()
2013-09-04Stop "show client stats" from throwing an exception if somehow ↵Justin Clark-Casey (justincc)1-1/+8
Scene.m_clientManager still retains a reference to a dead client. Instead, "show client stats" now prints "Off!" so that exception is not thrown and we know which entries in ClientManager are in this state. There's a race condition which could trigger this, but the window is extremely short and exceptions would not be thrown consistently (which is the behaviour observed). It should otherwise be impossible for this condition to occur, so there may be a weakness in client manager IClientAPI removal.
2013-07-21EDIT BEAMS!!! They had been missing from OpenSim since ever. Thanks to ↵Diva Canto1-1/+1
lkalif for telling me how to route the information. The viewer effect is under the distance filter, so only avatars with cameras < 10m away see the beams.
2013-07-21Manage AgentUpdates more sanely:Diva Canto1-0/+1
- The existing event to scene has been split into 2: OnAgentUpdate and OnAgentCameraUpdate, to better reflect the two types of updates that the viewer sends. We can run one without the other, which is what happens when the avie is still but the user is camming around - Added thresholds (as opposed to equality) to determine whether the update is significant or not. I thin these thresholds are ok, but we can play with them later - Ignore updates of HeadRotation, which were problematic and aren't being used up stream
2013-07-21Fixed the stats in show client stats. Also left some comments with ↵Diva Canto1-4/+4
observations about AgentUpdates.
2013-07-21Make the check as to whether any particular inbound AgentUpdate packet is ↵Justin Clark-Casey (justincc)1-2/+2
significant much earlier in UDP processing (i.e. before we pointlessly place such packets on internal queues, etc.) Appears to have some impact on cpu but needs testing.
2013-07-21Add measure of number of inbound AgentUpdates that were seen as significant ↵Justin Clark-Casey (justincc)1-3/+9
to "show client stats" (i.e. sent on for further processing instead of being discarded) Added here since it was the most convenient place Number is in the last column, "Sig. AgentUpdates" along with percentage of all AgentUpdates Percentage largely falls over time, most cpu for processing AgentUpdates may be in UDP processing as turning this off even earlier (with "debug lludp toggle agentupdate" results in a big cpu fall Also tidies up display.
2013-07-10show client stats: Fixed the requests/min. Also changed the spelling of the ↵Diva Canto1-21/+22
command, not without the dash.
2013-07-10Added show client-stats [first last] command to expose what viewers are ↵Diva Canto1-2/+107
requesting.
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie1-6/+1
is now viewerside" messages regarding currency This will require all money modules to be refactored!
2013-05-25Update the money framework to allow sending the new style linden "serverside ↵Melanie1-6/+1
is now viewerside" messages regarding currency This will require all money modules to be refactored!
2013-05-24This is an experimental patch that adds support for comparing textureMic Bowman1-1/+1
hashes for the purpose of accurately responding to AgentTextureCached packets. There is a change to IClientAPI to report the wearbles hashes that come in through the SetAppearance packet. Added storage of the texture hashes in the appearance. While these are added to the Pack/Unpack (with support for missing values) routines (which means Simian will store them properly), they are not currently persisted in Robust.
2013-05-09remove pointless region handle paramter from IClientAPI.SendKillObject()Justin Clark-Casey (justincc)1-1/+1
2013-05-08Adds an event and a method so that handling of the CachedTextureMic Bowman1-0/+6
packet can be pulled out of LLClientView and moved to AvatarFactory. The first pass at reusing textures (turned off by default) is included. When reusing textures, if the baked textures from a previous login are still in the asset service (which generally means that they are in the simulator's cache) then the avatar will not need to rebake. This is both a performance improvement (specifically that an avatars baked textures do not need to be sent to other users who have the old textures cached) and a resource improvement (don't have to deal with duplicate bakes in the asset service cache).
2013-04-22Allow callers to set the invoice parameter for GenericMessageMelanie1-2/+2
2013-04-22Allow callers to set the invoice parameter for GenericMessageMelanie1-2/+2
2013-02-07Plumb the path from the client to the extra physics params and backMelanie1-0/+5
2012-12-21* Partial Commit for Avatar Appearance to include the functionality of ↵teravus1-1/+1
Cached Bakes.
2012-12-07revert the use of avatar skeleton and use avatar size provided by viewers,UbitUmarov1-1/+1
since at least for now seems good enought
2012-11-17* Plumbing and basic setting of the GetMesh Cap Throttler.teravus1-0/+5
* Last step is to flip the throttle distribution.
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-4/+3
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-13All optional modules' directives moved out of addin.xmlDiva Canto1-1/+1
2012-11-11One more module converted: IRCStackModule.Diva Canto1-19/+35
2012-11-04Pipe Throttle Update Event to EventManager, client --> ScenePresence --> ↵teravus1-0/+1
EventManager, so that modules can know when throttles are updated. The event contains no client specific data to preserve the possibility of 'multiple clients' and you must still call ControllingClient.GetThrottlesPacked(f) to see what the throttles actually are once the event fires. Hook EventManager.OnUpdateThrottle to GetTextureModule.
2012-10-25Fix script error messages not showing up in viewer 3 and associated viewers.Justin Clark-Casey (justincc)1-1/+2
Viewer 3 will discard such a message if the chat message owner does not match the avatar. We were filling the ownerID with the primID, so this never matched, hence viewer 3 did not see any script error messages. This commit fills the ownerID in with the prim ownerID so the script owner will receive script error messages. This does not affect viewer 1 and associated viewers which continue to process script errors as normal.
2012-09-24 add missing transactionID in SendInventoryItemCreateUpdate. and make useUbitUmarov1-1/+6
of it on inventoryAccessModule, etc. Most likelly it's needs where there is a transactionID not zero
2012-08-20Add --force flag to "kick user" console command to allow bypassing of recent ↵Justin Clark-Casey (justincc)1-0/+5
race condition checks. This is to allow a second attempt to remove an avatar even if "show connections" shows them as already inactive (i.e. close has already been attempted once). You should only attempt --force if a normal kick fails. This is partly for diagnostics as we have seen some connections occasionally remain on lbsa plaza even if they are registered as inactive. This is not a permanent solution and may not work anyway - the ultimate solution is to stop this problem from happening in the first place.
2012-07-25Move Watchdog and MemoryWatchdog classes into OpenSim.Framework.Monitoring ↵Justin Clark-Casey (justincc)2-0/+2
with other monitoring code from OpenSim.Framework