unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Han-Wen Nienhuys <hanwenn@gmail.com>
To: guile-devel@gnu.org
Subject: Re: garbage collection slowdown
Date: Sat, 1 Feb 2020 10:34:32 +0100	[thread overview]
Message-ID: <CAOw_e7aDrRZ9_zhh5_P7BqsXAeHvRNoQSAJRnpTF_Rg7nsUkQw@mail.gmail.com> (raw)
In-Reply-To: <CAOw_e7Y8wkZuS_VKVZE0zkSSmnLeMeEdEOesJ4rsjWj1kZ2N5w@mail.gmail.com>

On Tue, Jan 28, 2020 at 11:41 PM Han-Wen Nienhuys <hanwenn@gmail.com> wrote:
> Unfortunately, it looks like the adoption of the BDW GC library caused
> a ~6x slowdown, causing an overall end-to-end slowdown of 50%.
>
> I was wondering if you folks would have tips to further tune GC for
> wall-time speed, and if there additional diagnostics to see if we're
> doing something extraordinarily silly.

For the record, I managed to solve this, by scaling up the heap more
aggressively. See
https://codereview.appspot.com/561390043/diff/557260051/lily/score-engraver.cc

Ironically, this is the same problem scenario that led me to
refactoring the GUILE GC in ~2002, in
c8a1bdc460f892847d0fb3f1321cdeb305160bf8.

-- 
Han-Wen Nienhuys - hanwenn@gmail.com - http://www.xs4all.nl/~hanwen



  parent reply	other threads:[~2020-02-01  9:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-28 22:41 garbage collection slowdown Han-Wen Nienhuys
2020-01-29  0:47 ` Arne Babenhauserheide
2020-01-29  7:17 ` Han-Wen Nienhuys
2020-02-01  9:34 ` Han-Wen Nienhuys [this message]
2020-02-05 16:22   ` Ludovic Courtès
2020-02-05 22:31     ` Han-Wen Nienhuys
2020-02-06 14:06       ` Mikael Djurfeldt
2020-02-06 17:19         ` Ludovic Courtès

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=CAOw_e7aDrRZ9_zhh5_P7BqsXAeHvRNoQSAJRnpTF_Rg7nsUkQw@mail.gmail.com \
    --to=hanwenn@gmail.com \
    --cc=guile-devel@gnu.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).