[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time to drop the pre-dump phase in the build?

From: Daniel Colascione
Subject: Re: Time to drop the pre-dump phase in the build?
Date: Fri, 10 Jan 2014 16:05:49 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 01/10/2014 02:58 PM, David Kastrup wrote:
Daniel Colascione <address@hidden> writes:

On 01/10/2014 11:15 AM, Eric S. Raymond wrote:

(4) We're presently buying some startup speed at the cost of a larger
      minimum working set.

The minimum working set is zero. Modern operating systems demand-page
necessary information.

That's a popular misconception.  The key point to note is "page" in
demand-paging.  Unless one uses a garbage collection and topological
sort and compaction of the memory, most of the stuff that will get paged
in along with required data will not get accessed because it is
unrelated.  Now a temacs dump has not seen much action with regard to
fragmentation, but still the normal Lisp programming styles allocate and
release enough transient memory that the image will be mixed up quite
more than byte-compiled files will be.  Of course, if the byte-compiled
files are small, you'll get into block waste as well.

$ ps -eo pid,rss,cmd | grep '[e]macs'
31132 38516 ./temacs -Q
31136 31312 ./emacs -Q

[For emacs]
Address           Kbytes     RSS   Dirty Mode   Mapping
0000000000827000   11320   10552    8020 rw---  emacs

reply via email to

[Prev in Thread] Current Thread [Next in Thread]