Subject: Re: RelCache (aka ELF prebinding) news
To: Bang Jun-Young <junyoung@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-userlevel
Date: 12/01/2002 14:46:09
On Sun, Dec 01, 2002 at 02:28:20PM +0900, Bang Jun-Young wrote:
> Hi folks,
> 
> I have finally made the first working implementation of ELF prebinding
> "V2" available (I named it "RelCache" ;-). Here's some description on how
> it performs well, how it works, how you can install it on your machine,
> etc.
> 
> Benchmark
> *********
> 
> A simple benchmark result with execloop shows that ld.elf_so loads
> execloop in 30% less time. It was done on an Athlon XP 1800+/256MB DDR
> machine.

How much of that time is spent in the MD5 checksum routine?  How much time
would you expect to be spent in that routine on a slower processor with an
MMU of similar efficiency?

Why not use crc32 or adler32?  A cryptographic checksum is not necessary
here and seems inappropriate given that it's quite expensive.

Thor