[R] (performance) time in Windows vs Linux
Patrick Connolly
p_connolly at slingshot.co.nz
Mon Jun 29 08:56:55 CEST 2009
On Mon, 29-Jun-2009 at 02:13AM -0400, milton ruser wrote:
|> Really?
|>
|> In fact I have a quadcore. But how can I know if Linux are really
|> using only one core, and how can I setup it to use the 4cores?
I use GKrellM (install with "aptitude install gkrellm" if you don't
have it already). It shows a trace of the % activity for each CPU
where it's very clear if only one is being used. I've never had
occasion to change such a setting, but someone more skilled in such
things could say how to make it use more than one.
HTH
|>
|> Thanks a lot,
|>
|> milton
|>
|> On Mon, Jun 29, 2009 at 1:46 AM, Patrick Connolly <
|> p_connolly at slingshot.co.nz> wrote:
|>
|> > On Fri, 26-Jun-2009 at 04:37PM -0400, milton ruser wrote:
|> >
|> > |> Hi there,
|> > |>
|> >
|> > |> I have both systems on a DELL 64bit machine.
|> >
|> > |> I compiled R 2.9.0 on both systems, to get 64bits capability.
|> > |> Surpriselly, on Linux (Ubuntu with I installed 3 month ago) I spent
|> > |> 41s to run the same test you did, and less time (35s) under
|> > |> Vista. In fact I had noticed that I not have gained time when
|> > |> running under linux (I had done jobs that run for several
|> > |> days). But somethings I gain with memory managment, because for
|> > |> some programs or steps, windows say that memory is full, while
|> > |> Linux run up to the end of the job.
|> >
|> > I think there's a simple explanation for both of those observations.
|> > Your Windows installation is more than likely using both cores (or 4
|> > if you have a quad core) while your Linux is using only 1 of them.
|> >
|> > best
|> >
|> > --
|> > ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
|> > ___ Patrick Connolly
|> > {~._.~} Great minds discuss ideas
|> > _( Y )_ Average minds discuss events
|> > (:_~*~_:) Small minds discuss people
|> > (_)-(_) ..... Eleanor Roosevelt
|> >
|> > ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
|> >
--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
___ Patrick Connolly
{~._.~} Great minds discuss ideas
_( Y )_ Average minds discuss events
(:_~*~_:) Small minds discuss people
(_)-(_) ..... Eleanor Roosevelt
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
More information about the R-help
mailing list