[R-pkg-devel] Problem with using parallel runtime system with R

Iñaki Ucar |uc@r @end|ng |rom |edor@project@org
Fri May 10 16:55:31 CEST 2019


On Fri, 10 May 2019 at 13:48, Sameh M. Abdulah
<sameh.abdulah using kaust.edu.sa> wrote:
> Hi,
>
> I have a C package which includes the usage of the StarPU runtime system to allow running my code on different HW architectures. I included this to an R-package and I found that R is using only one core and all the thread
> initiated by the runtime system is assigned to a single core which impacted the performance.  I used  Sys.setenv(KMP_AFFINITY= "disabled") to disable the default affinity and this helps to allow the runtime system to use
> all available cores. However, even I gained speedup, the R package is still 5X slower than the C package. Could anyone help me to understand the problem better?

Is this package publicly available somewhere?

Iñaki



More information about the R-package-devel mailing list