Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008057opensim[REGION] Physics Enginespublic2016-11-13 15:442017-05-27 14:59
ReporterKitto Flora 
Assigned ToUbitUmarov 
PrioritynormalSeveritymajorReproducibilityalways
StatusfeedbackResolutionopen 
PlatformPowerEdge 2970OSubuntuOS Version11.10
Product Version0.9.0 
Target VersionFixed in Version 
Summary0008057: (OS 0.9.1) Many seated Avatars in region cause bad lag, high physics load in ubODE
DescriptionWith about 40 avatars in one region (256x256, only 20 or so prims), and all but 2 avatars seated on mesh benches, the lag was huge - 5 minutes or so.
Looking at Stats I notice that Physics Time is up around 20mS, Spare time at 0.
Why when Avatars are seated and therefore non-physical, is the Physics time so high?
Steps To ReproduceOne region with seating, connect 40 Avatars and have them sit. Observe Stats.
TagsNo tags attached.
Git Revision or version numberf95fd65e3b197f09d8a5fa05551909e242c4896e 2016-06-26 15:47:54 -0700 (Unix/Mono)
Run Mode Grid (1 Region per Sim)
Physics EngineubODE
EnvironmentUnknown
Mono Version2.10
ViewerSingularity, CoolVL, etc
Attached Files

- Relationships

-  Notes
(0031276)
UbitUmarov (administrator)
2016-11-13 15:58

those avatars should only be using physics for the camera cast rays.
but those should not be very frequently (??)
is one of those meshs heavy?
I don't have 40 avatars to try repo
(0031279)
UbitUmarov (administrator)
2016-11-13 19:26

removed redundant calls to physics for camera collision checks that where introduced at some point on 0.8
possible this is not the main problem...
(0031280)
Kitto Flora (reporter)
2016-11-13 20:37

A large percentage of the Avs use mesh bodies and clothing, guess > 75%.
We will get that patch installed and run a load test.
TY :)
(0031281)
Waki Janus (reporter)
2016-11-13 20:42

We also have daily events that attract 20+ avatars all laden down with mesh and scripts.
(0031282)
UbitUmarov (administrator)
2016-11-13 20:48

avatar meshs are attachments and so not on physics, even if standing.
the camera collision test only looks for prims known to physics, from the camera position to avatar head. (slower if this path is included/intercepts their external bounds box on physics).
but again, it can be something else :(
(0031283)
UbitUmarov (administrator)
2016-11-13 20:51

at lbsa and other osg regions running ubOde i never noticed outstanding physics load with just avatars.
(0031292)
UbitUmarov (administrator)
2016-11-20 14:47

Hi
Any feedback on this?
LBSA with 21 avatars showed minimal ubOde load ( 0.91 dev master )
(0031293)
Waki Janus (reporter)
2016-11-20 15:56

Hi Ubit,
We did not get to test it by replicating previous situation as planned. The patch you provided was installed early last week. We immediately began to have serious grid issues. It became almost totally inoperable because sims we suddenly tying up all our memory. It became so bad that Kunta Kinte removed the patch and went back to our previous config. He said that the patch "must have some sort of memory leak as sims are tying up all the memory, which didn't happen before". As soon as he reverted the memory went back to previous levels.
We really appreciate the promptness of your response to the reported issue, and sorry this wasn't the solution we are all hoping for. Kitto is exploring other possibilities and has discovered on some sims buried objects which seem to be causing big physic load spikes. They maybe junk and stuff from OS 0.8.
We will keep in touch and hopefully you will be able to look at this some more.
Cheers,
Waki
(0031294)
UbitUmarov (administrator)
2016-11-20 18:13

meanwhile i did introduce a bug that was causing high use of memory
LBSA seems happy with OpenSim 0.9.1.0 Dev d8812ba: 2016-11-18 03:00:59 +0000 (Unix/Mono) as I type
sorry ;)

- Issue History
Date Modified Username Field Change
2016-11-13 15:44 Kitto Flora New Issue
2016-11-13 15:58 UbitUmarov Note Added: 0031276
2016-11-13 19:26 UbitUmarov Note Added: 0031279
2016-11-13 20:37 Kitto Flora Note Added: 0031280
2016-11-13 20:42 Waki Janus Note Added: 0031281
2016-11-13 20:48 UbitUmarov Note Added: 0031282
2016-11-13 20:51 UbitUmarov Note Added: 0031283
2016-11-20 14:47 UbitUmarov Note Added: 0031292
2016-11-20 15:56 Waki Janus Note Added: 0031293
2016-11-20 18:13 UbitUmarov Note Added: 0031294
2017-05-27 14:59 UbitUmarov Assigned To => UbitUmarov
2017-05-27 14:59 UbitUmarov Status new => feedback


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker