Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Im using XNA 4.0 with the BEPU physics engine v1.2 and I have encountered some performance problems on Xbox. Im not sure if the my mesurements are an expected result of the Xbox (with alot of dynamic physics objects). So I wonder if anyone else thinks the numbers are fair or not?

Here's my mesurement:

enter image description here

Im runing a simulation with 100 dynamic boxes and a static plane as my ground. Now this sim is multithreaded on hardware threads 1, 3, 4 and 5 (Xbox) and I see a significant perf boost because of that. However the performance of the simulation varies between 3-5.5 ms for resting objects on the 360. Is that not way to much or is it fair? The PC version runs the sim at about 0.7-1 ms. However that version is multithreaded over 8 cores. But it's still a very big leap.

enter image description here

share|improve this question

My fault as usually.

If you're using BEPU Physics. Be aware that some events don't check for changes before they fire, causing an internal loop, resulting in terrible performance.

In my case setting the position to the exactly same position again (wich happens in some cases) fires this kind of infinit update loop and drops performance.

This performance hit will be even more noticable on the Xbox because of the poor floating point performance.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.