aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorunknown2009-08-26 16:08:36 -0700
committerdahlia2009-10-12 01:53:57 -0700
commitfe0940a22f55ed792870c07d30509662e31b4b7c (patch)
treed789662cfe5d4968c3c17774e74d243ac54be281 /OpenSim/Region
parentFixed tree crossing. This will alleviate (diff)
downloadopensim-SC_OLD-fe0940a22f55ed792870c07d30509662e31b4b7c.zip
opensim-SC_OLD-fe0940a22f55ed792870c07d30509662e31b4b7c.tar.gz
opensim-SC_OLD-fe0940a22f55ed792870c07d30509662e31b4b7c.tar.bz2
opensim-SC_OLD-fe0940a22f55ed792870c07d30509662e31b4b7c.tar.xz
Optimize ODE mesh by removing sleep. On a region with 100,000 prims and ODE enabled, the first Heartbeat loop call to UpdatePhysics takes 20 minutes. 75% of that time is spent in this sleep. (100k prims * 10ms)
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index c041243..496e097 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -794,7 +794,7 @@ namespace OpenSim.Region.Physics.OdePlugin
794 // This sleeper is there to moderate how long it takes between 794 // This sleeper is there to moderate how long it takes between
795 // setting up the mesh and pre-processing it when we get rapid fire mesh requests on a single object 795 // setting up the mesh and pre-processing it when we get rapid fire mesh requests on a single object
796 796
797 Thread.Sleep(10); 797 //Thread.Sleep(10);
798 798
799 //Kill Body so that mesh can re-make the geom 799 //Kill Body so that mesh can re-make the geom
800 if (IsPhysical && Body != IntPtr.Zero) 800 if (IsPhysical && Body != IntPtr.Zero)