Cheers,
Dan Ts'o
...cmcl2!rna!dan
--
amd70 is dead, tell a friend
Phil Ngai (408) 982-6554
UUCPnet: {ucbvax,decwrl,ihnp4,allegra,intelca}!amd!phil
ARPAnet: amd!ph...@decwrl.ARPA
Although CCA EMACS once had certain error and documentation messages
compiled into the program, these were all moved out into separate files
about two years ago, well before the first commercial release of the
program. Also, the current bss storage is 420K, not 900K, and this can
be further reduced for small memory configurations. However, the amount
of bss storage required in no way affects the startup time of a program,
as the bss simply reflects the amount of memory that is reserved for
later use by the program.
In terms of startup time, CCA EMACS takes about three seconds to come
up on a Sun, using average size initialization files. As for
efficiency, we have measured the effect of ten people using CCA EMACS on
a VAX 11/780 with nothing else happening; the load average remained
under one.
Steve Zimmerman
CCA Uniworks
--
Welcome to California.
Now go home.
"However, the amount of bss storage required in no way affects
the startup time of a program, as the bss simply reflects the
amount of memory that is reserved for later use by the
program."
I wish this were so, but in fact startup time includes a component
which is linear with the size of the entire program (text+data+bss)
because the system has to preallocate that much swap space.
I regularly run a program with 200k text, 50k data, and bss larger than
1Meg. The effect of large bss upon startup time is quite noticeable.
This is all under 4.2BSD.
-- Andrew Klossner (decvax!tektronix!orca!andrew) [UUCP]
(orca!andrew.tektronix@rand-relay) [ARPA]
"I regularly run a program with 200k text, 50k data, and bss larger than
1Meg. The effect of large bss upon startup time is quite noticeable."
For measurement purposes, I've run CCA EMACS with a total size of over 1
megabyte as well. Although the program takes several seconds to start
up, I know that it begins to execute its initialization routines within
a half second of starting because these routines send strings to the
terminal that can be displayed on terminals with monitor facilities. At
this point, a fair amount of code has already been executed, so the real
load time is probably under half a second. Compared to the overall
initialization time of several seconds, this does not seem very
significant.
Steve Zimmerman