Date: Wed, 12 Apr 2023 18:31:56 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270785] Performance and power efficiency regression due to pthread_cond_timedwait() changes Message-ID: <bug-270785-227-h6L9IEieTI@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-270785-227@https.bugs.freebsd.org/bugzilla/> References: <bug-270785-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270785 --- Comment #1 from Alexander Motin <mav@FreeBSD.org> --- Depending on what the applicaiton/java actually does, I can easily believe = that behavior could change after the mentioned commit, but it is not necessary a= n OS bug, it may be an application bug or a lack of optimization. Previous code always waited for at least 2ms in pthread_cond_timedwait(), no matter what timeout is requested, while after the patch it may wake up much sooner, jus= t in few microseconds. It may be that application really requests wake ups that often, but previously it was not properly honored. For better understandin= g it would be good to collect information about the actual system calls and their arguments before and after, either with truss or may be dtrace, etc. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270785-227-h6L9IEieTI>