Re: [PATCH] Add native windows on arm64 support - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [PATCH] Add native windows on arm64 support
Date
Msg-id 20220324011531.va6z5pst5ygtu6zu@alap3.anarazel.de
Whole thread Raw
In response to Re: [PATCH] Add native windows on arm64 support  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: [PATCH] Add native windows on arm64 support  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
Hi,

On 2022-03-23 16:30:58 +1300, Thomas Munro wrote:
> On Tue, Mar 22, 2022 at 11:30 PM Julien Rouhaud <rjuju123@gmail.com> wrote:
> > On Tue, Mar 22, 2022 at 09:37:46AM +0000, Niyas Sait wrote:
> > > Yes, we could look into providing a build machine. Do you have any
> > > reference to what the CI system looks like now for PostgresSQL and how to
> > > add new workers etc.?
> >
> > It's all documented at
> > https://wiki.postgresql.org/wiki/PostgreSQL_Buildfarm_Howto.
> 
> It seems likely there will be more and more Windows/ARM users, so yeah
> having a machine to test that combination would be great.  I wonder if
> ASLR isn't breaking for you by good luck only...

I think we've generally seen the ASLR issue become less prominent on
windows. Whether that's because of the silent retries we added, or because
just about everyone moved to 64bit windows / PG, I don't know. I'd guess both,
with 64bit being the larger influence.

Wonder if it's worth adding some debug logging to the retry code and stop
disabling ASLR on 64bit windows... It's imo pretty crazy that we loop up to
100 times in internal_forkexec() around CreateProcess() &&
pgwin32_ReserveSharedMemoryRegion() without, as far as I can see, a single
debug message.

I don't think we can infer too much about the failure rate on windows from the
!windows EXEC_BACKEND rates. The two internal_forkexec() implementations
behaves just too differently.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [PATCH] add relation and block-level filtering to pg_waldump
Next
From: Tom Lane
Date:
Subject: Re: Fix overflow in DecodeInterval