[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs trying to load too many files at startup
From: |
Eli Zaretskii |
Subject: |
Re: emacs trying to load too many files at startup |
Date: |
Sat, 19 Nov 2005 21:09:41 +0200 |
> From: Dan Nicolaescu <address@hidden>
> Date: Sat, 19 Nov 2005 10:31:16 -0800
>
> The /tmp/emacs.strace file shows that emacs is trying to load at
> startup a lot of files that are dumped anyway so there should be no
> reason to load them at startups.
>
> This is seen by looking at stat system calls like:
> stat64("/home/dann/packages/emacs-CVS/share/emacs/22.0.50/site-lisp/replace.elc",
> 0xbf8c767c)
>
> Other files loaded: abbrev, textmodes/fill, emacs-lisp/lisp-mode, etc, etc
>
> There are about 2400 stat syscalls during the startup.
> emacs-21.4 does about 230 stat64 syscalls...
>
> When running from the local disk this is unlikely to cause a problem,
> but it might be a problem when using a slow NFS server...
>
> Does anyone know what is going on?
The easiest and the most accurate way of answering that is to put a
breakpoint in stat64, and then do a bt each time the breakpoint
triggers.
Re: emacs trying to load too many files at startup, Luc Teirlinck, 2005/11/19
Re: emacs trying to load too many files at startup, Stefan Monnier, 2005/11/20