This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: prelinking speed


On Fri, Oct 04, 2002 at 11:08:52AM -0400, Jack Howarth wrote:
> Jakub,
>    Hmmm. I'll have to ask around the debian-dpkg mailing list
> to see exactly what we can do on our distro for that. On debian
> sid I'm pulling down 20-40 new packages daily so I'll need to
> come up with something to remotely keep my system prelinked at
> all (grin).

Well, I could store timestamps of binaries/libraries in prelink.cache
and add some --fast option which only make sure all files mentioned
in prelink.cache are up-to-date prelinked (prelink.cache contains
the dependencies, so prelink could know if say libfoo.so has been
changed, it should prelink all binaries/libraries linking against it).
perhaps with some cutoff number like if more than 50 binaries/libraries
would need re-prelinking, it would fall back to normal -a operation.
That way prelink -va --fast would only be a couple thousands stat calls
and that would be suitable for daily cron while full-blown -va would be
done weekly.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]