Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 09:35:45 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Speeding up (caching?) shared libraries loading
Message-ID:  <20100831143545.GB5913@dan.emsphone.com>
In-Reply-To: <4C7CF944.7030709@netfence.it>
References:  <4C7CF944.7030709@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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