### Does btParallelConstraintSolver give any speedup?

Posted:

**Mon Dec 10, 2012 10:55 pm**Hi there,

We have posted a message earlier [1] that talks about parallelization experiments we have performed on a modified version of a Bullet benchmark. The benchmark is AppBenchmarks, specifically the 1000 stacks example which we modified to increase the number of islands.

AppBenchmarks can be compiled to use two parallel algorithms from the Bullet Physics distribution. The first is a parallel constraint solver (btParallelConstraintSolver) and the second is a parallel implementation of the collision dispatcher (SpuGatheringCollision). In our tests we didn't get any benefit from the parallel constraint solver. In fact, we have observed that the parallel constraint solver is often slower than the sequential one. For the parallel collision dispatcher we did observe speed ups from using multiple cores.

Is it known whether btParallelConstraintSolver gives any speedup? Under what workloads does that happen?

Thank you!

Cheers,

Kristian Kolev and Alexey Rodriguez

[1] http://bulletphysics.org/Bullet/phpBB3/ ... f=6&t=8660

We have posted a message earlier [1] that talks about parallelization experiments we have performed on a modified version of a Bullet benchmark. The benchmark is AppBenchmarks, specifically the 1000 stacks example which we modified to increase the number of islands.

AppBenchmarks can be compiled to use two parallel algorithms from the Bullet Physics distribution. The first is a parallel constraint solver (btParallelConstraintSolver) and the second is a parallel implementation of the collision dispatcher (SpuGatheringCollision). In our tests we didn't get any benefit from the parallel constraint solver. In fact, we have observed that the parallel constraint solver is often slower than the sequential one. For the parallel collision dispatcher we did observe speed ups from using multiple cores.

Is it known whether btParallelConstraintSolver gives any speedup? Under what workloads does that happen?

Thank you!

Cheers,

Kristian Kolev and Alexey Rodriguez

[1] http://bulletphysics.org/Bullet/phpBB3/ ... f=6&t=8660