Re: remap the .text segment into huge pages at run time - Mailing list pgsql-hackers

From John Naylor
Subject Re: remap the .text segment into huge pages at run time
Date
Msg-id CAFBsxsHFBBpRu8g4gDoXFYiRvmFZCAY+jGL=uzp3VwuKF4rqvQ@mail.gmail.com
Whole thread Raw
In response to Re: remap the .text segment into huge pages at run time  (Andres Freund <andres@anarazel.de>)
Responses Re: remap the .text segment into huge pages at run time
List pgsql-hackers

On Wed, Jun 21, 2023 at 12:46 AM Andres Freund <andres@anarazel.de> wrote:
>
> Hi,
>
> On 2023-06-20 10:29:41 -0700, Andres Freund wrote:
> > On 2023-06-20 10:23:14 +0700, John Naylor wrote:
> > > Here's a start at that, trying with postmaster only. Unfortunately, I get
> > > "MADV_COLLAPSE failed: Invalid argument".
> >
> > I also see that. But depending on the steps, I also see
> >   MADV_COLLAPSE failed: Resource temporarily unavailable
> >
> > I suspect there's some kernel issue. I'll try to ping somebody.
>
> Which kernel version are you using? It looks like the issue I am hitting might
> be specific to the in-development 6.4 kernel.

(Fedora 38) uname -r shows 

6.3.7-200.fc38.x86_64

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Consistent coding for the naming of LR workers
Next
From: Masahiko Sawada
Date:
Subject: Re: Skip collecting decoded changes of already-aborted transactions