aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactored the GetMesh module into a handler and a module, to be the same as ↵Diva Canto2011-05-022-113/+40
| | | | GetTexture.
* Works!Diva Canto2011-05-024-10/+34
|
* Start to drill down on GetTexture. Read the config and do different things.Diva Canto2011-05-011-4/+12
|
* Broke down Caps.cs into a generic Caps object that simply ↵Diva Canto2011-05-014-3/+1300
| | | | | | | registers/unregisters capabilities and a specific bunch of capability implementations in Linden space called BunchOfCaps. Renamed a few methods that were misnomers. Compiles but doesn't work.
* Change GetTextureModule.cs to conform to the new IRegion module interface. ↵Diva Canto2011-05-011-6/+21
| | | | NOTHING OF THIS WORKS. Compiles.
* Move CapabilitiesModule back to CoreModules. This one belongs there.Diva Canto2011-05-011-257/+0
|
* Added OpenSim.Capabilities.Handlers. For the moment it has only the ↵Diva Canto2011-05-011-311/+4
| | | | GetTexture handler. The region module in Linden space uses it. WARNING: nothing of this works yet, it just compiles.
* Nope, that didn't feel right. Moving all those modules to Linden space.Diva Canto2011-04-307-0/+1893
|
* First stab at cleaning up Caps. Compiles. Untested.Diva Canto2011-04-3019-0/+1128
|
* Eliminated sAgentCircuitData, a data structure that has been obsolete for ↵Diva Canto2011-04-281-1/+1
| | | | quite some time.
* Merge branch 'master' into queuetestMic Bowman2011-04-261-1/+9
|\
| * recover from unhandled exception from bad rotation data while processing ↵dahlia2011-04-251-1/+9
| | | | | | | | entity updates in LLClientView.cs
* | Removed debug message in the token bucket codeMic Bowman2011-04-251-1/+1
| |
* | Fix the totals shown by show throttleMic Bowman2011-04-251-1/+1
| |
* | Fixed the transmission of throttles from root agent to childMic Bowman2011-04-252-16/+26
| | | | | | | | | | | | agents. Child throttles are based on the number of child agents known to the root and at least 1/4 of the throttle given to the root.
* | Cleaned up various configuration options. Removed the category throttleMic Bowman2011-04-253-78/+34
| | | | | | | | | | | | | | | | | | limits because the only ones used now are the defaults (which are overwritten by the client throttles anyway). Updated the default rates to correspond to about 350kbps. Also added a configuration to disable adaptive throttle. The default is the previous behavior (no adaptation).
* | Set the initial rate for the adaptive throttle to 160KpbsMic Bowman2011-04-221-4/+6
| | | | | | | | or about 15 packets per second.
* | Various clean ups. Removed some debugging code. Added a new "show pqueues"Mic Bowman2011-04-222-23/+6
| | | | | | | | | | | | command to look at the entity update priority queue. Added a "name" parameter to show queues, show pqueues and show throttles to look at data for a specific user.
* | Merge branch 'queuetest' of ssh://opensimulator.org/var/git/opensim into ↵Mic Bowman2011-04-212-26/+34
|\ \ | | | | | | | | | queuetest
| * | Refactor UnackedPacketCollection so ProcessQueues will handle Adds, Acks, ↵Dan Lake2011-04-212-26/+34
| | | | | | | | | | | | and Removes in that order.
* | | Add some locking on the child list for the token bucketMic Bowman2011-04-211-15/+22
|/ / | | | | | | hiearchy. A few other cosmetic changes.
* | Added ability to remove unacked packet from UnackedPacketCollection without ↵Dan Lake2011-04-212-2/+38
| | | | | | | | an acknowledgement from the network. This prevents RTT and throttles from being updated as they would when an ACK is actually received. Also fixed stats logging for unacked bytes and resent packets in this case.
* | bug fix. Now when an unacked update packet is handled through ↵Dan Lake2011-04-203-16/+25
| | | | | | | | ResendPrimUpdates, it is removed from the UnackedPacketCollection.
* | Added an "immediate" queue to the priority queue. This isMic Bowman2011-04-201-245/+0
| | | | | | | | | | | | | | | | | | per Melanie's very good suggestion. The immediate queue is serviced completely before all others, making it a very good place to put avatar updates & attachments. Moved the priority queue out of the LLUDP directory and into the framework. It is now a fairly general utility.
* | Adds the first pass at an adaptive throttle to slow start newMic Bowman2011-04-204-18/+95
| | | | | | | | | | | | | | | | clients. If the sent packets are ack'ed successfully the throttle will open quickly up to the maximum specified by the client and/or the sims client throttle. This still needs a lot of adjustment to get the rates correct.
* | Converted the property request queue to use the same retransmissionMic Bowman2011-04-191-23/+52
| | | | | | | | mechanism as the entity update queues.
* | Requeue unacknowledged entity updates rather than resend then "as is".Dan Lake2011-04-193-54/+112
|/ | | | | | | | | | | | | | | | | | | | | | | | Often, by the time the UDPServer realizes that an entity update packet has not been acknowledged, there is a newer update for the same entity already queued up or there is a higher priority update that should be sent first. This patch eliminates 1:1 packet resends for unacked entity update packets. Insteawd, unacked update packets are decomposed into the original entity updates and those updates are placed back into the priority queues based on their new priority but the original update timestamp. This will generally place them at the head of the line to be put back on the wire as a new outgoing packet but prevents the resend queue from filling up with multiple stale updates for the same entity. This new approach takes advantage of the UDP nature of the Linden protocol in that the intent of a reliable update packet is that if it goes unacknowledge, SOMETHING has to happen to get the update to the client. We are simply making sure that we are resending current object state rather than stale object state. Additionally, this patch includes a generalized callback mechanism so that any caller can specify their own method to call when a packet expires without being acknowledged. We use this mechanism to requeue update packets and otherwise use the UDPServer default method of just putting expired packets in the resend queue.
* Remove the call to remove tokens from the parent. Under heavy loadMic Bowman2011-04-152-5/+14
| | | | | | | | | | this appears to cause problems with the system timer resolution. This caused a problem with tokens going into the root throttle as bursts leading to some starvation. Also changed EnqueueOutgoing to always queue a packet if there are already packets in the queue. Ensures consistent ordering of packet sends.
* Merge branch 'testmerge' into queuetestMic Bowman2011-04-131-2/+8
|\ | | | | | | | | Conflicts: OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
| * remove packet monitoring debugging codeMic Bowman2011-04-131-116/+2
| |
| * Fixed the update of items in the priority queue to enable bothMic Bowman2011-04-132-7/+16
| | | | | | | | | | | | types of property updates to be specified. Not sure if one form of property update should supercede another. But for now the old OpenSim behavior is preserved by sending both.
| * fixed a couple bugs with the property queuesMic Bowman2011-04-131-1/+37
| |
| * First pass at moving object property requests into a queue similarMic Bowman2011-04-132-143/+220
| | | | | | | | | | | | | | | | to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
| * New tokenbucket algorithm. This one provides fair sharing of the queuesMic Bowman2011-04-134-145/+259
| | | | | | | | | | | | | | | | | | when client and simulator throttles are set. This algorithm also uses pre-defined burst rate of 150% of the sustained rate for each of the throttles. Removed the "state" queue. The state queue is not a Linden queue and appeared to be used just to get kill packets sent.
| * Add a regression test for rezzing a single object into a scene from user ↵Justin Clark-Casey (justincc)2011-04-131-1/+8
| | | | | | | | inventory
* | remove packet monitoring debugging codeMic Bowman2011-04-121-116/+2
| |
* | Fixed the update of items in the priority queue to enable bothMic Bowman2011-04-122-7/+16
| | | | | | | | | | | | types of property updates to be specified. Not sure if one form of property update should supercede another. But for now the old OpenSim behavior is preserved by sending both.
* | fixed a couple bugs with the property queuesMic Bowman2011-04-121-1/+37
| |
* | First pass at moving object property requests into a queue similarMic Bowman2011-04-122-143/+220
| | | | | | | | | | | | | | | | to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
* | New tokenbucket algorithm. This one provides fair sharing of the queuesMic Bowman2011-04-124-145/+259
|/ | | | | | | | | when client and simulator throttles are set. This algorithm also uses pre-defined burst rate of 150% of the sustained rate for each of the throttles. Removed the "state" queue. The state queue is not a Linden queue and appeared to be used just to get kill packets sent.
* Merge branch 'queuetest' of ssh://opensimulator.org/var/git/opensim into ↵Mic Bowman2011-04-111-1/+75
|\ | | | | | | | | | | | | | | queuetest Conflicts: OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs OpenSim/Region/Framework/Scenes/Prioritizer.cs
| * Fix a bug in the computation of the RTO. Basically... the RTO (theMic Bowman2011-04-041-2/+2
| | | | | | | | | | | | | | | | time to wait to retransmit packets) always maxed out (no retransmissions for 24 or 48 seconds. Note that this is going to cause faster (and more) retransmissions. Fix for dynamic throttling needs to go with this.
| * Implements adaptive queue management and fair queueing forMic Bowman2011-04-041-118/+235
| | | | | | | | | | | | | | improved networking performance. Reprioritization algorithms need to be ported still. One is in place.
* | Removed some priority queue debugging codeMic Bowman2011-04-111-80/+0
| |
* | Split the priority queue class into a seperate file. LLClientViewMic Bowman2011-04-102-205/+245
| | | | | | | | is big enough.
* | Fix a bug in the computation of the RTO. Basically... the RTO (theMic Bowman2011-04-101-2/+2
| | | | | | | | | | | | | | | | time to wait to retransmit packets) always maxed out (no retransmissions for 24 or 48 seconds. Note that this is going to cause faster (and more) retransmissions. Fix for dynamic throttling needs to go with this.
* | Implements adaptive queue management and fair queueing forMic Bowman2011-04-101-118/+235
| | | | | | | | | | | | | | improved networking performance. Reprioritization algorithms need to be ported still. One is in place.
* | Handle the client's parcel info requests asynchronously rather than ↵Justin Clark-Casey (justincc)2011-04-051-1/+1
| | | | | | | | | | | | | | synchronously. Handling these synchronously kills the inbound packet loop if many requests are made for remote land and those requests are handled slowly or timeout (timeout is 10s) This can happen if a user searches for "land for sale" and then clicks many of the parcels in the list (or just presses down arrow to move through every entry).
* | Make the "All Estates" option work from the client (this makes chosen ↵Justin Clark-Casey (justincc)2011-04-051-4/+20
|/ | | | | | | | changes to all the estates that the user owns). This applies to adding/removing estate users, groups, managers and bans. This is the application of the AllEstates_0.5.patch from http://opensimulator.org/mantis/view.php?id=5420 Thanks very much, Snoopy!
* Log which address and port the UDP listener is configured for. This will ↵Justin Clark-Casey (justincc)2011-04-011-0/+4
| | | | | | match that given for InternalAddress in the config (e.g. 0.0.0.0) Can't obtain actually bound address until the UDP socket is used for the first time.