Date: Tue, 31 Aug 2010 18:19:11 +0200 From: Andrea Venturoli <ml@netfence.it> To: Dan Nelson <dnelson@allantgroup.com> Cc: freebsd-questions@freebsd.org Subject: Re: Speeding up (caching?) shared libraries loading Message-ID: <4C7D2B7F.7080207@netfence.it> In-Reply-To: <20100831143545.GB5913@dan.emsphone.com> References: <4C7CF944.7030709@netfence.it> <20100831143545.GB5913@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Il 08/31/10 16:35, Dan Nelson ha scritto: > In the last episode (Aug 31), Andrea Venturoli said: >> Suppose I have an executable which I need to invoke repeatedly (e.g. to >> run tests in a makefile). This executables spend most of its time loading >> (rather than processing), due to the need of several huge shared >> libraries. > > Link your program statically and bypass the dynamic linker completely. Then my binary would be more than 200MB and it wouldn't load that fast either. Besides I have several binaries using the same libraries and linking them all statically would take up a lot more time. bye & Thanks anyway av.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C7D2B7F.7080207>