public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Harald Anlauf" <anlauf@gmx.de>
To: Alan Modra <amodra@bigpond.net.au>
Cc: binutils@sourceware.org
Subject: Re: Performance of ld on GFS (Global File System)
Date: Thu, 25 Sep 2008 13:48:00 -0000	[thread overview]
Message-ID: <20080925134728.228300@gmx.net> (raw)
In-Reply-To: <20080925025405.GJ17852@bubble.grove.modra.org>

Hi Alan,

> On Wed, Sep 24, 2008 at 10:02:45PM +0200, Harald Anlauf wrote:
> > Operations like open and close are probably quite expensive.
> 
> In that case you might want to tweak bfd/cache.c BFD_CACHE_MAX_OPEN.

I increased BFD_CACHE_MAX_OPEN from 10 to 100, which I presumed to
be large enough.  On GFS, system time and wall time for linking went down
between 30 to 40%, which is good, but still far from a factor 100 or so.  :-(
(The change was neutral on the system with local disk.)

(Empirically increasing BFD_CACHE_MAX_OPEN to 200 did not improve
things further.)

Anything else I can try?  Any other option that reduces the number of
filesystem related system calls may be helpful.

Cheers,
Harald

-- 
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196

  reply	other threads:[~2008-09-25 13:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 20:03 Harald Anlauf
2008-09-25  2:54 ` Alan Modra
2008-09-25 13:48   ` Harald Anlauf [this message]
2008-09-26 14:47     ` Ian Lance Taylor
2008-09-29  9:56       ` Harald Anlauf
2008-09-29 16:49         ` Ian Lance Taylor
2008-09-29 21:56           ` Harald Anlauf
2008-09-30 16:46           ` Harald Anlauf
2008-10-03 22:34           ` Cary Coutant
2008-10-06  8:02             ` Harald Anlauf
2008-10-13 15:16     ` Harald Anlauf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080925134728.228300@gmx.net \
    --to=anlauf@gmx.de \
    --cc=amodra@bigpond.net.au \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).