This is the mail archive of the
mailing list for the glibc project.
Re: Piecemeal library loading causes slow startup of big apps
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: Lorenzo Colitti <lorenzo at colitti dot com>
- Cc: libc-alpha at sources dot redhat dot com, Owen Taylor <otaylor at redhat dot com>
- Date: Tue, 13 Sep 2005 19:27:47 +0200
- Subject: Re: Piecemeal library loading causes slow startup of big apps
- Bcc: Petter Reinholdtsen <petter dot reinholdtsen at usit dot uio dot no>
- References: <4326FDB8.firstname.lastname@example.org>
> as my google SoC project I have been working on improving GNOME
> startup time, and I see that dynamic linking is one of the culprits.
Are you aware of the efforts in fedora, gentoo, ubuntu and debian to
improve the boot speed? One of the implemented solutions are called
readahead, where one measure the files used during the boot, and start
a process early in the boot to tell the kernel to load these files
into memory before they are actually needed. This sounds very much
like the problem you are trying to solve. Making sure all files
needed by the programs executed during the boot are pre-loaded into
memory is able to cut 10-20% off the boot time.