[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils
Subject:    Re: improving ld performance
From:       Lars Knoll <lars () trolltech ! com>
Date:       2004-03-09 10:26:32
Message-ID: 200403091126.32778.lars () trolltech ! com
[Download RAW message or body]

On Tuesday 09 March 2004 10:07, Nick Clifton wrote:
> Hi Andy,
>
> > I've been experimenting with changing the DEFAULT_SIZE of hash table
> > in bfd/hash.c and got significant improvements in LD CPU times when
> > linking one of our images (see below). I was wondering whether I can
> > set this from the command line or linker script?
>
> There are no such options at present, but I think that this would be a
> very good idea.  Would you like to develop a patch to do it ?

Would it be a problem to just increase the default size of the hash tables? 
The only disadvantage I could see is memory consumption, but my guess is that 
this would probably be negligible compared to all the other data the linker 
allocates.

Cheers,
Lars

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic