Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #222422

Re: R performance

From Mark Fletcher <mark27q1@gmail.com>
Newsgroups linux.debian.user
Subject Re: R performance
Date 2020-05-12 18:00 +0200
Message-ID <A5Fu1-2M4-7@gated-at.bofh.it> (permalink)
References <A5Diy-1gQ-11@gated-at.bofh.it> <A5Fu2-2M4-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, May 12, 2020 at 08:16:52AM -0600, D. R. Evans wrote:
> Mark Fletcher wrote on 5/12/20 7:34 AM:
> > Hello
> > 
> 
> I have noticed that recent versions of R supplied by debian are using all the
> available cores instead of just one. I don't know whether that's a debian
> change or an R change, but it certainly makes things much faster (one of my
> major complaints about R was that it seemed to be single threaded, so I'm very
> glad that, for whatever reason, that's no longer the case).
> 
Thanks, but definitely not the case here. When running on my own 
machine, top shows the process at 100% CPU, the load on the machine 
heading for 1.0, and the Gnome system monitor shows one CPU vCore 
(hyperthread, whatever) at 100% and the other 7 idle.

R is certainly _capable_ of using more of the CPU than that, but you 
have to load libraries eg snow and use their function calls to do it -- in 
short, like in many languages, you have to code for parallelism. I tried 
to keep parallelism out of this experiment on both machines being 
compared.

Mark

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

R performance Mark Fletcher <mark27q1@gmail.com> - 2020-05-12 15:40 +0200
  Re: R performance Mark Fletcher <mark27q1@gmail.com> - 2020-05-12 18:00 +0200
    Re: R performance Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-05-12 19:10 +0200
      Re: R performance Mark Fletcher <mark27q1@gmail.com> - 2020-05-13 10:10 +0200
        Re: R performance Reco <recoverym4n@enotuniq.net> - 2020-05-13 13:00 +0200
        Re: R performance Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-05-13 18:30 +0200

csiph-web