Re: Hugepage migration

2023-05-30 Thread Stephen Hemminger
On Tue, 30 May 2023 16:53:14 +0300 Baruch Even wrote: > > what kernel driver was being used for the device I/O part? Was it a UIO > > based driver or "vfio-pci"? When using vfio-pci and configuring IOMMU > > mappings, the pages mapped should be pinned by the kernel, I would have > > thought, sinc

Re: Hugepage migration

2023-05-30 Thread Baruch Even
On Tue, May 30, 2023 at 11:04 AM Bruce Richardson < bruce.richard...@intel.com> wrote: > On Sun, May 28, 2023 at 11:07:40PM +0300, Baruch Even wrote: > >Hi, > >We found an issue with newer kernels (5.13+) that are found on newer > >OSes (Ubuntu22, Rocky9, Ubuntu20 with kernel 5.15) whe

Re: Hugepage migration

2023-05-30 Thread Baruch Even
I have tested the MAP_LOCKED, it doesn't help in this case. I do intend to report to the kernel but was wondering if others have hit upon this first. On Tue, May 30, 2023 at 4:35 AM Stephen Hemminger < step...@networkplumber.org> wrote: > On Sun, 28 May 2023 23:07:40 +0300 > Baruch Even wrote: >

Re: Hugepage migration

2023-05-30 Thread Bruce Richardson
On Sun, May 28, 2023 at 11:07:40PM +0300, Baruch Even wrote: >Hi, >We found an issue with newer kernels (5.13+) that are found on newer >OSes (Ubuntu22, Rocky9, Ubuntu20 with kernel 5.15) where a 2M page that >was allocated for DPDK was migrated (moved into another physical page) >

Re: Hugepage migration

2023-05-29 Thread Stephen Hemminger
On Sun, 28 May 2023 23:07:40 +0300 Baruch Even wrote: > Hi, > > We found an issue with newer kernels (5.13+) that are found on newer OSes > (Ubuntu22, Rocky9, Ubuntu20 with kernel 5.15) where a 2M page that was > allocated for DPDK was migrated (moved into another physical page) when a > 1G page

Re: Hugepage migration

2023-05-29 Thread Stephen Hemminger
On Sun, 28 May 2023 23:07:40 +0300 Baruch Even wrote: > Hi, > > We found an issue with newer kernels (5.13+) that are found on newer OSes > (Ubuntu22, Rocky9, Ubuntu20 with kernel 5.15) where a 2M page that was > allocated for DPDK was migrated (moved into another physical page) when a > 1G page

Hugepage migration

2023-05-28 Thread Baruch Even
Hi, We found an issue with newer kernels (5.13+) that are found on newer OSes (Ubuntu22, Rocky9, Ubuntu20 with kernel 5.15) where a 2M page that was allocated for DPDK was migrated (moved into another physical page) when a 1G page was allocated. >From our reading of the kernel commits this starte