Skip to content
Prev 1846 / 2152 Next

Why pure computation time in parallel is longer than the serial version?

wesley goi <wesley at ...> writes:
Please do use the list archives; the thread:

https://stat.ethz.ch/pipermail/r-sig-hpc/2012-April/001339.html

provides much insight into the AFFINITY issue - see also mcaffinity() 
in the parallel package. If your BLAS is trying to use all available 
cores anyway, and you then try to run in parallel on top of that, your
high-level processes will compete across the available cores for 
resources with BLAS, as each BLAS call on each core will try to 
spread work across the same set of cores. Please also see:

http://www.jstatsoft.org/v31/i01/

and perhaps also:

http://ideas.repec.org/p/hhs/nhheco/2010_025.html

Neither are new, but are based on trying things out rather than 
speculating. As pointed out before, Brian's comment tells you what you 
need to know:

https://stat.ethz.ch/pipermail/r-sig-hpc/attachments/20140213/662780c9/
attachment.pl

Hope this clarifies,

Roger

Thread (19 messages)

Wesley Goi Why pure computation time in parallel is longer thanthe serial version? Feb 17 Xuening Zhu Why pure computation time in parallel is longer thanthe serial version? Feb 17 wesley goi Why pure computation time in parallel is longer thanthe serial version? Feb 17 Roger Bivand Why pure computation time in parallel is longer than the serial version? Feb 18 wesley goi Why pure computation time in parallel is longer than the serial version? Feb 18 Xuening Zhu Why pure computation time in parallel is longer than the serial version? Feb 22 Claudia Beleites Why pure computation time in parallel is longer than the serial version? Feb 22 Xuening Zhu Why pure computation time in parallel is longer than the serial version? Feb 22 Roger Bivand Why pure computation time in parallel is longer than the serial version? Feb 22 Xuening Zhu Why pure computation time in parallel is longer than the serial version? Feb 22 Roger Bivand Why pure computation time in parallel is longer than the serial version? Feb 23 Ei-ji Nakama Why pure computation time in parallel is longer than the serial version? Feb 23 Ei-ji Nakama Why pure computation time in parallel is longer than the serial version? Feb 23 Simon Urbanek Why pure computation time in parallel is longer than the serial version? Feb 25 Jim Gattiker Why pure computation time in parallel is longer than the serial version? Feb 25 George Ostrouchov Why pure computation time in parallel is longer than the serial version? Feb 25 Norm Matloff Why pure computation time in parallel is longer than the serial version? Feb 25 Jim Gattiker Why pure computation time in parallel is longer than the serial version? Feb 26 George Ostrouchov Why pure computation time in parallel is longer than the serial version? Feb 26