preloading of binaries
Oswald Buddenhagen
ossi at kde.org
Mon Mar 8 15:32:01 CET 2004
[for reference: http://bugs.kde.org/show_bug.cgi?id=63789]
On Mon, Mar 08, 2004 at 02:19:08PM +0100, Lubos Lunak wrote:
> I'd need some people to test the the following hack. In startkde,
> before KDE is loaded, a small utility mmap()'s basic large libraries
> used by KDE and walks over them, causing them to be all loaded into
> memory,
>
guess what? i had the same idea ... but i'd also automatically extract
library dependencies from objects.
i think explicitly touching every page is a bad idea, as it it enforces
a certain loading order (you could use MADV_SEQUENTIAL just as well).
instead, only do the mappings and advices (and let the program linger in
the background for some time, in case pending requests are discarded
when the requesting program exits prematurely).
greetings
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
More information about the Kde-optimize
mailing list