From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by sourceware.org (Postfix) with ESMTPS id 822E23857C62 for ; Tue, 8 Feb 2022 17:58:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 822E23857C62 Received: by mail-pj1-x1032.google.com with SMTP id v13-20020a17090ac90d00b001b87bc106bdso2676419pjt.4 for ; Tue, 08 Feb 2022 09:58:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ihVt3tiijj332JE4DtetltlPB5eYZXxgiy0lsyzP7Vk=; b=dedZXsT+j+Zf6hYSOMN6x+CEPHlauJnxOHV0XbqYwEoSWSPNVlOtSsysDYoQKvdsZd V/hrwq7anIXEHfDCSKdhro2Kx9DqsoFz5FpKdGU1fBGJ3MNZuUWRYguNMOW61D4OGVoE fn6PMnqZKTZga3uG0j6VzQE2sqm4VuWltO+fBWYxfWYMi0Sa2oTsBW5SWLRBfXTty7Fh BK9KABCoPNAtFy8nQ5A+Pt1e8SmmwdSB4oqbuyb/JbHFsmoXmZ5VP0S4u+wO8ro0hx0z t06Xy3W9RLvP3V6BsI3sy8L77VUnuSCeyZHd+CV9WJS6adw+lyvYa1G+JpcWfXHULbND ZJXw== X-Gm-Message-State: AOAM5331KJOZ1CLWE006h2UDZloU2d+BakqSLCD0l/8NzCwreIOpp78j 9DqgxMOTXuv9OWBfd6lR1BGSaF1L3ONAuaaOzgM= X-Google-Smtp-Source: ABdhPJxYKB9ZyZ9+ZYpUiB7u4PvXi68VXWufoVAaNOp89fOcan3DkDjHxxV7ze+w1/GE1mHmQ0OSOFvLzA10E1NAKuM= X-Received: by 2002:a17:903:2350:: with SMTP id c16mr5748620plh.4.1644343106433; Tue, 08 Feb 2022 09:58:26 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "H.J. Lu" Date: Tue, 8 Feb 2022 09:57:50 -0800 Message-ID: Subject: Re: Noted slowness in profile loading with binutils 2.37 To: Alexander Lindsay Cc: Binutils Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3020.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2022 17:58:29 -0000 On Tue, Feb 8, 2022 at 9:45 AM Alexander Lindsay via Binutils wrote: > > Hi all, > > I recently experienced a slow-down in profile loading by the tool pprof, > and I believe I've boiled it down to changing from previous versions of > binutils to binutils version 2.37. Timings of profile loading are > documented on the pprof ticket I originally opened here: > https://github.com/google/pprof/issues/680#issuecomment-1032174210. I > reproduce them below: > > - binutils version 2.29.1: 1.1 seconds > - binutils version 2.33.1: 1.1 seconds > - binutils version 2.35.2: 6.8 seconds > - binutils version 2.36.1: 6.5 seconds > - binutils version 2.37: Still not loaded at 6 minutes > > I think the relevant binutil tool here is addr2line. Does anyone have a > quick idea for what may have caused the slow-down? I was thinking about > doing a git bisect, but I figured it is probably way more efficient to > contact the experts! > This may be related to: https://sourceware.org/bugzilla/show_bug.cgi?id=28843 -- H.J.