From nobody Wed May 8 09:36:39 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 4VZ95f2gLKz5Kjwt for ; Wed, 08 May 2024 09:36:54 +0000 (UTC) (envelope-from jussi.korkala@icloud.com) Received: from qs51p00im-qukt01071502.me.com (qs51p00im-qukt01071502.me.com [17.57.155.5]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4VZ95d75k2z41dy for ; Wed, 8 May 2024 09:36:53 +0000 (UTC) (envelope-from jussi.korkala@icloud.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1715161012; bh=MffM+JGhH5Y0K9Ks0ZiZ/LsyFUkCas1ZFHsSFSHK4q8=; h=Content-Type:From:Mime-Version:Subject:Date:Message-Id:To; b=R/ac6RmG1dEq//9FiarnoZRVasGKn+zx27M5IN2vWPUDecajbx1OAYSXBUTMp39zu E4+B7QkTerJqOTGrPTamve85YVJDVM/ZzIylqU9w2UKWGoVv17ljBAMMjXZqJ5DU/P iet8MX/zTWfT7aBzcVxyPnbrNC1NLXOcfPk8xK9f+c8MN/Wb1jp2WUSQNVq9gCfd24 UZvWBAMOWqCC0VvdTYMuoJn3Abwjl/Wn1rN/om8vjxh/Yw7Z6qrp5xJsmbPLOU2P1S xpAXVVZ+o1UfQz6dVQXaqV0K3yagGvRSeCQP1QCgsJu5QE1UWfYy+8Wxi4PSqwQT+b O10HkvoWgcQjg== Received: from smtpclient.apple (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01071502.me.com (Postfix) with ESMTPSA id C4F2C668022A; Wed, 8 May 2024 09:36:51 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Jussi Korkala 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 (1.0) Subject: Re: [Bug 278845] OpenMP Patches to prevent locking, hanging and CPU limiting to single core. Date: Wed, 8 May 2024 12:36:39 +0300 Message-Id: References: Cc: threads@freebsd.org In-Reply-To: To: bugzilla-noreply@freebsd.org X-Mailer: iPhone Mail (21E236) X-Proofpoint-ORIG-GUID: 5LWHpVbKVDX6tVvE8r827F1K_nyOIqW4 X-Proofpoint-GUID: 5LWHpVbKVDX6tVvE8r827F1K_nyOIqW4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-08_05,2024-05-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 malwarescore=0 suspectscore=0 clxscore=1011 phishscore=0 adultscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2405080068 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:714, ipnet:17.57.155.0/24, country:US] X-Rspamd-Queue-Id: 4VZ95d75k2z41dy Typically the single core hangs may be in deliberately obfuscated code by Vi= xie crew we know how much those people like to waste cpu resources =C3=A1 la= GCC. Best regards, Jussi Korkala > On 8. May 2024, at 1.49, bugzilla-noreply@freebsd.org wrote: >=20 > =EF=BB=BFhttps://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278845 >=20 > Bug ID: 278845 > Summary: OpenMP Patches to prevent locking, hanging and CPU > limiting to single core. > Product: Base System > Version: 14.0-STABLE > Hardware: Any > OS: Any > Status: New > Severity: Affects Only Me > Priority: --- > Component: threads > Assignee: threads@FreeBSD.org > Reporter: cbl@cbl.us > CC: dim@FreeBSD.org >=20 > We worked with LLVM OpenMP development group to get a couple of PR fixes a= dded > to fix some big bugs we've been experiencing. >=20 > Fix#1 - Fixes forked processes from hanging: > https://github.com/llvm/llvm-project/pull/88539 > Original issue reported: https://github.com/llvm/llvm-project/issues/86684= >=20 > Fix#2 - Fixes child processes to use affinity_none. Before they were limit= ed to > using a single cpu core for all child processes. > https://github.com/llvm/llvm-project/pull/91391 > Original issue reported: https://github.com/llvm/llvm-project/issues/91098= >=20 > Fix#2 is only needed in version of llvm 16.x and later. My original issue= > shows it's not an issue in 14.x or 15.x. Since FreeBSD 14.0 and 13.3 lever= age > 16.x and 17.x, this bug was triggered when we upgraded servers to either > release. >=20 > Hoping we can get both into 14.1 in time for it's upcoming release. >=20 > -- > You are receiving this mail because: > You are the assignee for the bug.