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

d-seaman@ukans.edu
Mon, 26 Feb 1996 21:53:35 -0600 (CST)


On Mon, 26 Feb 1996, Shawn Rutledge wrote:

> > 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.

ELF uses and extra register in the CPU. Because the x86 has almost zilch
registers compared to RISC processors, this slows down ELF programs
10-15% based on comments I've seen. My system does seem slower under
RedHat 2.1 elf vs Slackware 2.xx a.out.

Derek

/---------------------------+-----------------+-----------\
| |P90/Wide SCSI III| Open |
| Mechanical Engineering |32MB Ram/3.5GB HD|Windoze let|
| Senior |4mm 8GB SCSI2 DAT| bugs in. |
| d-seaman@ukans.edu |17" Nanao F2-17EX|DOS/Win/OS2|
| | HP LJ 5MP w/7MB | *LINUX* |
\---------------------------+-----------------+-----------/