Re: [R] R utilizing 25% of CPU for Dual core i3 370M processor

2012-08-17 Thread Joshua Wiley
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  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 8 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@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/

__
R-help@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.


[R] R utilizing 25% of CPU for Dual core i3 370M processor

2012-08-17 Thread Shantanu MULLICK
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 8 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@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.