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

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Remove or weaken hints about "effective resolution of sleep delays is 10 ms"?
Дата
Msg-id CAM3SWZRzc0Laqqm3xz_6BP3aoWxwqx4df6in8RverJaYpUXFPQ@mail.gmail.com
обсуждение исходный текст
Ответ на Remove or weaken hints about "effective resolution of sleep delays is 10 ms"?  (Andres Freund <andres@anarazel.de>)
Ответы Re: Remove or weaken hints about "effective resolution of sleep delays is 10 ms"?  (Peter Geoghegan <pg@heroku.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Code refactoring related to -fsanitize=use-after-scope
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Remove or weaken hints about "effective resolution of sleep delays is 10 ms"?