From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by sourceware.org (Postfix) with ESMTPS id 0DD51385780A for ; Tue, 8 Feb 2022 18:45:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0DD51385780A Received: by mail-lf1-x130.google.com with SMTP id f10so34997174lfu.8 for ; Tue, 08 Feb 2022 10:45:44 -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=e7PgJVcox1tt1O6QKp8TqNSmrM/A5Ym7qkrwYdUR4Ec=; b=vmVlPQrr6rzlReKTUQNyWHWe58PsaVfpdbfF45Wqlv5sk6mUoHu3bYJth/f6EX8p95 EzBuPLzpE/wXrnMYj1rY6vPLejZpZlYcljjQXQSD12lbeBc4V9s+/4d9+zdQPpYgv8g/ /k5nn+6LWvx2nk0dzrRTACcHWW+KO735fDSB9K+CpvX2TmKGlyfF671OdZCFiD+3SeaK Qi5Hh/YjTV2VaTHDVG0+Xx9/2XJkQLetdIdnXRKmrrU8bLQP4DaE1Y6vNG5uuzwC5DE3 Ih1Kh6PXuh1MGgnv4ar3kK2AzXN7b3t8rx9pETO5ggy0/E3577CE+GqE78lzg4DhB468 ruZg== X-Gm-Message-State: AOAM530JdCgV1qz7KU2WPcxCOQplG4ik3+g2bjwRRi19FZOdcSowUMnu ik9MaYvVWRuP6qyzn8nz0ZEJSe/3UqcrwHG4efmuxe+OxL0= X-Google-Smtp-Source: ABdhPJyrA6E3bk1kzMA5Skysr97vLz91a72+G0HA2xgXL8x7h8zoQ+1KhktzZutK+np3GUXg0P9f3ezj8Ly7zkCZ9Z8= X-Received: by 2002:a05:6512:23a6:: with SMTP id c38mr2055408lfv.100.1644345943872; Tue, 08 Feb 2022 10:45:43 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alexander Lindsay Date: Tue, 8 Feb 2022 10:45:32 -0800 Message-ID: Subject: Re: Noted slowness in profile loading with binutils 2.37 To: "H.J. Lu" Cc: Binutils X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 18:45:47 -0000 Hmm, I'm trying with master and I still see the slowness. I'll note that I also saw the slowness when I configured a 2.37 build with `--enable-follow-debug-links=no` when I was wondering if that was the relevant change. On Tue, Feb 8, 2022 at 9:58 AM H.J. Lu wrote: > 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. >