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] |
Florian Weimer <fw@deneb.enyo.de> writes: > * 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? This is ext3, I haven't tried others. > (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.) I doubt it - it would still mean reading the libraries itself and the patch avoids reading the libraries. Sorting by d_ino might help if there's no cache, Andreas -- Andreas Jaeger, Director Platform/openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |