aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | | | | | | | Fix loading modules with alternate configurations and ports into ROBUST.Melanie2009-09-2914-55/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make all current modules support the configuration name option
| | * | | | | | | | | | | | | | | Fixed a bug that was causing exceptions to the thrown in ROBUST MainServer.Diva Canto2009-09-291-4/+8
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Merge branch 'master' into 0.6.7-post-fixesMelanie2009-09-282-6/+64
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Framework/Servers/VersionInfo.cs
| | * | | | | | | | | | | | | | | | Bump version number in post-fixesMelanie2009-09-281-2/+2
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Fixing the patch to the patchSnowcrash2009-10-221-3/+6
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Fix rounding error in PRIM_SIZE portion of llSetPrimitiveParamsSnowcrash2009-10-221-3/+4
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Terrible typo in the previous commit!John Hurliman2009-10-221-1/+1
|/ / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | * Added a check if Util.m_ThreadPool is null before trying to use it, and if ↵John Hurliman2009-10-221-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so initialize it to sane defaults * Simplified the InitThreadPool() function
* | | | | | | | | | | | | | | | | Add copyright header. Formatting cleanup.Jeff Ames2009-10-222-1/+28
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | A synchronous call to the messaging server was blocking the process of ↵John Hurliman2009-10-221-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | promoting an agent to a root agent (logins and teleports). Changed to an async method
* | | | | | | | | | | | | | | | | * Allow SmartThreadPool to be initialized without setting max stack size ↵John Hurliman2009-10-222-6/+13
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (like the original implementation) * Only initialize Util's SmartThreadPool if it is actually being used * No longer initializing Util's SmartThreadPool with a custom max stack size. From MSDN: "Avoid using this constructor overload. The default stack size used by the Thread(ThreadStart) constructor overload is the recommended stack size for threads."
* | | | | | | | | | | | | | | | Remove the "mel_t" from version stringMelanie2009-10-221-1/+1
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge branch 'melanie_test' into prioritizationMelanie2009-10-224-60/+75
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes SmartThreadPool configurable and also makes it the default, since the regular thread pool simply stinks.
| * | | | | | | | | | | | | | | | Make the LSL scripting delays take full effect. To tune, tweat theMelanie2009-10-221-56/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ScriptDelayFactor in config
| * | | | | | | | | | | | | | | | Reduce the default pool threads to 15 (from 30) and the minimum from 5 to 2Melanie2009-10-222-2/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Add MaxPoolThreads in startup to limit the size of the thread pool usedMelanie2009-10-222-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for FireAndForget. This lets us limit concurrency to make OpenSim play nice
| * | | | | | | | | | | | | | | | Mark new versionMelanie2009-10-221-1/+1
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | * Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to ↵John Hurliman2009-10-218-36/+70
|/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Util.FireAndForget() * Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
* | | | | | | | | | | | | | | | * Change the OnQueueEmpty signature to send the flags of the queues that are ↵John Hurliman2009-10-215-61/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | empty instead of firing once per empty queue * Change the OnQueueEmpty firing to use a minimum time until next fire instead of a sleep * Set OutgoingPacket.TickCount = 0 earlier to avoid extra resends when things are running slowly (inside a profiler, for example)
* | | | | | | | | | | | | | | | * Clarified what FireQueueEmpty is doing with a MIN_CALLBACK_MS constant and ↵John Hurliman2009-10-214-18/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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()
* | | | | | | | | | | | | | | | Merged master into prioritizationJohn Hurliman2009-10-217-55/+263
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Fix llParticleSystem to accept LSL variables and LSL constants in placeMelanie2009-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the named constants for the rule selector. Information provided by Snowcrash
| * | | | | | | | | | | | | | | | Patch by mcortez: Remove lock from scene presence updating in groups moduleMelanie2009-10-211-9/+7
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Fix web map retrieval for regions configured via .iniMelanie2009-10-211-2/+3
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Really make module port selection work. Implement port setting inMelanie2009-10-213-7/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LLProxyLoginModule.
| * | | | | | | | | | | | | | | | Cleanup and comment the region module loader. Add support for configuringMelanie2009-10-201-26/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a server port to use for modules in a generic way and also add support for disabling modules that don't support proper disabling. Add support for selective loading by class name (advanced users only)
| * | | | | | | | | | | | | | | | Add MainServer.GetHttpServer(port) method for using multiple listenerMelanie2009-10-201-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ports in region modules
| * | | | | | | | | | | | | | | | Change "config save" to "config save <filename>", which is mandatory.Melanie2009-10-201-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | File name is enforced to NOT be OpenSim.ini
| * | | | | | | | | | | | | | | | Fix for index error in llList2StringSnowcrash2009-10-201-6/+6
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | * FireQueueEmpty now checks if a measurable amount of time has passed, and ↵John Hurliman2009-10-213-38/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if not it sleeps for a small amount of time. This throttles OnQueueEmpty calls where there is no callback or the callback is doing very little work * Changed HandleQueueEmpty()'s Monitor.TryEnter() calls to locks. We want to take our time in this function and do all the work necessary, since returning too fast will induce a sleep anyways
* | | | | | | | | | | | | | | | * Changed the timing calculations for sending resends/acks/pings from ↵John Hurliman2009-10-213-41/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | per-client back to per-scene * Testing a fix from Jim to make the cpu usage fix cleaner
* | | | | | | | | | | | | | | | Testing out a hack to identify the source of the high cpu usageJohn Hurliman2009-10-211-0/+3
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Removing the Sleep(0) call from the OutgoingPacketHandlerJohn Hurliman2009-10-211-6/+3
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | * Handle UseCircuitCode packets asynchronously. Adding an agent to a scene ↵John Hurliman2009-10-213-13/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can take several seconds, and was blocking up packet handling in the meantime * Clamp retransmission timeout values between three and 10 seconds * Log outgoing time for a packet right after it is sent instead of well before * Loop through the entire UnackedPacketCollection when looking for expired packets
* | | | | | | | | | | | | | | | * Replaced the UnackedPacketCollection with a lockless implementation. The ↵John Hurliman2009-10-214-208/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tiny amount of time spent in the locks turned into a lot of time when the rest of the LLUDP implementation went lockless * Changed the timer tracking numbers for each client to not have "memory". It will no longer queue up calls to functions like ResendUnacked * Reverted Jim's WaitHandle code. Although it was technically more correct, it exhibited the exact same behavior as the old code but spent more cycles. The 20ms has been replaced with the minimum amount of time before a token bucket could receive a drip, and an else { sleep(0); } was added to make sure the outgoing packet handler always yields at least a minimum amount
* | | | | | | | | | | | | | | | Fixed the way OnQueueEmpty is called to prevent simultaneous calls for the ↵John Hurliman2009-10-211-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | same category
* | | | | | | | | | | | | | | | Committing Jim's optimization to replace the 20ms sleep in outgoing packet ↵John Hurliman2009-10-214-50/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handling with an interruptible wait handle
* | | | | | | | | | | | | | | | * Added a sanity check to GetScriptAssemblies() and GetScriptStates() for ↵John Hurliman2009-10-205-10/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the case where no scripting engine is enabled * Added TokenBucket.cs to OpenSim, with some fixes for setting a more accurate MaxBurst value and getting a more accurate Content value (by Drip()ing each get)
* | | | | | | | | | | | | | | | * Removed the unused m_agentUpdates collection and some extra work that was ↵John Hurliman2009-10-202-94/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | being done for AgentUpdate packets * Start LLUDPClients unpaused (this variable is not being used yet)
* | | | | | | | | | | | | | | | * Removed the throttle speed optimizations to see if it brings stability backJohn Hurliman2009-10-202-72/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed the outgoing packet handler to use a real function instead of a closure and to track time on a per-client basis instead of a global basis
* | | | | | | | | | | | | | | | Added try/catches in the outgoing packet handler to match the one in the ↵John Hurliman2009-10-201-45/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | incoming packet handler
* | | | | | | | | | | | | | | | Fixing position/rotation/collisionplane in ObjectUpdate packets for avatarsJohn Hurliman2009-10-201-6/+8
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Reverting the deletion of files related to texture sending until we figure ↵John Hurliman2009-10-206-0/+926
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out exactly what is and isn't needed
* | | | | | | | | | | | | | | | * Removing ODEPrim and ODECharacter GetHashCode() overrides since they were ↵John Hurliman2009-10-204-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | based on something that could change * Tweaked a few other GetHashCode() overrides to bring them in line with MSDN recommendations
* | | | | | | | | | | | | | | | * Removing cruft left over from the conversion to the new texture sending ↵John Hurliman2009-10-2012-1275/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and UDP code * Changing the cache modules to only initialize the caches if they are actually enabled. Should save a bit of resources from unused cache systems
* | | | | | | | | | | | | | | | * Optimized sending of terrain dataJohn Hurliman2009-10-192-155/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Send terrain data in a spiral pattern instead of a typewriter pattern (placeholder until terrain data becomes part of the interest list management) * Added a debug line when resent packets are being sent
* | | | | | | | | | | | | | | | * Removed OpenSim.Data.NHibernateJohn Hurliman2009-10-1995-7617/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
* | | | | | | | | | | | | | | | Merge branch 'prioritization' of ssh://opensimulator.org/var/git/opensim ↵John Hurliman2009-10-191-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into prioritization
| * | | | | | | | | | | | | | | | Forgot {} on last commit.Diva Canto2009-10-191-0/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | More instrumentation in physics.Diva Canto2009-10-191-0/+2
| | | | | | | | | | | | | | | | |