all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs trying to load too many files at startup
@ 2005-11-19 18:31 Dan Nicolaescu
  2005-11-19 19:09 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Dan Nicolaescu @ 2005-11-19 18:31 UTC (permalink / raw)




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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-11-21  8:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-19 18:31 emacs trying to load too many files at startup Dan Nicolaescu
2005-11-19 19:09 ` Eli Zaretskii
2005-11-19 19:49   ` Dan Nicolaescu
2005-11-19 20:07     ` Eli Zaretskii
2005-11-19 20:17       ` Dan Nicolaescu
2005-11-20 23:23         ` Richard M. Stallman
2005-11-19 20:16 ` Luc Teirlinck
2005-11-19 20:19   ` Dan Nicolaescu
2005-11-20 17:12 ` Stefan Monnier
2005-11-21  8:09   ` Richard M. Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.