From nobody Tue Nov 21 16:26:52 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 4SZVBj1FPXz51tl7 for ; Tue, 21 Nov 2023 16:26:53 +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 4SZVBj0DSXz4XfR for ; Tue, 21 Nov 2023 16:26:53 +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=1700584013; 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=iRCq5Ixp5Rya4ugHCl55ht2H73thpU2DOxX0QCmlb9k=; b=qqu+GQBbww/4OwvHWHOlxXSAsu0yZwxAW7NRUy6Av1JcE/XgfvGuF058pvllLlLWbTIBu5 uxt1nNyO7NQaErvebzlUoXr8V8b6xRAUx0GBvcTKrKRsdBFSgoon+3EecxwnqolGJ6zRDZ abaGsukHYDIGqHOxFvaTBxnd6IUpghjE9s1k9Wb50sq68puzltRlpLDpk6Rh2vSEf43Wec 2KkPOW2tGCOST6kwUCVJT/p8Inr84yECYVompdKcBWA+iZQuGWUq7aroxCSIOt8qS7yMRI d64LBccbI702q4dzHxclW2s+OiJ/bEz42udZ5X1a6gRDvJFttvLq3I8kVKmGHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700584013; a=rsa-sha256; cv=none; b=YLiNa5GJlu/5FQBGHPC0reTIVq7JCjd5U2b5RiF3kfu4+eD0QAMZ+Vi//qRyWQdwSL6JdM o0Ydz2d7NkqmL2O77ycZQoozEpvm1/Qw35I08M+0WW65gV+ELYLKNrcVyCOwXayF7YCnPs dnGoNoHBhUzsHWahtmEGNk1gt2jTB4XochQXDJMjVmvepbofI5kUEVZOGUM6HhlJ3o+qJG dL/7pyuRsVVpuj07vve1JX2QWr4eRJmBzDLQOGMrCSPgL1lXCHLPFI13Ew+sEAkXw+X2qj G1NIToQRJSPuS8/7uv7v9smw7WdZz7wakv6CYtrO39GeIHPRjy78QruKcqL+aQ== 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 4SZVBh6PglzjCg for ; Tue, 21 Nov 2023 16:26:52 +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 3ALGQq4W023504 for ; Tue, 21 Nov 2023 16:26:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ALGQqA3023503 for threads@FreeBSD.org; Tue, 21 Nov 2023 16:26:52 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 270785] Performance and power efficiency regression due to pthread_cond_timedwait() changes Date: Tue, 21 Nov 2023 16:26:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: performance, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bllcha013@myuct.ac.za X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: threads@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270785 bllcha013@myuct.ac.za changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED --- Comment #20 from bllcha013@myuct.ac.za --- FreeBSD 14.0-RELEASE includes the LIBPTHREAD_UMTX_MIN_TIMEOUT per-process tunable, and setting it like LIBPTHREAD_UMTX_MIN_TIMEOUT=3D10000000 before = the java command to start a Minecraft server for example, greatly improves power efficiency. It is working great now. Thank you for this, and thank you to everyone working on FreeBSD. --=20 You are receiving this mail because: You are the assignee for the bug.=