[Bug 270785] Performance and power efficiency regression due to pthread_cond_timedwait() changes

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Apr 2023 17:18:48 UTC
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.