Hoi, Admittedly I don't know much about this, but there is an optionset in startup.conf that describes the page-size:
memory { main-heap-size 1536M main-heap-page-size default-hugepage } Have you tried setting that explicitly to main-heap-page-size 1G to match your kernel's default_hugepagesz flag ? 'page-size' makes an appearance in several startup.conf stanza's. May be worth double checking. groet, Pim On Mon, Sep 20, 2021 at 6:10 PM Mohsen Meamarian <meamarian.moh...@gmail.com> wrote: > Hi friends, > > I went through /etc/sysctl.d/80-vpp.conf file and found options only for > huge page of size 2M. when i config 1Gb hugepage in linux grub, vpp didn't > start. I get this error : > > vpp[12278]: /usr/bin/vpp[12278]: clib_sysfs_read: open > `/sys/devices/system/node/node0/hugepages/hugepages-2048kB/free_hugepages': > No such file or directory > > /usr/bin/vpp[12278]: clib_sysfs_read: open > `/sys/devices/system/node/node1/hugepages/hugepages-2048kB/free_hugepages': > No such file or directory > > > it seems vpp still requests for 2Mb hugepage. do you know how can I set > 1Gb hugepage for vpp using? > > my grub setting : > > # /etc/default/grub > GRUB_CMDLINE_LINUX="default_hugepagesz=1G hugepagesz=1G hugepages=96" > > > Best regards, > Mohsen Memariyan > > > > -- Pim van Pelt <p...@ipng.nl> PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20165): https://lists.fd.io/g/vpp-dev/message/20165 Mute This Topic: https://lists.fd.io/mt/85744775/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-