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: A per-user or per-application ld.so.cache?


On Mon, Feb 08, 2016 at 10:35:17PM -0500, Carlos O'Donell wrote:
> Not similar enough from a performance perspective.
> 
> If you have 15 paths in LD_LIBRARY_PATH, they each need to be searched
> in order to find the DSOs required in the last path entry. If you had
> a per-user cache it's a single cache lookup and an mmap. There is no
> traversal required of any filesystem if you get a hit in the cache.
> 
> Isn't that much better?
> 
> All of the cache machinery is there, we just don't have a per-user
> cache.

Agreed, it will be better.

Siddhesh


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