Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 14:44:52 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   Speeding up (caching?) shared libraries loading
Message-ID:  <4C7CF944.7030709@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

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.

I'd welcome an hint on how to speed this up.
Possible thing would be to "cache" these shared libraries (and possibily 
the executable too) in memory, so that any invocation after the first is 
faster.
Is this possible at all?
Any other idea?

  bye & Thanks
	av.



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