aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-16Add a way to put things at the front of the queue for any throttle group.Melanie3-15/+57
Adds a DoubleLocklessQueue and uses it for the outgoing buckets. Added a flag value to the Throttle Type (again) because although it's hacky, it's the best of a bad bunch to get the message through the UDP stack to where it's needed.
2013-01-16Change all uses of the removed state queue to the task queue for now.Melanie1-5/+5
2013-01-16Complete removal of the now unused state queueMelanie2-14/+3
2013-01-16Revert " fix STATE udp queue data rate since it is in use again, after being"Melanie1-4/+1
This reverts commit 4d92c6b39f3ebb7a27517493b66d097d9d9d23dd.
2013-01-16 fix STATE udp queue data rate since it is in use again, after beingUbitUmarov1-1/+4
removed by intel folks (?)( should it be used or removed ??)
2013-01-13 try to patch getmesh Throttle (test)UbitUmarov1-2/+8
2013-01-13add some sanity checking to HandleAgentRequestSit handlerdahlia1-2/+12
2013-01-08Add the new UpdateAgentInformation cap to make maturity on more recent viewersMelanie1-0/+19
work.
2012-12-31* Fixed a bug that replayed old cached appearance when changing outfitsteravus2-46/+111
* Added suser(bad client) DOS protection by limiting the max cacheitems to the maximum sane amount. * Prevents potential numerous loops from running amok and index errors if the client purposely provides bad cache info. * If the XBakes service wasn't running, the SetAvatarAppearance routine would crash when contacting the XBakes service even though it was in a Try/Catch for the appropriate error type. It only properly error handles with the type Exception :(. (commented on that because it's unusual)
2012-12-29* This finishes the implementation of AgentCachedTexture. Requires the ↵teravus2-20/+230
XBakes Module and service for full functionality. Previous no-cache functionality works without the service and module. In some ways, I would have been happier not putting an AssetBase in WearableCacheItem.. but turns out it was probably unavoidable. No additional locks, yay.
2012-12-21* Partial Commit for Avatar Appearance to include the functionality of ↵teravus1-5/+21
Cached Bakes.
2012-12-14Prevent a failed user relogi from throwing exceptions in poll servicesMelanie2-2/+2
2012-12-13 FIX small avatars movement on terrain. (avatar appearance getting evenUbitUmarov1-1/+3
more messy)
2012-12-13add a Check method to flotsamAssetCache, so to check if a asset is inUbitUmarov1-7/+22
cache without actually loading it. Make use limited use of it in avatarfactory textures check. Also on llclientview HandleAgentTextureCached that now should work. Other asset cache modules for now will return false, so are broken. baked textures logic still unchanged. *UNTESTED*
2012-12-10 typo fixUbitUmarov1-2/+3
2012-12-09add velocityinterpolator packets handling but actually do nothing, sinceUbitUmarov1-1/+27
they don't do what i was looking for.
2012-12-08* This is a better way to do the last commit.teravus1-30/+33
2012-12-07* Should promote faster self appearance.teravus1-19/+33
2012-12-07revert the use of avatar skeleton and use avatar size provided by viewers,UbitUmarov1-1/+2
since at least for now seems good enought
2012-11-22* While this is not producing any problems.. and does help in low bandwidth ↵teravus1-7/+35
situations I can't demonstrate that it's better then just letting the client request what it needs in terms of responsiveness of the mesh in the scene yet.
2012-11-17* Plumbing and basic setting of the GetMesh Cap Throttler.teravus3-18/+88
* Last step is to flip the throttle distribution.
2012-11-16Add a first draft mechanism for the IncomingPacketsProcessedStat to show the ↵Justin Clark-Casey (justincc)1-0/+1
delta over time. The chief motivation for this is to be able to tell whether there's any impact on incoming packet processing from enabling extra packet pooling.
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus11-824/+165
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-15Handle Map block requests on a separate thread rather than the main packet ↵Justin Clark-Casey (justincc)1-1/+1
handling thread. This prevents a slow grid information network call from holding up the main packet handling thread. There's no obvious race condition reason for not doing this asynchronously.
2012-11-15Do HandleMapLayerRequest on its own thread rather than on the main inbound ↵Justin Clark-Casey (justincc)1-1/+1
udp packet handling thread. There's no obvious race condition reason for doing this on the main packet handling thread.
2012-11-15Following on from 4f982596, launch map name requests on an async thread from ↵Justin Clark-Casey (justincc)1-1/+1
LLClientView directly. This releases the inbound packet handling thread marginally quicker and is more consistent with the other async packet handling
2012-11-15Make PacketPool class stats pull stats instead of push stats so they can be ↵Justin Clark-Casey (justincc)3-63/+107
lifted up into LLUDPServer and be distiguished by scene name
2012-11-15Add IncomingPacketsProcessedCount stat for diagnostics.Justin Clark-Casey (justincc)2-38/+96
Also puts some packet processing counts in a container named after the scene so that stats can be collected from more than one scene.
2012-11-14Added AssemblyInfos to every dll in the OpenSim.Region namespace.Diva Canto3-0/+99
2012-11-12Cleanup on region modules: gave short node id's to all of them.Diva Canto12-12/+12
2012-11-12Remove any mention of IRegionModule from region names and comments to aidMelanie3-5/+5
grepping for remaining uses
2012-11-10One more module converted: ObjectAdd.Diva Canto1-51/+66
2012-11-10One more module: EventQueueGetModule. Also making it non-optional for this dll.Diva Canto1-53/+38
2012-11-09* Prep work switching the GetMeshModule over to a poll service.teravus2-73/+410
* This still has the image throttler in it.. as is... so it's not suitable for live yet.... The throttler keeps track of the task throttle but doesn't balance the UDP throttle yet.
2012-11-05This implements the Caps throttler. After some testing, the system seemed ↵teravus1-13/+106
to be OK with me specifying allowing 1 oversized image per 70,000b/sec with at least one. Try it out, start with a low bandwidth setting and then, set your bandwidth setting middle/high and see the difference. Tested with Two Clients on a region with 1800 textures all visible at once.
2012-11-05Another step in the chain. Pipe the throttle update to the appropriate ↵teravus1-12/+35
PollServiceTextureEventArgs. Each poll service having it's own throttle member is more consistent with the model then the region module keeping track of all of them globally and better for locking too. The Poll Services object is not set static to handle multiple nearby regions on the same simulator. Next step is hooking it up to HasEvents
2012-11-04Pipe Throttle Update Event to EventManager, client --> ScenePresence --> ↵teravus2-0/+53
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-31Handle UUIDGroupName and ObjectGroup viewer UDP requests asynchronously ↵Justin Clark-Casey (justincc)1-2/+2
rather than synchronously. This is to avoid the entire scene loop being held up when the group service is slow to respond. There's no obvious reason for these queries to be sync rather than async.
2012-10-25Fix script error messages not showing up in viewer 3 and associated viewers.Justin Clark-Casey (justincc)1-3/+4
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-10-23Make it possible to turn the base UDP object packet pools on and off whilst ↵Justin Clark-Casey (justincc)2-38/+131
running via the "debug lludp pool <on|off>" console command. For debug purposes. This does not currently apply to the higher LLUDP packetpool.
2012-10-23Add object count stats for new IncomingPacket and UDPPacketBuffer pools if ↵Justin Clark-Casey (justincc)3-6/+65
they are enabled. Add count stats for existing LLUDP pool. This introduces a pull stat type in addition to the push stat type. A pull stat takes a method on construction which knows how to update the stat on request. In this way, special interfaces for pull stat collection are not necessary.
2012-10-18Remove redundant and annoyingly modal message box in upload processing.Melanie1-11/+11
2012-10-18minor: Remove event method doc from LLClientView that I forgot in the last ↵Justin Clark-Casey (justincc)1-15/+0
commit (1de80c)
2012-10-17Reuse the same AgentUpdateArgs object for each AgentUpdate UDP packet (of ↵Justin Clark-Casey (justincc)1-41/+68
which there are 10 a second) rather than constructing a new one every time. We can do this because AgentUpdate packets are handled synchronously.
2012-10-17Explicitly return only the incoming AgentUpdate packet as this is the only ↵Justin Clark-Casey (justincc)3-8/+30
one we pool atm, rather than attempting to return all incoming packets.
2012-10-17If RecycleBaseUDPPackets = true, also pool IncomingPackets to reduce memory ↵Justin Clark-Casey (justincc)2-2/+30
churn
2012-10-17Allow the console to be used by gods as well as region owners.Melanie1-1/+1
2012-10-16minor: Make BasicCircuitTests.SetUp() call overriden base method instead of ↵Justin Clark-Casey (justincc)1-1/+2
ignoring it.
2012-10-16Add optional pool for the UDPPacketBuffer objects that handle all incoming ↵Justin Clark-Casey (justincc)2-24/+49
UDP data. Even when an avatar is standing still, it's sending in a constant stream of AgentUpdate packets that the client creates new UDPPacketBuffer objects to handle. This option pools those objects. This reduces memory churn. Currently off by default. Works but the scope can be expanded.
2012-10-16Make it possible to separate start and stop lludp packet processing from the ↵Justin Clark-Casey (justincc)2-31/+129
console for debug processes. This is controlled via the "debug lludp start <in|out|all>" and "debug lludp stop <in|out|all>" region console commands. The command "debug lludp status" will show current status.