aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-54/+85
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-21/+185
2012-12-19Disable UDPPacketBuffer pooling for now to resolve an issue on Windows of ↵Justin Clark-Casey (justincc)1-5/+8
interference between incoming packets. On Windows, concurrent multi-threaded processing of inbound UDP somehow allows different data input processing to interfere with each other. Possibly the endpoint reference is being switched, though I don't yet know the mechanism. Not seen on Mono. Also resolveable by setting RecyclePackets = false or RecycleBaseUDPPackets = false in [PacketPool] Or async_packet_handling = false in [ClientStack.LindenUDP] For now, will simply disable this particular pooling though will revisit this issue. In response to http://opensimulator.org/mantis/view.php?id=6468
2012-11-15Make PacketPool class stats pull stats instead of push stats so they can be ↵Justin Clark-Casey (justincc)1-1/+1
lifted up into LLUDPServer and be distiguished by scene name
2012-11-15Add IncomingPacketsProcessedCount stat for diagnostics.Justin Clark-Casey (justincc)1-24/+7
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-10-23Make it possible to turn the base UDP object packet pools on and off whilst ↵Justin Clark-Casey (justincc)1-21/+45
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)1-0/+17
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-16Add optional pool for the UDPPacketBuffer objects that handle all incoming ↵Justin Clark-Casey (justincc)1-6/+25
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)1-17/+27
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.
2011-12-08Reactivate BasicCircuitTests.TestAddClient()Justin Clark-Casey (justincc)1-1/+1
This checks that the initial UseCircuitCode packet is handled correctly for a normal client login.
2011-04-30First stab at cleaning up Caps. Compiles. Untested.Diva Canto1-0/+0
2011-04-01Log which address and port the UDP listener is configured for. This will ↵Justin Clark-Casey (justincc)1-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.
2009-11-09minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+2
2009-10-21* Clarified what FireQueueEmpty is doing with a MIN_CALLBACK_MS constant and ↵John Hurliman1-9/+0
upped it to 30ms * Removed the unused PacketSent() function * Switched UnackedPacketCollection from a SortedDictionary to a Dictionary now that the sorting is no longer needed. Big performance improvement for ResendUnacked()
2009-10-14Allow the LLUDP server to run in either synchronous or asynchronous mode ↵John Hurliman1-5/+23
with a config setting, defaulting to synchronous mode
2009-10-14* Minimized the number of times textures are pulled off the priority queueJohn Hurliman1-2/+13
* OnQueueEmpty is still called async, but will not be called for a given category if the previous callback for that category is still running. This is the most balanced behavior I could find, and seems to work well * Added support for the old [ClientStack.LindenUDP] settings (including setting the receive buffer size) and added the new token bucket and global throttle settings * Added the AssetLoaderEnabled config variable to optionally disable loading assets from XML every startup. This gives a dramatic improvement in startup times for those who don't need the functionality every startup
2009-10-09* Changed the "Packet exceeded buffer size" log line to debug and include ↵John Hurliman1-7/+4
the packet type. This message is normal, but could be evidence of a message marked for zerocoding that probably shouldn't be * Changing OpenSimUDPBase back to high concurrency. High concurrency mode seems to make other problems happen faster, so it's helpful for working out other bugs and will probably
2009-10-09Putting this to exactly what it was yesterday around this time, so we can do ↵Diva Canto1-173/+402
the 100-ppl load test in WP. We need to carefully play with this code in order to understand all the problems.
2009-10-09Slow down the packet receiving code again after new reports of thread storms.Melanie1-4/+8
2009-10-09* Added a lock object for the write functions in LLUDPClientCollection ↵John Hurliman1-192/+111
(immutable != concurrent write safety) * Allow the UDP server to bind to a user-specified port again * Updated to a newer version of OpenSimUDPBase that streamlines the code even more. This also reintroduces the highly concurrent packet handling which needs more testing
2009-10-08Putting the lock back in TryGetValue.Diva Canto1-340/+340
2009-10-08Fork UDPBase from libOMV into opensimMelanie1-0/+340