From: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Remove or weaken hints about "effective resolution of sleep delays is 10 ms"? |
Date: | 2016-02-16 02:09:16 |
Message-ID: | CAHyXU0zibW2iPrt6YgUT4Kv0Z5qvf+OpBVOUi4tNR_iP11Utgw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Feb 10, 2016 at 4:15 PM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> Hi,
>
> Several places in our docs have blurbs like
>> Note that on many systems, the effective resolution of sleep delays is
>> 10 milliseconds; setting <varname>wal_writer_delay</> to a value that
>> is not a multiple of 10 might have the same results as setting it to
>> the next higher multiple of 10.
> 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"?
I guess we should probably explain what is actually happening, namely
that the precise sleep duration is delegated to the operating system
scheduler which may cause the process to sleep longer than requested.
merlin
From | Date | Subject | |
---|---|---|---|
Next Message | Chapman Flack | 2016-02-16 02:12:36 | Re: A bit of PG archeology uncovers an interesting Linux/Unix factoid |
Previous Message | Corey Huinker | 2016-02-16 02:07:57 | Re: Declarative partitioning |