Re: Remove or weaken hints about "effective resolution of sleep delays is 10 ms"?

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove or weaken hints about "effective resolution of sleep delays is 10 ms"?
Date: 2016-02-15 19:23:14
Message-ID: CAM3SWZRzc0Laqqm3xz_6BP3aoWxwqx4df6in8RverJaYpUXFPQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 10, 2016 at 2:15 PM, Andres Freund <andres(at)anarazel(dot)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

In response to

Responses

Browse pgsql-hackers by date

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