Re: Bug#72140: Setting up libraries too slow
Bernd Eckenfels wrote:
>
> it is opening ans stating all those lib files and extracting the version
> from the header. It is quite fast on the second run, so it is the file
> system access which is painfully slow. You can actually run ldconfig with -N
> and -X to only update the links and only update the cache.
>
how fs access? the ext2fs is notoriously slow on reading large directory contents.
do you think that's the bottleneck, and not a problem with any structure
that ldconfig maintains or any algorithm that it executes?
> The problem is not t he execution speed of that tool but the frequency it is
> run at install time (for each package).
it seemed to me one of the slowest parts of the installation procedure, that's
why i filed the bug. i still think it's a bug though, something that should
be improved upon.
even if it's a fs bug, i'm willing to take a peek at it. linux is gpl'd right? :)
--
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo
Reply to: