On Wed, 23 Oct 2024 17:51:28 +0100 David Aldrich <david.aldrich.n...@gmail.com> wrote:
> I guess it is because the huge pages are not mounted. Is mounting > required if using kernel parameters to specify the sizes? > > On Wed, Oct 23, 2024 at 5:47 PM David Aldrich > <david.aldrich.n...@gmail.com> wrote: > > > > On Wed, Oct 23, 2024 at 4:39 PM Stephen Hemminger > > <step...@networkplumber.org> wrote: > > > > > > On Wed, 23 Oct 2024 16:04:06 +0100 > > > David Aldrich <david.aldrich.n...@gmail.com> wrote: > > > > > > > Hi, we are running on Ubuntu 24.04. The kernel parameters include: > > > > > > > > default_hugepagesz=1G hugepagesz=1G hugepages=25 hugepagesz=2M > > > > hugepages=1024 > > > > > > > > > > Maybe mixing hugepage sizes can cause confusion? > > > > > > Did you try using dpdk-hugepages script? > > > > Thanks. The script shows: > > > > $ dpdk-hugepages.py -s > > Node Pages Size Total > > 0 1024 2Mb 2Gb > > 0 25 1Gb 25Gb > > > > So that looks correct. The DPDK uses the mounted huge pages to find/use them. https://edc.intel.com/content/www/us/en/design/products/ethernet/config-guide-e810-dpdk/hugepages-setup/