Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Removed OpenSim.Data.NHibernate | John Hurliman | 2009-10-19 | 103 | -7726/+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 Hurliman | 2009-10-19 | 1 | -0/+4 |
|\ | | | | | | | into prioritization | ||||
| * | Forgot {} on last commit. | Diva Canto | 2009-10-19 | 1 | -0/+2 |
| | | |||||
| * | More instrumentation in physics. | Diva Canto | 2009-10-19 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵ | John Hurliman | 2009-10-19 | 16 | -68/+86 |
|\ \ | | | | | | | | | | prioritization | ||||
| * | | Minor formatting cleanup. | Jeff Ames | 2009-10-19 | 1 | -12/+12 |
| | | | |||||
| * | | Formatting cleanup. | Jeff Ames | 2009-10-19 | 13 | -36/+36 |
| | | | |||||
| * | | Add support for display of the script compilation errors in the script editor's | Melanie | 2009-10-17 | 2 | -20/+38 |
| | | | | | | | | | | | | | | | | | | debug pane. This will still use DEBUG_CHANNEL currently, since it is not fully implemented. This also removes the "Compiled successfully" message that pops up in the viewer. | ||||
* | | | * Change Util.FireAndForget to use ThreadPool.UnsafeQueueUserWorkItem(). ↵ | John Hurliman | 2009-10-19 | 12 | -128/+127 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | This avoids .NET remoting and a managed->unmanaged->managed jump. Overall, a night and day performance difference * Initialize the LLClientView prim full update queue to the number of prims in the scene for a big performance boost * Reordered some comparisons on hot code paths for a minor speed boost * Removed an unnecessary call to the expensive DateTime.Now function (if you *have* to get the current time as opposed to Environment.TickCount, always use DateTime.UtcNow) * Don't fire the queue empty callback for the Resend category * Run the outgoing packet handler thread loop for each client synchronously. It seems like more time was being spent doing the execution asynchronously, and it made deadlocks very difficult to track down * Rewrote some expensive math in LandObject.cs * Optimized EntityManager to only lock on operations that need locking, and use TryGetValue() where possible * Only update the attachment database when an object is attached or detached * Other small misc. performance improvements | ||||
* | | Merge branch 'prioritization' of ssh://opensimulator.org/var/git/opensim ↵ | John Hurliman | 2009-10-18 | 2 | -1/+14 |
|\ \ | | | | | | | | | | into prioritization | ||||
| * | | A bit of instrumentation to figure out what's going on with physics actors. | Diva Canto | 2009-10-18 | 2 | -1/+14 |
| | | | |||||
* | | | * Rewrote the methods that build ObjectUpdate and ImprovedTerseObjectUpdate ↵ | John Hurliman | 2009-10-18 | 8 | -802/+494 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packets to fill in the data more accurately and avoid allocating memory that is immediately thrown away * Changed the Send*Data structs in IClientAPI to use public readonly members instead of private members and getters * Made Parallel.ProcessorCount public * Started switching over packet building methods in LLClientView to use Util.StringToBytes[256/1024]() instead of Utils.StringToBytes() * More cleanup of the ScenePresences vs. ClientManager nightmare * ScenePresence.HandleAgentUpdate() will now time out and drop incoming AgentUpdate packets after three seconds. This fixes a deadlock on m_AgentUpdates that was blocking up the LLUDP server | ||||
* | | | * Process the avatar terse update priority queue as soon as an update for ↵ | John Hurliman | 2009-10-18 | 1 | -40/+39 |
| | | | | | | | | | | | | | | | | | | | | | our own avatar is ready to send * Reduce the scope of the locks when processing the update queues * Reuse the ImprovedTerseObjectUpdate.RegionData block | ||||
* | | | Zero out PrimitiveBaseShape.SculptData after the JPEG2000 data has been ↵ | John Hurliman | 2009-10-18 | 1 | -0/+3 |
| | | | | | | | | | | | | decoded to allow garbage collection on it | ||||
* | | | * Big performance increase in loading prims from the region database with MySQL | John Hurliman | 2009-10-18 | 4 | -158/+190 |
| | | | | | | | | | | | | | | | | | | * Handle the AgentFOV packet * Bypass queuing and throttles for ping checks to make ping times more closely match network latency * Only track reliable bytes in LLUDPCLient.BytesSinceLastACK | ||||
* | | | * Committing Nini.dll with the patch from #3773 applied | John Hurliman | 2009-10-17 | 2 | -1/+1 |
| | | | | | | | | | | | | * Fixing a log message typo | ||||
* | | | Committing the second part of Jim Greensky @ Intel Lab's patch, ↵ | John Hurliman | 2009-10-17 | 11 | -20/+267 |
|/ / | | | | | | | re-prioritizing updates | ||||
* | | Wrapped the contents of the IncomingPacketHandler loop in a try/catch statement | John Hurliman | 2009-10-17 | 1 | -2/+9 |
| | | |||||
* | | Added a description for RegionType | John Hurliman | 2009-10-17 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into prioritization | Melanie | 2009-10-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Change the example to match the facts | Melanie | 2009-10-17 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into prioritization | Melanie | 2009-10-17 | 3 | -0/+14 |
|\ \ | |/ | |||||
| * | Adds SendAvatarInterestsUpdate to IClientAPI | Melanie | 2009-10-17 | 3 | -0/+14 |
| | | | | | | | | Thank you, Fly-Man | ||||
* | | Merge branch 'master' into prioritization | Melanie | 2009-10-17 | 1 | -16/+16 |
|\ \ | |/ | |||||
| * | Re-rename ProductName back to it's original RegionType | Melanie | 2009-10-17 | 1 | -16/+16 |
| | | |||||
* | | Merge branch 'master' into prioritization | Melanie | 2009-10-17 | 2 | -1/+29 |
|\ \ | |/ | |||||
| * | Add ProductName to RegionInfo (for search) | Melanie | 2009-10-17 | 2 | -1/+29 |
| | | |||||
* | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵ | John Hurliman | 2009-10-16 | 1 | -3/+5 |
|\ \ | |/ | | | | | prioritization | ||||
| * | * One more tweak to inform the user that they may not be able to move until ↵ | Teravus Ovares (Dan Olivares) | 2009-10-16 | 2 | -4/+6 |
| | | | | | | | | relogging. | ||||
| * | * After seeing it repeat over and over again.. again, We won't inform the ↵ | Teravus Ovares (Dan Olivares) | 2009-10-16 | 1 | -1/+1 |
| | | | | | | | | scenepresence that there was an issue so it doesn't try to make the capsule again. I have a feeling that this is some kind of object leak. We'll know for sure.. soon. | ||||
* | | Changing avatar movement updates to the Task throttle category until we get ↵ | John Hurliman | 2009-10-16 | 1 | -5/+6 |
| | | | | | | | | finer grained prioritization of avatars vs. prims | ||||
* | | More debugging of RegionCombinerModule.RegionLoaded() by making ↵ | John Hurliman | 2009-10-16 | 1 | -2/+6 |
| | | | | | | | | RegionLoaded() a two line function | ||||
* | | Changing the region module loading foreach loops to typecast things to the ↵ | John Hurliman | 2009-10-16 | 1 | -3/+3 |
| | | | | | | | | IRegionModuleBase interface where AddRegion(), RegionLoaded(), etc. actually exist. Shot in the dark at fixing the Mono issue | ||||
* | | Reverting the previous ugly hack and replacing it with try/catch statements ↵ | John Hurliman | 2009-10-16 | 1 | -10/+4 |
| | | | | | | | | for each RegionLoaded() call. This probably won't fix nebadon's crash, but it seems like a good idea | ||||
* | | A very ugly and temporary hack to disable the RegionCombinerModule ↵ | John Hurliman | 2009-10-16 | 1 | -2/+9 |
| | | | | | | | | RegionLoaded from firing for testing | ||||
* | | Adding noisy debug for nebadon | John Hurliman | 2009-10-16 | 1 | -0/+1 |
| | | |||||
* | | Converted FireAndForget methods to use a singleton pattern to attempt to ↵ | John Hurliman | 2009-10-16 | 1 | -2/+21 |
| | | | | | | | | work around a Mono bug with nested delegates | ||||
* | | Prevent oversized packets from crashing the LLUDP server. It will now print ↵ | John Hurliman | 2009-10-16 | 1 | -5/+20 |
| | | | | | | | | a friendly error message and drop the packet | ||||
* | | * Simplified the prioritization packet creation code to reduce CPU usage and ↵ | John Hurliman | 2009-10-16 | 3 | -95/+35 |
| | | | | | | | | | | | | increase throughput. Apologies to Jim for hacking on your code while it's only halfway done, I'll take responsibility for the manual merge * Changed LLUDP to use its own MTU value of 1400 instead of the 1200 value pulled from the currently shipped libomv | ||||
* | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵ | John Hurliman | 2009-10-16 | 1 | -0/+11 |
|\ \ | |/ | | | | | prioritization | ||||
| * | * fix previous commit | Teravus Ovares (Dan Olivares) | 2009-10-16 | 1 | -1/+1 |
| | | |||||
| * | * Ensure that at least 20 frames run before letting avatar in. | Teravus Ovares (Dan Olivares) | 2009-10-16 | 1 | -0/+11 |
| | | |||||
* | | * Changing the "clean dropped attachments" MySQL command to a using ↵ | John Hurliman | 2009-10-16 | 2 | -7/+16 |
| | | | | | | | | | | | | statement inside a try/catch. This statement times out for me very frequently * More verbose logging when zerocoding fails on an outbound packet | ||||
* | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵ | John Hurliman | 2009-10-16 | 2 | -1/+22 |
|\ \ | |/ | | | | | prioritization | ||||
| * | * One more attempt at the NullRef In The OdePlugin. This might fix it, but ↵ | Teravus Ovares (Dan Olivares) | 2009-10-16 | 2 | -1/+22 |
| | | | | | | | | it will definitely get us closer to the root cause. | ||||
* | | * Change appearance packets from State to Task. This will hopefully fix the ↵ | John Hurliman | 2009-10-16 | 4 | -37/+51 |
| | | | | | | | | | | | | cloud issues * Changed the throttling logic to obey the requested client bandwidth limit but also share bandwidth between some of the categories to improve throughput on high prim or heavily trafficked regions | ||||
* | | Updating OpenSim.ini.example with the section required to enable a useful ↵ | John Hurliman | 2009-10-16 | 2 | -0/+10 |
| | | | | | | | | prioritization scheme | ||||
* | | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into ↵ | John Hurliman | 2009-10-16 | 4 | -17/+69 |
|\ \ | |/ | | | | | prioritization | ||||
| * | Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim | Melanie | 2009-10-16 | 2 | -2/+33 |
| |\ | |||||
| | * | * Make sure to unregister the OutOfBounds Physics event in ↵ | Teravus Ovares (Dan Olivares) | 2009-10-16 | 1 | -0/+1 |
| | | | | | | | | | | | | RemoveFromPhysicalScene or we'll be leaking |