From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DFA343860C37; Wed, 26 Aug 2020 12:35:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DFA343860C37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1598445336; bh=RidmfyfdSS49Gzdso+41f8G4JK7BdNovPCwZFyVQKKM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZmA01h66/6Z0i5yEPj7qB6xkdwONwf/j8TqJc53b82vE836vjSH2OFIK9KGuRbHQ8 BM/cBduhBG5fZBeJDuOhwlLej84iCpCNIClcjy8+RjTNIY6dgs2QjbsMxrlgpO/XuV 90fc3s9Z2YD7cOSeev6f9TewBr1w4Ggg2OBHX6LE= From: "hubicka at ucw dot cz" 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:35:36 +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: hubicka at ucw dot cz 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:35:37 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96794 --- Comment #10 from Jan Hubicka --- > We could also punt: when enable-link-mutex we could artificially up the j= ob > number for make to account for the waiting link steps. I.e. when normall= y -jN > was given, the link step could be done under -j(N + nr-language - 1). Th= at > would lead to the > nr-of-languages-1 job server tokens taken up by the sleeping link steps t= o be > accounted for, and hence the (single running) link step still be able to = use N > threads/processes in parallel. I do not think it is easy to do with current make jobserver. The toplevel jobserver opens the pipi with -jN many tokens and all other makes connect to it. It does not provide interface to return a token and re-take it unless we implement it of course. Honza >=20 > --=20 > You are receiving this mail because: > You are on the CC list for the bug.=