How Optimize parallel version of Mandelbrot

134 views
Skip to first unread message

GrapeVines

unread,
May 20, 2012, 1:45:41 PM5/20/12
to mpi...@googlegroups.com
Hi Group!,  
I have used mandelbrot.py (inside ./demos/mandelbrot/) to do tests and get time measurement with different parameters.

App, works fine fine, but I want to optimize more; I can use 1-5 PC's.
And I have tried distribute height/2 for root node, and the other lines are distributed for other PC's. I think, it is better due to communications between nodes can be slow, but I get similar time measurement. 

What other ways  to improve mandelbrot do you know?.

Thanks in advance.
  

Lisandro Dalcin

unread,
May 22, 2012, 9:25:30 AM5/22/12
to mpi...@googlegroups.com
Look here: https://bitbucket.org/dalcinl/pasi-2011-mpi4py/src/fffcf9fad634/examples/mandelbrot-mpi-cyclic.py

This example employs cyclic row distribution fix the computation load inbalance.


--
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
Reply all
Reply to author
Forward
0 new messages