Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Designer 7" <designer_7@hotmail.com>
To: axp-list@redhat.com
Subject: Re: libffm and LD_PRELOAD, a tip
Date: Tue, 19 Jan 1999 21:18:26 PST	[thread overview]
Message-ID: <19990120051826.2164.qmail@hotmail.com> (raw)

Hi Jaap,

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... is this a good 
thing? or is the penalty of loading an extra lib all the time 
insignificant?

D.

>
>That's a pretty cool tip.. I never knew you could do that. By the way, 
>do you know where in the system I can read about (either doc or source 
>code) how that environment variable is used?
>
>Thanks.
>
>D.
>
>
>>Fro those of you that want the extra speed of libffm and do not want
>>to recompile large packages (octave for example takes a lot of time to 
>>recompile) setting a LD_PRELOAD environent does the trick.
>>
>>I use "setenv LD_PRELOAD /usr/local/lib/libffm.so.1"  (csh obviously)
>>
>>if i now do a ldd on a file, libffm gets listed first. I did some 
tests
>>and it works fine on my system. To be honest i learned this from the
>>bladeenc author after I asked him is he could link his (binary-only)
>>program with the faster libs. Using this trick bladeenc runs about 25% 
>>faster in my box.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


             reply	other threads:[~1999-01-20  5:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-20  5:18 Designer 7 [this message]
1999-01-20  7:32 ` libffm and LD_PRELOAD, a tip Jaap Schellekens
1999-01-20 10:01 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1999-01-20  8:22 Designer 7
1999-01-19 18:35 Designer 7
1999-01-19 22:00 ` Jaap Schellekens
1999-01-19  7:44 Jaap Schellekens
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox