Performance issue on Xbox
Posted: Thu Dec 02, 2010 2:56 pm
Hi Norbo,
i've a strange problem with my engine. I create a simple scene with 15/20 convex hull entities (40/50 vertex each other) falling on the ground. All works great on windows, even if i increase the numer of object to 100/150. When i deploy the same code on Xbox, until each entity falls to sleep, the simulation is very very slow! Only if i set each entity as nondynamic kinematic object the performance is good.
I try setting space.UseMultithreadedUpdate on true and then on false.
I try setting space.SimulationSettings.CollisionDetection.CollisionDetectionType to all allowed values.
I try using space.SimulationSettings.TimeStep.UseInternalTimeStepping = true.
Each scenario has a poor performance. But only on Xbox! Consider that the physics loop runs on the third core second thread. On the same core but on the first thread, there's some low processing routines. But even with physics looping on another available thread gave me not good results.
What's wrong? where could be my fault?
If you need some portion of code just ask me.
Thanks in advance!
Fax3D
i've a strange problem with my engine. I create a simple scene with 15/20 convex hull entities (40/50 vertex each other) falling on the ground. All works great on windows, even if i increase the numer of object to 100/150. When i deploy the same code on Xbox, until each entity falls to sleep, the simulation is very very slow! Only if i set each entity as nondynamic kinematic object the performance is good.
I try setting space.UseMultithreadedUpdate on true and then on false.
I try setting space.SimulationSettings.CollisionDetection.CollisionDetectionType to all allowed values.
I try using space.SimulationSettings.TimeStep.UseInternalTimeStepping = true.
Each scenario has a poor performance. But only on Xbox! Consider that the physics loop runs on the third core second thread. On the same core but on the first thread, there's some low processing routines. But even with physics looping on another available thread gave me not good results.
What's wrong? where could be my fault?
If you need some portion of code just ask me.
Thanks in advance!
Fax3D