[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:

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? 



reply via email to

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