From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 16:23:24 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E115F16A420 for ; Sun, 23 Oct 2005 16:23:24 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E5EC43D58 for ; Sun, 23 Oct 2005 16:23:24 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id CC53C5D4B; Sun, 23 Oct 2005 12:23:23 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 87125-08; Sun, 23 Oct 2005 12:23:23 -0400 (EDT) Received: from [192.168.1.3] (pool-68-161-76-130.ny325.east.verizon.net [68.161.76.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id E71555C53; Sun, 23 Oct 2005 12:23:22 -0400 (EDT) Message-ID: <435BB8FC.8030601@mac.com> Date: Sun, 23 Oct 2005 12:23:24 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: plcplc@gmail.com References: <200510231749.48212.plcplc@gmail.com> In-Reply-To: <200510231749.48212.plcplc@gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: Preloading of shared libraries X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2005 16:23:25 -0000 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