From: Scott Gilpin <sgilpin_at_gmail.com>

Date: Sat 11 Jun 2005 - 06:57:29 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jun 11 07:02:07 2005

Date: Sat 11 Jun 2005 - 06:57:29 EST

*>uname -a
*

SunOS lonetree 5.8 Generic_117350-16 sun4u sparc SUNW,Sun-Fire-V440

First comparison: solve on a large matrix

Second comparison: linear regression

lonetree /home/sgilpin/R >echo 'set.seed(1);
y<-matrix(rnorm(10000*500),500);

x<-matrix(runif(500*100),500);

system.time(fit<-lm(y~x))' | /disk/loneres01/R-2.1.0-32bit/bin/R -q --vanilla

*> set.seed(1);y<-matrix(rnorm(10000*500),500);x<-matrix(runif(500*100),500);system.time(fit<-lm(y~x))
*

[1] 23.34 0.80 24.17 0.00 0.00

*>
*

lonetree /home/sgilpin/R >echo 'set.seed(1);
y<-matrix(rnorm(10000*500),500);

x<-matrix(runif(500*100),500);

system.time(fit<-lm(y~x))' | /disk/loneres01/R-2.1.0-64bit/bin/R -q --vanilla

*> set.seed(1);y<-matrix(rnorm(10000*500),500);x<-matrix(runif(500*100),500);system.time(fit<-lm(y~x))
*

[1] 55.34 0.70 56.21 0.00 0.00

*>
*

Final comparison: stats-Ex.R (from R-devel) lonetree /home/sgilpin/R >time /disk/loneres01/R-2.1.0-32bit/bin/R -q --vanilla CMD BATCH stats-Ex.R

real 1m4.042s

user 0m47.400s

sys 0m10.390s

lonetree /home/sgilpin/R >time /disk/loneres01/R-2.1.0-64bit/bin/R -q
--vanilla CMD BATCH stats-Ex.R

real 1m20.017s

user 1m3.590s

sys 0m10.130s

I've seen Prof. Ripley and others comment that a 64 bit build will be a little slower because the pointers are larger, and gc() will take longer, but these timings seem out of this range.

Any thoughts?

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jun 11 07:02:07 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:32:31 EST
*