From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7AA503861884; Wed, 26 Aug 2020 12:23:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7AA503861884 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598444627; bh=sBOWIN8iqgJy0qBaIcsfX6/jC5mWQxnJ6/byHe8ktNM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BSg0HACSYvaJYXQLfPeBlnWdyM+KD16/Ktb5by6O4giX4mJxjFNVg08B2f/t4GSTe TPVR1tTaIbxsaH9Kq8v3Z+VMv+m4ZLmxmmwO3sELy22MbBRe58k8HmM1zwjjbWLDmf ONzmqyxDgAaNZob20SJa6V3HCGiQ+RJjOAi9do6c= From: "matz at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/96794] --with-build-config=bootstrap-lto-lean with --enable-link-mutex leads to poor LTRANS utilization Date: Wed, 26 Aug 2020 12:23:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matz at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Wed, 26 Aug 2020 12:23:47 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96794 --- Comment #9 from Michael Matz --- We could also punt: when enable-link-mutex we could artificially up the job number for make to account for the waiting link steps. I.e. when normally = -jN was given, the link step could be done under -j(N + nr-language - 1). That would lead to the nr-of-languages-1 job server tokens taken up by the sleeping link steps to = be accounted for, and hence the (single running) link step still be able to us= e N threads/processes in parallel.=