Shantanu MULLICK
2012-Aug-17 21:41 UTC
[R] R utilizing 25% of CPU for Dual core i3 370M processor
Hello Everyone I have a dual-core Intel i3-370M processor and Windows 64 operating system. I have a 3GB RAM and my processor can support a maximum of 8GB RAM. I have virtual memory enabled on my computer. I am running a program in the 64 bit R which implements a MCMC on a large dataset and involves around 80000 iterations. The processor estimates that it will take around 1000 minutes to complete running the program. However when I check the CPU usage it shows only 25% usage. I have read on threads that R runs on only 1 core - and thus was expecting a CPU usage of around 50%. It would be great if anyone can point out a way by which I can make the processor use 50% of the CPU which I believe would allow the program to be run quicker. Best Shantanu [[alternative HTML version deleted]]
Joshua Wiley
2012-Aug-18 00:37 UTC
[R] R utilizing 25% of CPU for Dual core i3 370M processor
You probably have hyper threading so even though you only have two physical cores, there are 4 logical cores, hence 25%. Google can lead you to how to adjust this, if possible. Cheers, Josh On Fri, Aug 17, 2012 at 2:41 PM, Shantanu MULLICK <b00295766 at essec.edu> wrote:> Hello Everyone > > I have a dual-core Intel i3-370M processor and Windows 64 operating system. > I have a 3GB RAM and my processor can support a maximum of 8GB RAM. > > I have virtual memory enabled on my computer. > > I am running a program in the 64 bit R which implements a MCMC on a large > dataset and involves around 80000 iterations. > > The processor estimates that it will take around 1000 minutes to complete > running the program. > > However when I check the CPU usage it shows only 25% usage. > > I have read on threads that R runs on only 1 core - and thus was expecting > a CPU usage of around 50%. > > It would be great if anyone can point out a way by which I can make the > processor use 50% of the CPU which I believe would allow the program to be > run quicker. > > Best > Shantanu > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Joshua Wiley Ph.D. Student, Health Psychology Programmer Analyst II, Statistical Consulting Group University of California, Los Angeles https://joshuawiley.com/
Possibly Parallel Threads
- Simulating from "matrix variate normal distribution"
- Simulating from a Normal Inverted Wishart distribution
- Parameterization of Inverse Wishart distribution available in MCMCpack and bayesm libraries
- System is computationally singular error when using cholesky decompostion in MCMC
- [PATCH] fs, ocfs2: Move o2net_get_func_run_time under CONFIG_OCFS2_FS_STATS.