From: Florian Weimer <fweimer@redhat.com>
To: Carlos O'Donell <carlos@redhat.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH] malloc: Revert fastbins to old-style atomics
Date: Wed, 16 Jan 2019 16:33:03 +0100 [thread overview]
Message-ID: <87k1j4wrbk.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <793fa38d-e8aa-4903-5dfd-7997d511c367@redhat.com> (Carlos O'Donell's message of "Wed, 16 Jan 2019 10:18:54 -0500")
* Carlos O'Donell:
> On 1/16/19 8:04 AM, Florian Weimer wrote:
>> Commit 6923f6db1e688dedcf3a6556da76e0bf24a41872 ("malloc: Use current
>> (C11-style) atomics for fastbin access") caused a substantial
>> performance regression on POWER and Aarch64, and the old atomics,
>> while hard to prove correct, seem to work in practice.
>
> Why is it slow?
>
> What do the benchmarks say?
>
> What does profiling show to be the slow instruction?
>
> How is the instruction sequence different from before that causes the
> problem?
The other thread is here:
<https://sourceware.org/ml/libc-alpha/2019-01/msg00379.html>
Thanks,
Florian
next prev parent reply other threads:[~2019-01-16 15:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-16 13:04 [PATCH] malloc: Revert fastbins to old-style atomics Florian Weimer
2019-01-16 15:18 ` Carlos O'Donell
2019-01-16 15:33 ` Florian Weimer [this message]
2019-01-16 15:47 ` Carlos O'Donell
2019-01-18 12:16 ` Florian Weimer
2019-01-18 18:39 ` Siddhesh Poyarekar
2019-01-18 21:41 ` Florian Weimer
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/libc/involved.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k1j4wrbk.fsf@oldenburg2.str.redhat.com \
--to=fweimer@redhat.com \
--cc=carlos@redhat.com \
--cc=libc-alpha@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).