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 align 8)
    tx: queues 8 (max 8), desc 1024 (min 32 max 4096 align 8)


But in maillist, i saw some mail that thay have a 10G interface with 65500
descriptor, why?


On Wed, Sep 22, 2021, 19:57 Damjan Marion <dmar...@me.com> wrote:

>
> With running VPP you can do:
>
> $ grep huge /proc/$(pgrep vpp)/numa_maps
> 1000000000 default file=/memfd:buffers-numa-0\040(deleted) huge dirty=19
> N0=19 kernelpagesize_kB=2048
> 1002600000 default file=/memfd:buffers-numa-1\040(deleted) huge dirty=19
> N1=19 kernelpagesize_kB=2048
> 1004c00000 default file=/anon_hugepage\040(deleted) huge anon=1 dirty=1
> N1=1 kernelpagesize_kB=2048
>
> 1st line - 19 2048K memfd backed  hugepages on numa 0
> 2nd line - 19 2048K memfd backed hugepages on numa 1
> 3rd line - one 2048K anonymous hugepage on numa 1
>
> first two are buffer pool memory, 3rd one is likely some physmem used by
> native driver
>
>
> If you add to startup.conf:
>
> memory {
>   main-heap-page-size 1G
> }
>
>
> $grep huge /proc/$(pgrep vpp)/numa_maps
> 1000000000 default file=/memfd:buffers-numa-0\040(deleted) huge dirty=19
> N0=19 kernelpagesize_kB=2048
> 1002600000 default file=/memfd:buffers-numa-1\040(deleted) huge dirty=19
> N1=19 kernelpagesize_kB=2048
> 1004c00000 default file=/anon_hugepage\040(deleted) huge anon=1 dirty=1
> N1=1 kernelpagesize_kB=2048
> 7fbc00000000 default file=/anon_hugepage\040(deleted) huge anon=1 dirty=1
> N1=1 kernelpagesize_kB=1048576
>
> last line is main heap allocated as single anonymous 1G hugepage.
>
> VPP is not using filesystem backed hugepages so you will not find anything
> in /var/run/huge….
>
> —
> Damjan
>
>
>
> > On 21.09.2021., at 20:11, Mohsen Meamarian <meamarian.moh...@gmail.com>
> wrote:
> >
> > 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?
> > 
> >
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20200): https://lists.fd.io/g/vpp-dev/message/20200
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to