Re: a.out vs. ELF speed (WAS Re: Will a.out disappear?)

Laszlo Vecsey (master@internexus.net)
Tue, 27 Feb 1996 11:05:57 -0500 (EST)


> > I did an upgrade to ELF and it seems that my machine is faster now (at=20
> > least not slower than before).
>
> I can't think of a reason that ELF itself should run faster, but since the
> memory requirements are lower (shared libraries rather than having separate
> copies loaded for separate apps) the system should swap less.

The ELF faq mentions that there is up to a 5% performance penalty for
loading an ELF program. I've also noticed that when I compile my programs
as -static and make them bloated they load up much faster, I'm not sure
if they run faster as a result or not.