Prelinking apps
Orlando Fiol
ofiol at ikirux.com.ve
Tue Oct 5 14:34:25 CDT 2004
On Tue, Oct 05, 2004 at 08:22:38PM +0100, Scott James Remnant wrote:
[...]
>
> descent scott% LD_DEBUG=statistics /lib/tls/i686/cmov/ld-linux.so.2 /usr/bin/gedit
> 19055:
> 19055: runtime linker statistics:
> 19055: total startup time in dynamic loader: 95427223 clock cycles
> 19055: time needed for relocation: 87261064 clock cycles (91.4%)
> 19055: number of relocations: 2720
> 19055: number of relocations from cache: 2599
> 19055: time needed to load objects: 7556171 clock cycles (7.9%)
> 19055:
> 19055: runtime linker statistics:
> 19055: final number of relocations: 9238
> 19055: final number of relocations from cache: 3511
>
[...]
> Compare a fresh Ubuntu system with a prelinked one.
Which one is fresh and which one prelinked?
>
> descent scott% LD_DEBUG=statistics /lib/tls/i686/cmov/ld-linux.so.2 /usr/bin/gedit
> 19314:
> 19314: runtime linker statistics:
> 19314: total startup time in dynamic loader: 90071299 clock cycles
> 19314: time needed for relocation: 82785218 clock cycles (91.9%)
> 19314: number of relocations: 2720
> 19314: number of relocations from cache: 2599
> 19314: time needed to load objects: 6686188 clock cycles (7.4%)
> 19314:
> 19314: runtime linker statistics:
> 19314: final number of relocations: 9279
> 19314: final number of relocations from cache: 3511
>
More information about the ubuntu-devel
mailing list