Re: remap the .text segment into huge pages at run time

From: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Subject: Re: remap the .text segment into huge pages at run time
Date: 2023-06-21 02:35:36
Message-ID: CAFBsxsHFBBpRu8g4gDoXFYiRvmFZCAY+jGL=uzp3VwuKF4rqvQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jun 21, 2023 at 12:46 AM Andres Freund <andres(at)anarazel(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2023-06-21 02:41:52 Re: Skip collecting decoded changes of already-aborted transactions
Previous Message Peter Smith 2023-06-21 02:31:46 Re: Consistent coding for the naming of LR workers