[Fedora-packaging] Package-internal static linkage

Ralf Corsepius rc040203 at freenet.de
Sun May 3 07:39:19 UTC 2009


Lubomir Rintel wrote:
> On Sat, 2009-05-02 at 13:52 +0300, Ville Skyttä wrote:

> One subtle advantage of dynamic linking would be saving space by making
> the executable image as well as text of the running process smaller, but
> I guess in your case (trading space for performance) is a quite good
> deal.

The key word in your sentence is "subtile" ...

How much performance gains does static linkage actually provide in this 
particular case?

  In the overwhelming majority of general cases, such kind of 
performance gains are close to immeasurable, distorted/overlayed by 
other effects (ld.so caches, ld.preload, disk caches, etc.) and hardly 
ever user noticeable.

Ralf







More information about the Fedora-packaging mailing list