Re: [vpp-dev] config 1G hugepage

2021-09-24 Thread Mohsen Meamarian
Hi, Thanks, is there a way to increase the tx/rx descriptor, i see this for 1G and 10G interface, both have a 4096 max: rx: queues 1 (max 192), desc 1024 (min 64 max 4096 align 32) tx: queues 38 (max 192), desc 1024 (min 64 max 4096 align 32) rx: queues 1 (max 8), desc 1024 (min 32 max 4096

Re: [vpp-dev] config 1G hugepage

2021-09-22 Thread Damjan Marion via lists.fd.io
With running VPP you can do: $ grep huge /proc/$(pgrep vpp)/numa_maps 10 default file=/memfd:buffers-numa-0\040(deleted) huge dirty=19 N0=19 kernelpagesize_kB=2048 100260 default file=/memfd:buffers-numa-1\040(deleted) huge dirty=19 N1=19 kernelpagesize_kB=2048 1004c0 default fi

Re: [vpp-dev] config 1G hugepage

2021-09-21 Thread Pim van Pelt
Hoi Mohsen, I'm probably not the right person to answer :) but in a previous post ( https://lists.fd.io/g/vpp-dev/message/19643) the semantics of hugepages came up, from there (relaying what people smarter than I have answered) - VPP will claim the hugepage on startup, so it'll reserve them for it

Re: [vpp-dev] config 1G hugepage

2021-09-21 Thread Mohsen Meamarian
Hi, Thanks, Is there a way to make sure how many Hugespages are ready to Vpp using? Immediately after Start Vpp, I open the "/ run / vpp / hugepages " file but it is empty. Is the VPP mechanism to occupy the Hugepage if needed or does Vpp reserve it for itself from the beginning? -=-=-=-=-=-=-=

Re: [vpp-dev] config 1G hugepage

2021-09-20 Thread Pim van Pelt
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_hugepa