Help needed with hugepages
Stephen Hemminger
stephen at networkplumber.org
Wed Oct 23 18:54:54 CEST 2024
On Wed, 23 Oct 2024 17:51:28 +0100
David Aldrich <david.aldrich.ntml at 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.ntml at gmail.com> wrote:
> >
> > On Wed, Oct 23, 2024 at 4:39 PM Stephen Hemminger
> > <stephen at networkplumber.org> wrote:
> > >
> > > On Wed, 23 Oct 2024 16:04:06 +0100
> > > David Aldrich <david.aldrich.ntml at 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/
More information about the users
mailing list