aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-06* Continued work on the new LLUDP implementation. Appears to be functioning, ↵John Hurliman1-742/+0
although not everything is reimplemented yet * Replaced logic in ThreadTracker with a call to System.Diagnostics that does the same thing * Added Util.StringToBytes256() and Util.StringToBytes1024() to clamp output at byte[256] and byte[1024], respectively * Fixed formatting for a MySQLAssetData error logging line
2009-10-02* Changed the flush logic to drop packets in non-transactional streams, and ↵John Hurliman1-45/+13
to not fire any "put more data in the queues" callbacks * Minor tweaks to code formatting to make the callback chain for packet queuing easier to follow
2009-10-02Change texture sending to be driven by the queue empty event from theMelanie1-34/+30
packet queue, rather than a timer
2009-10-01Add a method to determine the count of packets in a throttleMelanie1-0/+21
2009-10-01Add OnQueueEmpty event to the packet layers. No user functinality yetMelanie1-0/+49
2009-10-01Fixing LLClientView memory leakJames J Greensky1-1/+7
Fixing LLClientView memory leak by disposing of all timers utilized in LLClientView as they contain references to the callback method. This required the use of the Terminate and Close infrastructure that was already in place but was not being utilized.
2009-10-01Formatting cleanup.Jeff Ames1-3/+3
2009-08-18Added new OpenSim.ini setting: "client_throttle_max_bps" which overrides ↵dahlia1-14/+22
user's viewer network throttle settings
2009-07-01Formatting cleanup.Jeff Ames1-6/+6
2009-06-29* Changing List to Dictionary in PacketQueue.Dequeue for great justice (and ↵Arthur Valadares1-8/+18
performance)
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-20Add copyright headers, formatting cleanup.Jeff Ames1-5/+5
2009-05-19trying to fix exception with in LLPacketQueue probably caused byDr Scofield1-5/+5
missing locks where the queue was modified.
2009-05-10* Further testing against core packet issue.Adam Frisby1-2/+3
2009-05-10* Attempting to diagnose a core packet issue on Windows/.NET. Adding ↵Adam Frisby1-2/+5
additional locks to see if it fixes the problem.
2009-05-05Add copyright header. Formatting cleanup. Ignore some generated files.Jeff Ames1-1/+1
2009-05-03Make a race condition in packet resending smallerMelanie Thielker1-0/+1
2009-05-02Handle resends betterMelanie Thielker1-0/+5
2009-05-02Numerous packet improvements.Melanie Thielker1-1/+24
Don't allow packets to be resent before they have actually been sent for the first time. Switch from serializing a packet to get it's length to the LibOMV provided Length property. Fix resend timing. Fix the use of dangling references to Acked packets. Fix the packet handler to play nice with the packet pool. Fix the packet pool. Add data block recycling to the packet pool. Packet pool is now ENABLED by default. Add config option to disable packet and data block reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being recycled.
2009-04-10* Patch from RemedyTomm Mantis 3440Teravus Ovares1-0/+14
* Revamps the server side texture pipeline * Textures should load faster, get clogged less, and be less blurry * Minor tweak to ensure the outgoing texture throttle stays private. * Fixes mantis 3440
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