From nobody Sat Oct 12 11:44:36 2024 X-Original-To: toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XQhVY3thjz5ZG55 for ; Sat, 12 Oct 2024 11:44:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XQhVY2pdqz4ccC for ; Sat, 12 Oct 2024 11:44:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728733477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=18f1CSTAq9+BrI+4NtgB5mrT4coEQCeT0TFueWXQzUU=; b=HWKOFZlJR6KQCuLJLKrohkOws0RD+soMPe+JqazcV3+ClfsnKV3PJyBEdeI0vuAoUPYsav 0Ygh8LmfDbqUr9HR0n2On050NOCNm71uNillVHqCXp9WvCnmhh9T0l6daac24nPHyO1EHp HGdy1QCnJlvdhBgCNw5DLhi48Y/fFN1xK7pzf9p8yLtNAnlSb3mdJA2pgUvvG4WfAPIdUo NLxvrX7Lpi9DrMK23lwEsrqQnREjMdRwrSj3cgq83vG6SwACVtRNft/5jmwsULsFa2bsdT CwqhJH5xxrvoFWBs5tGKZVnxTqZpdhQGLmcOptrZpbBoLZn7VqDJLn1U0p7nfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728733477; a=rsa-sha256; cv=none; b=tlFNGRaP06dSZHbK5DjNAzBhzoA/xdtS2NCwLq4PglRU0D5mhisd6+D4fFdVQdHWrO3e10 vKPTjvv84O79eQM8Y1l7lYsF4lUbgNmpsFQjHVsoTjQjFgCmNTTLukKHCYi6rFpa7Q2g1P 4otyIRMkQ7E9Qsw//7fRswUfQxjS8na1bemBnmx2QUV2hmIRMgobfFNwY2A85F5q4pE7m2 rWXWdTK5kUTWOZkEIjSrsqpBzH+RXha7xsDhMBzz9sO+W/+z7onPcOpmECiakXjYKd0VjR KrXSaZPodeeCcCEXQqAvZ8SV2HbrWzLyun8ANx0Puk4ljPdUnVzVDCGCEF47cQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XQhVY2HQdz1Nbc for ; Sat, 12 Oct 2024 11:44:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49CBibLN073138 for ; Sat, 12 Oct 2024 11:44:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49CBibJ1073137 for toolchain@FreeBSD.org; Sat, 12 Oct 2024 11:44:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 281765] llvm - ThinLTO never uses more than a single thread by default Date: Sat, 12 Oct 2024 11:44:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org 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: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281765 --- Comment #8 from Dimitry Andric --- (In reply to Mark Millard from comment #7) My guess is that https://github.com/llvm/llvm-project/commit/a8788de1c3f3c8c3a591bd3aae2acee= 1b43b229a ("[ELF] Cap parallel::strategy to 16 threads when --threads=3D is unspecifi= ed") is enough to restrain lld's grabbing of threads, at least in most situation= s, and we can probably revert https://cgit.freebsd.org/src/commit/?id=3D04bab189b8a54974fcd9530140e4eed6a= d137f48 ("llvm/lld: damage control threading") now. Also because the latter changes= the behavior of the llvm Support library, and thus any llvm-dependent tool that calls llvm::ThreadPoolStrategy::compute_thread_count(). --=20 You are receiving this mail because: You are the assignee for the bug.=