This is the mail archive of the libc-alpha@sources.redhat.com 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: ld.so optimizations


On Sun, Feb 13, 2005 at 01:00:38AM +0000, Mike Hearn wrote:
> On Sun, 13 Feb 2005 01:33:55 +0100, Keld Jørn Simonsen wrote:
> > My issue is that I was annoyed with the time it takes to load
> > openoffice.org. On my laptop it takes about 23 secs at the initial load.
> 
> The problems with OpenOffice are well understood: essentially there are
> just too many symbols in too many libraries. It's made worse by the design
> of the ELF ABI which results in poor fixup performance for huge numbers of
> symbols (relative to say, win32).

Yes, I have read about this in the dsohowto. 

I think there may be room for small improvements wrt the IO of loading
(in addition to improvements in the handling of symbols, which I am not
thinking of looking into adressing). I would appreciate if somebody could
address the questions I put forward in my first mail.


> I think they will just have to eliminate the use of so many DSOs to
> improve startup performance further (plus there are plenty of other areas
> they can improve on, like not hauling so much damn code into memory in the
> first place).

Yes, it seems to be an awful lot of code they load, and me wonders if
they could not delay much of the loading to when it is needed.

Best regards
Keld


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