Comment 10 for bug 724396

Revision history for this message
Anton Gladky (gladky-anton) wrote :

I have done some performance tests on 6-core machine.

The simulation have been carried out with different thread numbers and execution time has been measured. In the first case it was the latest trunk revision (2781) clean compile, in the second case the ForceContainer used only "non-parallel flavor" even in multy-threading mode, so the "parallel flavor" have been deleted from ForceContainer.hpp (patch provided).

Number of bodies was 47412, number of iterations was 5000.

Results are presented below (execution time).

-j Parallel Non-Parallel %
------------------------------------------------------------
1 997 984 1.3
2 821 800 2.6
3 764 736 3.6
4 752 709 5,7
5 745 699 6,2
6 742 693 6,6

So using non-parallel ForceContainer makes the simulation sufficiently faster (from 1 to 6% and more).

My proposal is to delete parallel implementation of ForceContainer. It will increase the productivity and "fixes" this bug.

What ideas and opinions?