Subject: ELF prebinding round 3: new method
To: None <email@example.com>
From: Bang Jun-Young <firstname.lastname@example.org>
Date: 09/27/2002 11:39:59
[I think it's worth posting it to current-users@ as well. Please CC:
to tech-userlevel@ when you reply]
I fixed a fatal bug in 'prebind' and implemented a simple fixup
optimization. Now ld.elf_so loads modified libc.so 20%+ faster than
unmodified libc.so (10%+ faster than FreeBSD & Red Hat rtlds!).
The benchmark result is shown below:
$ time ./david 9999
Compare it with the last result, 4.62s. ;-)
It's quite stable and I haven't had any problem for last a couple days.
Optimized libX11.so also works fine with all X11 apps I have.
Another 10-20% improvement is expected this weekend when I fix some
problems with 'prerelocation'. Also I'm planning to get rid of all the
hacks made into it (i.e. using p_paddr as prefbase, etc.).
Is there anybody willing to test it on his own system?
Bang Jun-Young <email@example.com>