Re: Performance degradation in commit ac1d794

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Васильев Дмитрий <d(dot)vasilyev(at)postgrespro(dot)ru>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Performance degradation in commit ac1d794
Date: 2016-03-21 05:56:43
Message-ID: CAA4eK1+hU+eF3U1NY-jyJV6JZb-CC5e3TiRSTn5kkN0aL3LSFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 21, 2016 at 10:26 AM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
wrote:
>
> On Mon, Mar 21, 2016 at 10:21 AM, Andres Freund <andres(at)anarazel(dot)de>
wrote:
>>
>>
>>
>> On March 21, 2016 5:12:38 AM GMT+01:00, Amit Kapila <
amit(dot)kapila16(at)gmail(dot)com> wrote:
>>
>> >The article pointed by you justifies that the way ResetEvent is done by
>> >patch is correct. I am not sure, but you can weigh, if there is a need
>> >of
>> >comment so that if we want enhance this part of code (or want to write
>> >something similar) in future, we don't need to rediscover this fact.
>>
>> I've added a reference in a comment.
>>
>> Did you have a chance of running the patched versions on windows?
>>
>
> I am planning to do it in next few hours.
>

With 0002-Introduce-new-WaitEventSet-API, initdb is successful, but server
start leads to below problem:

LOG: database system was shut down at 2016-03-21 11:17:13 IST
LOG: MultiXact member wraparound protections are now enabled
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
FATAL: failed to set up event for socket: error code 10022
LOG: statistics collector process (PID 668) exited with exit code 1
LOG: autovacuum launcher process (PID 3868) was terminated by exception
0xC0000005
HINT: See C include file "ntstatus.h" for a description of the hexadecimal
value.

I haven't investigated the problem still.

With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2016-03-21 06:01:28 Re: Using quicksort for every external sort run
Previous Message Petr Jelinek 2016-03-21 05:38:15 Re: VS 2015 support in src/tools/msvc