From nobody Sun May 05 00:18:16 2024 X-Original-To: threads@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 4VX4rS6dZMz5JwjQ for ; Sun, 05 May 2024 00:18:16 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VX4rS5W4Cz4hZ2 for ; Sun, 5 May 2024 00:18:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714868296; a=rsa-sha256; cv=none; b=TCIRin4GY8L3dJTdlGBDNljYah5bkhiCxLzDNcfs5LONql+Th2a3NI/9iHnUeiKkItJ9rd hP2amwSMrs+wYrgfefGnIBonvyCqDWdhGWQmX4YbrWgvtxUItugZymwHYQN1pF/iUUZ8JR +i+u/iOQZVa44CsRSTOMPLz4mCQEnOF4+rgZNIXPl1Y0iWKCxvwDmhtyLpPr1/Feucmti+ HR95HOQMV7GHvZ1rgsJrEIs7yB5xv0Td/h823ntJrE/hWNd4IESRFhGmXpyWrcNvjhbQQz S8Gu7rJwV9qYvAU88B/lsnq6d4SB+YSm9WygRGJh1GcMz3ZxnDlb6Nrycuc/Zw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714868296; 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=k0Q0BFYzCLHl2it27JFkJhV9ZGOblp1hIH++uPbVzSI=; b=I86H9vqoMN1w2L2+irNR/J37S1ABYrNASOjqjkJF0ZQZO9KJpc26QC5zHYPL8n2GbnJ+b6 mOmqc3zseXvolBZ18bZFaZInPRZkakl9Q7ZsLwgTyp9tNfiRTIG80EyeE5nbWliVoBGFUn jlI/IWM5CrUzaX8HLMCziINcCBoI48/sDFlrjHOgB7ERSe0tglbaaJ8Vh+kO+gXlvn2T4a n8xUL+4RhV/NockMJgYX/L93OOJn1+/Pvu1i6ksJz8b0il5kVqle2jE/h3nfY8vWdEkPaZ Fu1z3PapYVuykt+Y497nBtVhvN+9BQxYSh3MOXDL8EO/DERNGv5Uk9u9n4zBhA== 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 4VX4rS53rqzrZn for ; Sun, 5 May 2024 00:18:16 +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 4450IGsp040425 for ; Sun, 5 May 2024 00:18:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4450IGSY040420 for threads@FreeBSD.org; Sun, 5 May 2024 00:18:16 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: threads@FreeBSD.org Subject: [Bug 278703] Forking on 13.3 restricting to same CPU core Date: Sun, 05 May 2024 00:18:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: threads X-Bugzilla-Version: 13.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cbl@cbl.us X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: threads@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: Threading List-Archive: https://lists.freebsd.org/archives/freebsd-threads List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-threads@freebsd.org Sender: owner-freebsd-threads@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278703 --- Comment #5 from cbl@cbl.us --- More troubleshooting..=20 This issue is occurring on /usr/lib/libomp.so with llvm17, which is the def= ault with FreeBSD 13.3. I installed a few other llvm's via pkg (and even compiled llvm-devel 19.x) = to test things. When I copy over the libomp.so from llvm14 or llvm15 into /usr/lib/ the application starts using all the CPU cores as expected. So something changed in llvm16 and later that is causing our linked application (ImageMagick) to limit itself to a single cpu core. Since FreeBSD 13.2 was still using llvm14 by default, the problem was not occurring then. llvm14-14.0.6_5 - WORKS llvm15-15.0.7_10 - WORKS llvm16-16.0.6_10 - BROKE llvm17-17.0.6 (13.3 default) - BROKE llvm19-19.0.d20240426 - BROKE I'd welcome input on what to try next, or what to report to the LLVM group = to fix the issue. --=20 You are receiving this mail because: You are the assignee for the bug.=