Skip to content
Prev 1423 / 2152 Next

multicore performance question

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09/07/12 12:25, Mauricio Zambrano-Bigiarini wrote:
Please keep this on-list - somebody else might have any ideas.

You have the actual computation time and communication time. If the computation time is small, you
won't see an increase in speed when using several cores. But if the computations take long, you
might / will see a speed increase. So in this case I guess, that the computation is fast, and the
communication between the threads / data transfer takes up the chunk of the time. You can check
this by running the code on one core, 2 cores, ... up to eight cores and plot the time needed (you
can set the number of threads in multicore).


Cheers,

Rainer
- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/6x0UACgkQoYgNqgF2egoaagCeIFbusF1owz8DYqvAjwe/teUb
YpQAmgP6t3/cbj2/kLZaiXS/LeJaOVhI
=aTAK
-----END PGP SIGNATURE-----