From nobody Tue Jun 27 01:32:49 2023 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 4QqnJx6TmCz4k7Vc for ; Tue, 27 Jun 2023 01:32:49 +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 4QqnJx1KvJz3MY8 for ; Tue, 27 Jun 2023 01:32:49 +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=1687829569; 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=kXJ9IzW4LD5Bw+eGBlo0i0A8foKvSTbsOhV3Y2gjN4M=; b=FpG4V77hxcg8wgZvjRyxNwNk3gQJSLC43X/JV42WnEBjoY5yBxK6H612ODfOC8q1FfhuVw bFSPeNChH5mBZUFPFuffF0re2LcdVmh9aK513XFCyisdHLD2aVdYHLT8cwp3fIVviknmnX hFa4h6tblbuO8MVFjdRzVVpHMvfD7xoGD6iqd8kr+xx5wvkkr9AhY/Twuw9pTpzOJWOo4s sa33RX5t6HP078c8cT0WARIPBkY7cHdwcmSgCXz9s/UTWhV58Z3UW72sOzbTqNLvsLYHeg 01Ih2sLQos1ue8StZ2WZE+q0vUaZ9l1oSEwWKjaZPZQIxyetvhx//4YEcopZsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687829569; a=rsa-sha256; cv=none; b=qAoufDEg8s0AoIUtWXt8vDS0gk3q7damgl6jDeeFoAfI+4+DNs4UJ7IbCVNkltwsr30MAX 6VaVEkUAGkcyUTl4mNjk7nLgcnfhZS4VkkQWhMEdezZ+WWiESvpiuvRUtvkW4f8YmnF6qd dfZybLJ21RIhz48QWGpRUBcRPusNEK1E+RsQMdCOJXf4zLlJKp8iSqDMmTwoKQ2/hRuHOM nPxz+3om5YzxilNUOkv1+7PJaD0YTCSs/OBcVx8KmhRf9n+Wf2Vjhz0se1zleJwMgoHwyM Vo5g7rrFM/Yfygws4Z9dmJ/NV6dKGl+srm9aAjjm6TY4RfFz5mANfJAbWV2XJg== 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 4QqnJx0PDGzYBf for ; Tue, 27 Jun 2023 01:32:49 +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 35R1WnEB072008 for ; Tue, 27 Jun 2023 01:32:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35R1WmZK072007 for threads@FreeBSD.org; Tue, 27 Jun 2023 01:32:49 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 272238] False sharing with pthread rw and spin locks leads to severe perf degradation Date: Tue, 27 Jun 2023 01:32:49 +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: CURRENT X-Bugzilla-Keywords: performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: greg@codeconcepts.com X-Bugzilla-Status: Open 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: Sender: owner-freebsd-threads@freebsd.org X-BeenThere: freebsd-threads@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272238 --- Comment #4 from Greg Becker --- Mina, I can resubmit via github, thanks for the pointer! Mateusz, I uploaded a git-format-patch and will email it to you as well. Should I revert and go the github route, or just finish up with this one he= re on bugzilla? Agreed, nasty. I have a few more patches to improve mutex and overall performance of pthread locking. Thought I would start with something simple first and get a feel for the process. --=20 You are receiving this mail because: You are the assignee for the bug.=