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)

prioritization
unknown 2009-08-26 16:08:36 -07:00 committed by dahlia
parent ef6aa444bf
commit fe0940a22f
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ namespace OpenSim.Region.Physics.OdePlugin
// This sleeper is there to moderate how long it takes between
// setting up the mesh and pre-processing it when we get rapid fire mesh requests on a single object
Thread.Sleep(10);
//Thread.Sleep(10);
//Kill Body so that mesh can re-make the geom
if (IsPhysical && Body != IntPtr.Zero)