[R] Ubuntu vs Mac OS X

From: Guillaume Blanchet <gblanchet.list_at_gmail.com>
Date: Fri, 25 Apr 2008 17:34:07 -0600

Hi !

I have installed R-2.7.0 64-bits on a computer where the new Ubuntu version (8.04) was installed. This computer is a 3.2 GHz Dual-core with 2 Gb of RAM.

To test how fast (I though !) this machine is, I compared two simple matrix manipulations between Ubuntu and my laptop (a MacBook Pro 2.2 GHz with also 2 Gb of RAM under Mac OS X 10.5.2). By the way, I install the normal version of R on my MacBook Pro (32-bits)

I decided to use the following matrix manipulation because they are typical manipulation that I was planning to do repetitively and with much larger matrices for my PhD project.

First matrix manipulation:


Results on the Mac:

user     system      elapsed
7.301       0.974       7.376

Results on Ubuntu:
user     system      elapsed
20.573       0.088       20.766

Second matrix manipulation:


Results on the Mac:

user     system      elapsed
0.360       0.024       0.224

Results on Ubuntu:
user     system      elapsed
2.756       0.000       2.758

If I understand these results right, my MacBook Pro is far better than this Desk computer. I know Macs are good but that difference of performance is surprising me, did I do something wrong considering the large difference in processor?

Thanks in advance

Guillaume Blanchet

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. Received on Fri 25 Apr 2008 - 23:38:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 26 Apr 2008 - 12:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive