From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11475 invoked from network); 20 Jan 1999 10:23:54 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 20 Jan 1999 10:23:54 -0000 Received: from piglet.twiddle.net (rth@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id EAA29078 for ; Wed, 20 Jan 1999 04:58:23 -0500 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id CAA18187 for axp-list@redhat.com; Wed, 20 Jan 1999 02:01:35 -0800 Message-ID: <19990120020135.A18181@piglet.twiddle.net> Date: Wed, 20 Jan 1999 02:01:35 -0800 From: Richard Henderson To: axp-list@redhat.com Subject: Re: libffm and LD_PRELOAD, a tip References: <19990120051826.2164.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <19990120051826.2164.qmail@hotmail.com>; from Designer 7 on Tue, Jan 19, 1999 at 09:18:26PM -0800 On Tue, Jan 19, 1999 at 09:18:26PM -0800, Designer 7 wrote: > Ok.. so your tip worked great,.. I just had to recompile libffm as a > shared library... however, I noticed that libffm gets loaded ALL the > time, even if a program doesn't need libm/libffm. Indeed. But you requested that it be loaded, so it was. Note that at some indefinite point in the future, you'll see a modest to severe performance penalty because of LD_PRELOAD. We have plans to implement Irix-like shared library quickload scheme. Preloading defeats that, and so quickloading would be disabled for that process. If you have LD_PRELOAD set for everything you run, you would see no benefit from the quickloading at all. r~