Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2005 12:23:24 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        plcplc@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Preloading of shared libraries
Message-ID:  <435BB8FC.8030601@mac.com>
In-Reply-To: <200510231749.48212.plcplc@gmail.com>
References:  <200510231749.48212.plcplc@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Philip Lykke Carlsen wrote:
> Hey.. I wondered if it was possible to load a selection of shared libraies 
> into the cache at boot time.. I figure that it would speed up starting 
> things.. like the KDE login manager for instance.. 
> 
> hm.. is this possible? .. and if so.. would it speed up the process of 
> starting stuff at all?..

Sort of.  At one point, you could set the sticky bit on files as a hint to the 
pager to try and keep them in memory, which was intended for things like 
/bin/sh, cron, login, and maybe libc.

Whether it would help in your particular case is harder to say, how much RAM 
does your machine have, and what kind of CPU?  Some people believe that KDE 
requires excessive resources for what it does, consider fluxbox or something 
more lightweight...

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?435BB8FC.8030601>