Embarrassingly parallel explained
In parallel computing, an embarrassingly parallel workload or problem (also called embarrassingly parallelizable, perfectly parallel, delightfully parallel or pleasingly parallel) is one where little or no effort is needed to split the problem into a number of parallel tasks.[1] This is due to minimal or no dependency upon communication between the parallel tasks, or for results between them.[2]
These differ from distributed computing problems, which need communication between tasks, especially communication of intermediate results. They are easier to perform on server farms which lack the special infrastructure used in a true supercomputer cluster. They are well-suited to large, Internet-based volunteer computing platforms such as BOINC, and suffer less from parallel slowdown. The opposite of embarrassingly parallel problems are inherently serial problems, which cannot be parallelized at all.
A common example of an embarrassingly parallel problem is 3D video rendering handled by a graphics processing unit, where each frame (forward method) or pixel (ray tracing method) can be handled with no interdependency.[3] Some forms of password cracking are another embarrassingly parallel task that is easily distributed on central processing units, CPU cores, or clusters.
Etymology
"Embarrassingly" is used here to refer to parallelization problems which are "embarrassingly easy".[4] The term may imply embarrassment on the part of developers or compilers: "Because so many important problems remain unsolved mainly due to their intrinsic computational complexity, it would be embarrassing not to develop parallel implementations of polynomial homotopy continuation methods."[5] The term is first found in the literature in a 1986 book on multiprocessors by MATLAB's creator Cleve Moler,[6] who claims to have invented the term.[7]
An alternative term, pleasingly parallel, has gained some use, perhaps to avoid the negative connotations of embarrassment in favor of a positive reflection on the parallelizability of the problems: "Of course, there is nothing embarrassing about these programs at all."[8]
Examples
Some examples of embarrassingly parallel problems include:
Implementations
- In R (programming language) – The Simple Network of Workstations (SNOW) package implements a simple mechanism for using a set of workstations or a Beowulf cluster for embarrassingly parallel computations.[16] Similar R packages include "future", "parallel" and others.
See also
References
- Book: Herlihy. Maurice. Shavit. Nir. The Art of Multiprocessor Programming, Revised Reprint. 2012. Elsevier. 9780123977953. 14. revised. 28 February 2016. Some computational problems are “embarrassingly parallel”: they can easily be divided into components that can be executed concurrently..
- Section 1.4.4 of: Book: Designing and Building Parallel Programs . Foster, Ian . Addison–Wesley . https://web.archive.org/web/20110301095228/http://www.mcs.anl.gov/~itf/dbpp/text/node10.html . 2011-03-01 . 1995 . dead . 9780201575941.
- Book: Alan Chalmers. Erik Reinhard. Tim Davis. Practical Parallel Rendering. 21 March 2011. CRC Press. 978-1-4398-6380-0.
- Matloff, Norman (2011). The Art of R Programming: A Tour of Statistical Software Design, p.347. No Starch. .
- Book: Leykin. Anton. Verschelde. Jan. Zhuang. Yan. Mathematical Software - ICMS 2006 . Parallel Homotopy Algorithms to Solve Polynomial Systems . 2006 . 4151. 225–234. 10.1007/11832225_22. Lecture Notes in Computer Science. 978-3-540-38084-9.
- Book: Matrix Computation on Distributed Memory Multiprocessors. Moler, Cleve. Society for Industrial and Applied Mathematics, Philadelphia. Hypercube Multiprocessors. Heath. Michael T.. 1986. 978-0898712094.
- http://blogs.mathworks.com/cleve/2013/11/12/the-intel-hypercube-part-2-reposted/#096367ea-045e-4f28-8fa2-9f7db8fb7b01 The Intel hypercube part 2 reposted on Cleve's Corner blog on The MathWorks website
- Kepner, Jeremy (2009). Parallel MATLAB for Multicore and Multinode Computers, p.12. SIAM. .
- Book: Erricos John Kontoghiorghes. Handbook of Parallel Computing and Statistics. 21 December 2005. CRC Press. 978-1-4200-2868-3.
- Book: Yuefan Deng. Applied Parallel Computing. 2013. World Scientific. 978-981-4307-60-4.
- The scrypt Password-Based Key Derivation Function. Simon. Josefsson. Colin. Percival. Colin Percival. August 2016. tools.ietf.org. 10.17487/RFC7914 . 2016-12-12.
- Mathog . DR . Parallel BLAST on split databases. . Bioinformatics . 22 September 2003 . 19 . 14 . 1865–6 . 10.1093/bioinformatics/btg250 . 14512366. free .
- http://lbrandy.com/blog/2008/10/how-we-made-our-face-recognizer-25-times-faster/ How we made our face recognizer 25 times faster
- Book: Shigeyoshi Tsutsui. Pierre Collet. Massively Parallel Evolutionary Computation on GPGPUs. 5 December 2013. Springer Science & Business Media. 978-3-642-37959-8.
- Book: Youssef Hamadi. Lakhdar Sais. Handbook of Parallel Constraint Reasoning. 5 April 2018. Springer. 978-3-319-63516-3.
- http://www.stat.uiowa.edu/~luke/R/cluster/cluster.html Simple Network of Workstations (SNOW) package
External links