[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs trying to load too many files at startup
From: |
Dan Nicolaescu |
Subject: |
emacs trying to load too many files at startup |
Date: |
Sat, 19 Nov 2005 10:31:16 -0800 |
On an x86 Fedora Core 4 machine I run this:
strace -o /tmp/emacs.strace ./emacs -q --no-sile-file
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?
Thanks
--dan
- emacs trying to load too many files at startup,
Dan Nicolaescu <=
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