aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-25A few updates necessary for load balancer.Mike Mazur1-8/+17
- handle GetUser request for nonexistent user gracefully - include throttle levels in ClientInfo - code to save/restore throttles in client stack - only update/send updates to active clients - make animation classes serializable
2009-02-12* optimized usings.lbsa711-5/+4
2009-01-06* prune and regrade log messages relating to client login and logoutJustin Clarke Casey1-2/+0
2008-12-18* Added "show queues" command that shows throttling queues for all clients.lbsa711-1/+1
*** This only works for LLCLientView at the moment ***
2008-12-17Reapply the packet optimization patch, with changesMelanie Thielker1-23/+16
2008-12-17Revert 7754 and 7755 pending a reworkMelanie Thielker1-16/+23
2008-12-17Change the PacketQueue to use the stored size as wellMelanie Thielker1-23/+16
2008-12-17* Only serialize packets once for the length calculation for throttle queues ↵Justin Clarke Casey1-16/+25
rather than twice
2008-12-17* Replace manually zeroing with Array.Clear(). Thanks cmickeybJustin Clarke Casey1-2/+2
2008-12-17Mantis #2850Melanie Thielker1-1/+14
Applying the patch to reduce the load caused by the throttle loop even more
2008-12-17Avoid checking the throttle limit for empty queuesMelanie Thielker1-7/+7
2008-11-09Update svn properties. Add copyright headers. Minor formatting cleanup.Jeff Ames1-1/+1
2008-11-08* Fixed a major memory leak in packet processing - PacketQueue.Close is ↵Adam Frisby1-1/+20
never called, causing the PacketQueue for dead clients to be preserved (including it's contents). * This patch is highly experimental and may cause clients to not be able to connect, if this is the case, it will be rolled back in approximately 5 minutes.
2008-11-05* Set default client throttle multiplier to 2 (old value was effectively 8). ↵Justin Clarke Casey1-1/+2
See OpenSim.ini.example for details as to what this means * Really this should be 1, but I think that this would be too slow compared to a Second Life server until we improve our ability to send textures of variable quality * This may improve one aspect of sim performance where there are many avatars. However, there are still other performance problems that are unrelated to this change * Value may be further tuned * Removed temporary decals since the multipler setting will stick around now
2008-11-03* Expose a client_throttle_multiplier setting in OpenSim.ini. This ↵Justin Clarke Casey1-8/+8
multiplier is applied to all the client throttle settings received by the client * This should probably be 1, but currently by default it is 8, to reflect what was being eon3 in OpenSim before this revision. So if the client requested a maximum throttle of 1500 kilobits per second, we would actually send out 1500 kilobytes per second * Adjusting this multiplier down towards 1 may improve your OpenSim experience, though in other situations it may degrade (e.g. if you're using a standalone over high bandwidth links) * This is currently a user setting because adjusting it down may currently reveal other OpenSim bugs.
2008-11-03* Use nini to pass config information to the client stack, rather than the ↵Justin Clarke Casey1-0/+6
ClientStackUserSettings class * This conforms better to other module usage
2008-10-07* Comment out debug throttle output that I had accidentally left inJustin Clarke Casey1-0/+2
2008-10-06* Change interpretation of asset throttle values to bits per second rather ↵Justin Clarke Casey1-29/+28
than bytes per second * Changing network bandwidth in the preferences will now have a much more noticeable effect - a user may want to increase this if data is being slow to download from opensim
2008-10-03* Put in some infrastructure to allow tweaking of packet queue throttle ↵Justin Clarke Casey1-5/+14
values for the total throttle (the one that throttles all packet output) * Not complete yet
2008-10-03* refactor: make startup a template methodJustin Clarke Casey1-0/+3
2008-10-03* minor: remove warnings (the code cleaners strike again)Justin Clarke Casey1-2/+1
2008-09-26* Patch from JHurlimanTeravus Ovares1-2/+3
* Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
2008-09-20* refactor: remove unnecessary packet null check in LLClientViewJustin Clarke Casey1-1/+0
* if a packet was really null it would be caught by the general exception handler at the top of the client thread, which would also provide more information and attempt a clean shutdown
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-5/+5
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-09-03Mantis #2107Melanie Thielker1-6/+17
Thank you, lulurun, for a patch to fix a possible crash when a received packet contains a quaternion with all members zeroed.
2008-08-19Update svn properties, formatting cleanup.Jeff Ames1-1/+1
2008-08-18Change LowpriorityTask to be ThrottleType.Task | ThrottleType.LowPriority to ↵Melanie Thielker1-5/+5
make the flag nature of this value more clear.
2008-07-23Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames1-1/+1
2008-07-22Refactor the packet scheduling out of ClientView. Add intelligentMelanie Thielker1-22/+46
resending, timeouts, packet discarding. Add notification event for packet discarding. Add priority scheduling for packet queues. Add outgoing duplicate detection facility. Correct packet sequencing. Make provisions for automatic server side throttle adjustments (comes in next installment)
2008-06-27last round of warning squashing. calling it a day now.Dr Scofield1-2/+2
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames1-2/+2
2008-05-24* Temporary fix for mantis 1374Justin Clarke Casey1-1/+11
* If the agent throttle byte array is unexpectedly empty, then log a warning and drop the packet
2008-05-16Formatting cleanup.Jeff Ames1-15/+15
2008-05-14More formatting cleanup.Jeff Ames1-1/+2
2008-05-02fixed the dos line endingsSean Dague1-531/+531
2008-05-02* Commit 2/3 - Please dont attempt to update to this revision until all 3 ↵Adam Frisby1-532/+532
are in.
2008-05-01* Breaking all the code, breaking all the code..!Adam Frisby1-2/+2
* Made a bunch more members static, removed some dead code, general cleaning.
2008-04-05* Lowered the default throttle settings. They were way too high at 1.5MB/s! Teravus Ovares1-8/+8
* This will definitely help the missing prim problem (probably eliminate it entirely)! * This will help the broken up land block problem (probably eliminate it entirely)! * Warning, change the default throttle settings at your own risk ( and don't commit the throttle settings! )
2008-03-18Formatting cleanup.Jeff Ames1-26/+26
2008-03-04Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson1-1/+11
support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim.
2008-03-02Applying Ahzzmandius' second patch from bug 701. Teravus Ovares1-1/+1
ClientView triggers OnClose event before flushing packetqueue. Thank sAhzzmandius!
2008-02-25* Caught HttpListenerException and swallowed if with outputlbsa711-1/+3
* Moved Flush into Close since it's always done in that order. * Minor renamings * Reversed if for clarity
2008-02-22* Implement packet queue statisticsJustin Clarke Casey1-2/+35
* This will show the packets waiting in each queue for each client logged into a region server * These are displayed using 'show stats' on the region command line * This is in pursuit of a memory leak. * This will require a prebuild
2008-02-20Minor cleanup.Jeff Ames1-2/+2
2008-02-05Converted logging to use log4net.Jeff Ames1-4/+6
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-01-22* Enabled dead region tracking for ChildAgentDataUpdates Teravus Ovares1-1/+1
** If the region fails 3 times, then ChildAgentDataUpdates no longer get sent to that region * Enabled Child_Get_Tasks in grid mode. * When Child_Get_Tasks is enabled on neighbor regions, the neighbor region uses the client's draw distance to send out prim. This is a lot less likely to flood the client now since the ChildAgentDataUpdate contains both the throttle settings and the draw distance. This means that with this enabled, you can see prim in other regions in grid mode. Very experimental.
2007-12-27* Optimized usingslbsa711-97/+101
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-15* some work on not storing the circuitPack (bad thing if we're going to ↵lbsa711-2/+2
reuse packets) * some work on encapsulation, code convention compliance and beautification. * also, some ignores
2007-12-11consolidate client view exit paths, this seems toSean Dague1-12/+5
cause a different synchronization issue in other shutdown routines, though I'm not sure why
2007-12-11force a flush before client shutdown, so no important packets are lostSean Dague1-2/+39