[R] R-0.65.1 Startup
Guido Masarotto
guido at hal.stat.unipd.it
Sat Nov 13 11:45:12 CET 1999
On Sat, Nov 13, 1999 at 08:15:25AM +0000, Prof Brian D Ripley wrote:
> The puzzle becomes why rw0641 works. It did use different memory
> allocator, and it is possible that one is faster on Win 9x. (As it leaks
> badly, we do not use it any more.)
>
Partha,
could you provide more details (content of an eventual .RData
file, memory reported by Windows,what happens if you start R from a
new directory,...).
I am really curious about the difference between rw0641 and rw0651.
As Brian reported, we have changed the memory allocator.
But, I am not able to reproduce the differences.
E.g., look to the following (PII 233, RAM 64M , NT4SP5):
-------------------------------------------------------------------------------
[/tmp]% cat quit.R
q()
[/tmp] time /buffer/rw0641/bin/Rterm.exe --vsize 25M --nsize 1M --slave --no-save < quit.R
real 0m1.703s
user 0m0.020s
sys 0m0.010s
[/tmp] time /buffer/rw0641/bin/Rterm.exe --vsize 25M --nsize 5M --slave --no-save < quit.R
real 0m31.926s
user 0m0.010s
sys 0m0.050s
[/tmp] time /tmp/rw0651/bin/Rterm.exe --vsize 25M --nsize 1M --slave --no-save < quit.R
real 0m1.773s
user 0m0.020s
sys 0m0.010s
[/tmp] time /tmp/rw0651/bin/Rterm.exe --vsize 25M --nsize 5M --slave --no-save < quit.R
real 0m30.224s
user 0m0.030s
sys 0m0.010s
-------------------------------------------------------------------------------
I am not too much confident about 'user' and 'sys' timing. But the 'real' one
is what I observed (elapsed time, no other process active).
BTW, on the same system, under Linux, I obtain:
------------------------------------------------------------------------------
R-0.64.1
========
[~/tmp]% time R --vsize 25M --nsize 1M --slave --no-save < quit.R
real 0m1.345s
user 0m1.130s
sys 0m0.210s
[~/tmp]% time R --vsize 25M --nsize 5M --slave --no-save < quit.R
real 0m28.527s
user 0m1.230s
sys 0m2.750s
R-0.90.0 Today snapshot:
========================
[~/tmp]% time ~/src/R/bin/R --vsize 25M --nsize 1M --slave --no-save < quit.R
real 0m1.286s
user 0m1.060s
sys 0m0.220s
[~/tmp]% time ~/src/R/bin/R --vsize 25M --nsize 5M --slave --no-save < quit.R
real 0m31.809s
user 0m1.120s
sys 0m1.900s
-----------------------------------------------------------------------------
which shows that degradation in startup time due to an increase in 'nsize'
is more or less the same.
guido
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list