Re: Remove or weaken hints about "effective resolution of sleep delays is 10 ms"? - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Remove or weaken hints about "effective resolution of sleep delays is 10 ms"?
Date
Msg-id CAM3SWZRzc0Laqqm3xz_6BP3aoWxwqx4df6in8RverJaYpUXFPQ@mail.gmail.com
Whole thread Raw
In response to Remove or weaken hints about "effective resolution of sleep delays is 10 ms"?  (Andres Freund <andres@anarazel.de>)
Responses Re: Remove or weaken hints about "effective resolution of sleep delays is 10 ms"?
List pgsql-hackers
On Wed, Feb 10, 2016 at 2:15 PM, Andres Freund <andres@anarazel.de> wrote:
> Afaik that's not the case on any recent operating system/hardware. So
> perhaps we should just remove all of those blurbs, or just replace them
> with something like "on some older systems the effective resolution of
> sleep delays is limited to multiples of 10 milliseconds"?

Or just remove it entirely. Really, I can't see that that's likely to
matter when it does apply. Also, don't forget to do the same with
bgwriter_delay.

commit_delay doesn't have any guidance like this, where it could
certainly matter, because optimal settings are rarely greater than 10
milliseconds.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Code refactoring related to -fsanitize=use-after-scope
Next
From: Peter Geoghegan
Date:
Subject: Re: Remove or weaken hints about "effective resolution of sleep delays is 10 ms"?