From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB446385041A; Thu, 10 Sep 2020 14:46:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB446385041A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1599749217; bh=afjP3mdn6tq2HM9LPIBhdexIGIJN1aW0mpJEULvrOow=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lAjlp/OPGYK0TwgYKXg8p/kDlqcjG5+dLquxrMLhrfozVlOKbEeVbf+5r2GiEIiNu /aJRqisF4uz78IXSS0tXVvc7BtbgiHyIdJsNsHQjkcRWc8oN+etO5bhyNO5SsJDgoz dvHRPaWNulZix2BRHNEKOxKC9vAybnJWOhKKFJCg= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/96942] std::pmr::monotonic_buffer_resource causes CPU cache misses Date: Thu, 10 Sep 2020 14:46:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 9.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 14:46:58 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96942 --- Comment #40 from Jonathan Wakely --- (In reply to Dmitriy Ovdienko from comment #38) > Wohoooooo! Accepted: >=20 > https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/ > binarytrees.html Nice. I've added some __builtin_expect hints and also changed the buffer resource= to allocate multiples of 64 instead of powers of two. I don't think there's mu= ch more that be done here right now.=