From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mr4.vodafonemail.de (mr4.vodafonemail.de [145.253.228.164]) by sourceware.org (Postfix) with ESMTPS id 6F0383857353 for ; Fri, 4 Aug 2023 19:57:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F0383857353 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1691179054; bh=xfwz/XAkLGEqo7HEv92zo5AE+lF6+9oBqSDz115nQJc=; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:User-Agent: Content-Type:From; b=jV2T62b8LfJwKi7RwDkD/1ZwKI5d847kL32TqAncNmsTw6FRxBWpRKgUQwPZiXeWo XIVumANMUbXwOoqXo4YTK7WPDBpAl/ZWLRcKB1N9/LFEM5tJTJDCgebT2Z0Mlltnmu UJpKSDdZL816Sl3vTQOGTJ0/fe4tZS3MgQexyMMc= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4RHc261Px6z1y5G for ; Fri, 4 Aug 2023 19:57:34 +0000 (UTC) Received: from Gerda (p57b9d560.dip0.t-ipconnect.de [87.185.213.96]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4RHc216BVjzMm5T for ; Fri, 4 Aug 2023 19:57:26 +0000 (UTC) From: ASSI To: binutils@sourceware.org Subject: Re: GNU Binutils 2.41 release References: <87bkfta1mf.fsf@redhat.com> Date: Fri, 04 Aug 2023 21:57:19 +0200 In-Reply-To: <87bkfta1mf.fsf@redhat.com> (Nick Clifton via Binutils's message of "Sun, 30 Jul 2023 15:57:12 +0100") Message-ID: <87350ytwbk.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate: clean X-purgate-size: 1511 X-purgate-ID: 155817::1691179049-66FFE4EC-48C2A8BD/0/0 X-Spam-Status: No, score=-3029.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Nick Clifton via Binutils writes: > We are pleased to announce that version 2.41 of the GNU Binutils project > sources have been released and are now available for download at: [=E2=80=A6] I see massive performance degradation in ld on Cygwin when linking libraries or executables with a large number of objects. For example compiling protobuf-21.12: binutils-2.39: 1420.820u 143.747s 3:20.37 780.8% 0+0k 0+0io 41531073p= f+0w binutils-2.40: 1429.088u 140.548s 3:18.48 790.8% 0+0k 0+0io 41615637p= f+0w binutils-2.41: 1496.555u 524.457s 10:07.31 332.7% 0+0k 0+0io 41570112p= f+0w The linking step alone: binutils-2.39: 14.212u 2.614s 0:20.54 81.8% 0+0k 0+0io 1909884pf= +0w binutils-2.40: 13.371u 0.839s 0:20.46 69.4% 0+0k 0+0io 1910885pf= +0w binutils-2.41: 85.507u 373.960s 7:55.39 96.6% 0+0k 0+0io 1905021pf= +0w I have another much larger application where the linking went from seconds to over an hour. The fact that a lot of that extra time is spent in system might provide a clue for finding the culprit. BUt there's extra time in user as well and it seems to scale superlinearly with the number of objects. It's possible that objdump performance has also suffered, I've not yet checked this in detail. Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds