Re: Identify huge pages accessibility using madvise

2024-11-12 Thread Peter Eisentraut
On 08.11.24 09:54, Dmitry Dolgov wrote: Looks like there is a plot twist. After talking to Gabriele off list and testing on an EKS, I've discovered that since 5.7 Linux kernel supports hugetlb reservation via hugetlbfs [1]. That means that together with the original limitation at page fault time

Re: Identify huge pages accessibility using madvise

2024-11-08 Thread Dmitry Dolgov
> On Thu, Sep 26, 2024 at 08:46:17AM GMT, Dmitry Dolgov wrote: > > On Thu, Sep 26, 2024 at 07:57:12AM GMT, Gabriele Bartolini wrote: > > Hi Dmitry, > > > > I've been attempting to replicate this issue directly in Kubernetes, but I > > haven't been successful so far. I've been using EKS nodes, and i

Re: Identify huge pages accessibility using madvise

2024-09-25 Thread Dmitry Dolgov
> On Thu, Sep 26, 2024 at 07:57:12AM GMT, Gabriele Bartolini wrote: > Hi Dmitry, > > I've been attempting to replicate this issue directly in Kubernetes, but I > haven't been successful so far. I've been using EKS nodes, and it seems > that they all run cgroup v2 now. Do you have anything that coul

Re: Identify huge pages accessibility using madvise

2024-09-25 Thread Gabriele Bartolini
Hi Dmitry, I've been attempting to replicate this issue directly in Kubernetes, but I haven't been successful so far. I've been using EKS nodes, and it seems that they all run cgroup v2 now. Do you have anything that could help me get started on this more quickly? Thanks, Gabriele On Sat, 13 Apr

Identify huge pages accessibility using madvise

2024-04-13 Thread Dmitry Dolgov
Hi, I would like to propose a small patch to address an annoying issue with the way how PostgreSQL does fallback in case if "huge_pages = try" is set. Here is how the problem looks like: * PostgreSQL is starting on a machine with some huge pages available * It tries to identify that fact and doe