My R Open is running slow with low CPU usage RRS feed

  • Question

  • Hi I am running some R codes with intensive matrix operation. I have 16 cores CPU (2 X Interl Xeon E5-2650) and have installed multi-threaded MKL for windows. I set the number of threads to 16 in R Open 3.2.4 but my codes are running really slow and my CPU usage is about 2-3%. It seems that it did not utilize the multi-core feature at all. Could anyone help me out? 




    Friday, April 29, 2016 6:42 PM

All replies

  • Hey Thomas,

    What operating system are you running? 

    I'm running a similar set up right now. When I open MRO, I get a line that says, " 

    Multithreaded BLAS/LAPACK libraries detected. Using 12 cores for math algorithms. "

    What does your system say when you open MRO initially? If everything is properly installed, MRO and the MKL will automatically use the maximum number of cores on your system. So, you don't need to set the number of cores.

    What do you get when you enter "getMKLthreads()"? 

    Sunday, May 8, 2016 7:19 AM