This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: [patch] ld speedup 1/3 (suffix merge)


>>>>> On Wed, 10 Sep 2003 16:50:10 +0930, Alan Modra <amodra@bigpond.net.au> said:

  Alan> On Tue, Sep 09, 2003 at 11:52:37PM -0700, David Mosberger
  Alan> wrote:
  >> The resulting profile is still very lopsided (30% of time is
  >> spent in sec_merge_hash_lookup), so there may be more
  >> opportunities to speed

  Alan> Yup.  See
  Alan> http://sources.redhat.com/ml/binutils/2003-08/msg00398.html

Hmmh, I tried this but if it's a win, it's much less noticable.  The
difference seems to be somewhat in the noise (around 2 seconds in a 30
second run).  In case it helps, here is the output I'm seeing in the
final link:

  LD      vmlinux
dj: expand count 3070 size 4093 to 8191
dj: expand count 6144 size 8191 to 16381
dj: expand count 3070 size 4093 to 8191
dj: expand count 6144 size 8191 to 16381
dj: expand count 12286 size 16381 to 32749
dj: expand count 24562 size 32749 to 65521

Perhaps it would help to default to a larger initial value?

	--david


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