Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C7AF4@algol.sollentuna.se
Whole thread Raw
Responses Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance
List pgsql-hackers
> > This patch passes regression and demonstrates the expected
> speedup on
> > my machine.
> >
>
> Looks good from here:
>     - several rounds of regression test
>     - psql -f set_time_out.sql
>     - pg_ctl signal sending test
>     - psql deadlock test
>
> Is there any way to test socket?

Send the backend a signal when it's blocking for socket input (waiting
for a user command in a psql session for example), and see that it's
delivered. Hitting hte postmaster will test the select() path, and
hitting a backend will test the recv() path, IIRC.

//Magnus


pgsql-hackers by date:

Previous
From: Andrew - Supernews
Date:
Subject: Re: Differences in UTF8 between 8.0 and 8.1
Next
From: Simon Riggs
Date:
Subject: Re: On externals sorts and other IO bottlenecks in