Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2023 17:18:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        threads@FreeBSD.org
Subject:   [Bug 270785] Performance and power efficiency regression due to pthread_cond_timedwait() changes
Message-ID:  <bug-270785-13406-cxrFst8N8k@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-270785-13406@https.bugs.freebsd.org/bugzilla/>
References:  <bug-270785-13406@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270785

--- Comment #8 from bllcha013@myuct.ac.za ---
(In reply to Alexander Motin from comment #7)

A minimal sleep time tunable would be helpful as Linux seems to have something
similar(ish), in /proc/<pid>/timerslack_ns which I tested and confirmed to
help.

I think the ultimate solution would be for Mojang to adjust Minecraft server so
that it doesn't call for such short sleep times, however, that bug report has
been open for a long time (along with a few others) and the solution was
basically "use /proc/<pid>/timerslack_ns".

I tried to open a bug with Mojang for it hoping that they will try and fix it
this time, however, their bug reporting platform refuses to allow me to create
an account at this time for some reason. I'll try again soon.

In any case, would a tunable for this be at all feasible?

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270785-13406-cxrFst8N8k>