aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Continued work on the new LLUDP implementation. Appears to be functioning, ↵John Hurliman2009-10-061-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
* Merge branch 'diva-textures-osgrid' into diva-texturesMelanie2009-10-021-45/+13
|\
| * * Changed the flush logic to drop packets in non-transactional streams, and ↵John Hurliman2009-10-021-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
* | Merge branch 'master' into diva-texturesMelanie2009-10-021-3/+3
|\ \ | |/ |/|
| * Formatting cleanup.Jeff Ames2009-10-011-3/+3
| |
* | Change texture sending to be driven by the queue empty event from theMelanie2009-10-021-34/+30
| | | | | | | | packet queue, rather than a timer
* | Add a method to determine the count of packets in a throttleMelanie2009-10-011-0/+21
| |
* | Add OnQueueEmpty event to the packet layers. No user functinality yetMelanie2009-10-011-0/+49
| |
* | Fixing LLClientView memory leakJames J Greensky2009-10-011-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.
* Added new OpenSim.ini setting: "client_throttle_max_bps" which overrides ↵dahlia2009-08-181-14/+22
| | | | user's viewer network throttle settings
* Formatting cleanup.Jeff Ames2009-07-011-6/+6
|
* * Changing List to Dictionary in PacketQueue.Dequeue for great justice (and ↵Arthur Valadares2009-06-291-8/+18
| | | | performance)
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Add copyright headers, formatting cleanup.Jeff Ames2009-05-201-5/+5
|
* trying to fix exception with in LLPacketQueue probably caused byDr Scofield2009-05-191-5/+5
| | | | | missing locks where the queue was modified.
* * Further testing against core packet issue.Adam Frisby2009-05-101-2/+3
|
* * Attempting to diagnose a core packet issue on Windows/.NET. Adding ↵Adam Frisby2009-05-101-2/+5
| | | | additional locks to see if it fixes the problem.
* Add copyright header. Formatting cleanup. Ignore some generated files.Jeff Ames2009-05-051-1/+1
|
* Make a race condition in packet resending smallerMelanie Thielker2009-05-031-0/+1
|
* Handle resends betterMelanie Thielker2009-05-021-0/+5
|
* Numerous packet improvements.Melanie Thielker2009-05-021-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.
* * Patch from RemedyTomm Mantis 3440Teravus Ovares2009-04-101-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
* A few updates necessary for load balancer.Mike Mazur2009-02-251-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
* * optimized usings.lbsa712009-02-121-5/+4
|
* * prune and regrade log messages relating to client login and logoutJustin Clarke Casey2009-01-061-2/+0
|
* * Added "show queues" command that shows throttling queues for all clients.lbsa712008-12-181-1/+1
| | | | | *** This only works for LLCLientView at the moment ***
* Reapply the packet optimization patch, with changesMelanie Thielker2008-12-171-23/+16
|
* Revert 7754 and 7755 pending a reworkMelanie Thielker2008-12-171-16/+23
|
* Change the PacketQueue to use the stored size as wellMelanie Thielker2008-12-171-23/+16
|
* * Only serialize packets once for the length calculation for throttle queues ↵Justin Clarke Casey2008-12-171-16/+25
| | | | rather than twice
* * Replace manually zeroing with Array.Clear(). Thanks cmickeybJustin Clarke Casey2008-12-171-2/+2
|
* Mantis #2850Melanie Thielker2008-12-171-1/+14
| | | | | | Applying the patch to reduce the load caused by the throttle loop even more
* Avoid checking the throttle limit for empty queuesMelanie Thielker2008-12-171-7/+7
|
* Update svn properties. Add copyright headers. Minor formatting cleanup.Jeff Ames2008-11-091-1/+1
|
* * Fixed a major memory leak in packet processing - PacketQueue.Close is ↵Adam Frisby2008-11-081-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.
* * Set default client throttle multiplier to 2 (old value was effectively 8). ↵Justin Clarke Casey2008-11-051-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
* * Expose a client_throttle_multiplier setting in OpenSim.ini. This ↵Justin Clarke Casey2008-11-031-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.
* * Use nini to pass config information to the client stack, rather than the ↵Justin Clarke Casey2008-11-031-0/+6
| | | | | | | | ClientStackUserSettings class * This conforms better to other module usage
* * Comment out debug throttle output that I had accidentally left inJustin Clarke Casey2008-10-071-0/+2
|
* * Change interpretation of asset throttle values to bits per second rather ↵Justin Clarke Casey2008-10-061-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
* * Put in some infrastructure to allow tweaking of packet queue throttle ↵Justin Clarke Casey2008-10-031-5/+14
| | | | | | | | values for the total throttle (the one that throttles all packet output) * Not complete yet
* * refactor: make startup a template methodJustin Clarke Casey2008-10-031-0/+3
|
* * minor: remove warnings (the code cleaners strike again)Justin Clarke Casey2008-10-031-2/+1
|
* * Patch from JHurlimanTeravus Ovares2008-09-261-2/+3
| | | | | | | | | * Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
* * refactor: remove unnecessary packet null check in LLClientViewJustin Clarke Casey2008-09-201-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
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-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.
* Mantis #2107Melanie Thielker2008-09-031-6/+17
| | | | | | | Thank you, lulurun, for a patch to fix a possible crash when a received packet contains a quaternion with all members zeroed.
* Update svn properties, formatting cleanup.Jeff Ames2008-08-191-1/+1
|
* Change LowpriorityTask to be ThrottleType.Task | ThrottleType.LowPriority to ↵Melanie Thielker2008-08-181-5/+5
| | | | make the flag nature of this value more clear.
* Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames2008-07-231-1/+1
|