Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Parallel computing on Xenodes

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Performance and Tuning
Author Message
zunzun



Joined: 18 Feb 2005
Posts: 167
Location: Birmingham, Alabama USA

Posted: Wed Dec 19, 2007 5:41 am    Post subject: Parallel computing on Xenodes  

Any recommendations for a Python-aware parallel computing model on the SMP Xenodes? I'm leaning towards Bulk Synchronous Parallel:

http://en.wikipedia.org/wiki/Bulk_synchronous_parallel

for two reasons:

1) If I ever have access to a non-SMP distributed computing cluster (i.e., another Xenode on a separate physical computer) I can switch from BSPlib to BSPonMPI

http://bsponmpi.sourceforge.net/

and won't have to change my code or computing model.


2) Konrad Hinsen's Scientific Python:

http://dirac.cnrs-orleans.fr/plone/software/scientificpython/overview/

directly supports BSP for Python parallel computing:

http://dirac.cnrs-orleans.fr/plone/publications/all-publications/HLSO_2006

as well as the more difficult-to-program MPI parallel paradigm.


James
Back to top  
zunzun



Joined: 18 Feb 2005
Posts: 167
Location: Birmingham, Alabama USA

Posted: Thu Dec 20, 2007 4:08 am    Post subject:  

[insert sound of crickets chirping in an empty field]

All the servers will be massively multicore in a few years. Am I the only one trying to prepare for parallel computing here? We already have 4-core SMP virtual servers at Linode *today*.

Forked multiprocess programming is simpler than parallel computing (and lends itself to different operations than pure number crunching), but I want to get the more difficult stuff out of the way first.

James
Back to top  
rhashimoto



Joined: 13 Aug 2003
Posts: 55

Posted: Thu Dec 20, 2007 11:32 am    Post subject:  

zunzun wrote: [insert sound of crickets chirping in an empty field]

All the servers will be massively multicore in a few years. Am I the only one trying to prepare for parallel computing here?


No, but perhaps you're the only one trying to do it within Python. I use MPI with C/C++.

I'd argue, though, that most people won't need to use an external library to take advantage of multiple cores. The languages and their run-times will evolve to support it. Either that or new languages will take their place.
Back to top  
zunzun



Joined: 18 Feb 2005
Posts: 167
Location: Birmingham, Alabama USA

Posted: Thu Dec 20, 2007 1:13 pm    Post subject:  

rhashimoto wrote: ...perhaps you're the only one trying to do it within Python. I use MPI with C/C++.

Good point, I didn't think of that. We use C# for SMP parallel processing at my day job.

James
Back to top  
zunzun



Joined: 18 Feb 2005
Posts: 167
Location: Birmingham, Alabama USA

Posted: Sun Dec 23, 2007 1:47 pm    Post subject:  

Well, BSP is out - simple tests ate *way* too much RAM.

I'm now checking "parallel python" at http://www.parallelpython.com - it is simple to program both SMP and clusters. Initial tests are very encouraging.

James
Back to top  
 
       Linode.com Forum Forum Index -> Performance and Tuning
Page 1 of 1