[Top][All Lists]

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

Re: Removal of unexec support from glibc malloc

From: Ken Raeburn
Subject: Re: Removal of unexec support from glibc malloc
Date: Mon, 18 Jan 2016 20:44:48 -0500

> On Jan 18, 2016, at 20:14, Dmitry Gutov <address@hidden> wrote:
> On 01/19/2016 01:45 AM, Ali Bahrami wrote:
>> Before you fight to to save unexec, I'd encourage you to measure the
>> impact, and see if it still matters.
> As a rough measurement, 'src/emacs -Q' takes ~0.5s to launch on my machine. 
> 'src/temacs -Q` takes ~5.5s.
> It seems not only machines have become faster, Emacs has grown quite a bit, 
> too. :)

It’s also pretty aggressive about garbage collection after loading any code 
before the unexec.  Presumably that’s to minimize the storage needed for the 
shared on-disk image.

Try removing the after-load-functions hook in loadup.el that invokes GC, and 
the explicit GC calls.  Also maybe bump up gc-cons-threshold by an order of 
magnitude.  (Just until loading finishes, if you like.)


reply via email to

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