This is the mail archive of the libc-alpha@sourceware.org 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: RFC: ldconfig speedup


* Andreas Jaeger:

> Flush filesystem cache, create from scratch:
> # echo 3 > /proc/sys/vm/drop_caches;time ldconfig -i
>
> real    0m24.234s
> user    0m0.148s
> sys     0m0.408s

Out of curiosity, is this on ext3?  Have you tried different file
systems?

(I would expect that sorting by the d_ino field returned by readdir
before touching the files would bring a comparable speed-up, at lesser
complexity.)


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