A per-user or per-application ld.so.cache?

Florian Weimer fweimer@redhat.com
Tue Mar 8 10:11:00 GMT 2016


On 02/10/2016 12:27 AM, Ben Woodard wrote:
> 
>> On Feb 8, 2016, at 11:18 PM, Florian Weimer <fweimer@redhat.com> wrote:
>>
>> On 02/08/2016 11:29 PM, Ben Woodard wrote:
>>
>>> I just talked to one of the developers to get a good sense of the current problem. 
>>> The sum of the on-disk file ELF files including debuginfo for one app that we looked at is around 3GB but when we just look at the text in all the ELF files it is 100-200MB depending on architecture spread across about 1400 DSOs. 
>>
>> This means that copying the text files together into a single file would
>> be feasible.
>>
> 
> Am I understanding you correctly? YouÂ’re suggesting linking?

Yes, building a single file which contains multiple DSOs, prior to
shipping to the cluster.  This would be just a cache.  Unlike static
linking, the presence of an additional library will not cause an
observable difference (beyond use of disk space).

It may be the only way to eliminate the bottleneck.

Florian



More information about the Libc-alpha mailing list