Re: [vpp-dev] query on hugepages usage in VPP

2017-09-06 Thread Balaji Kn
Hi Damjan, I was able to create 4k VRF's with increase in heap memory size to 4G. Thanks for the help. Regards, Balaji On Wed, Sep 6, 2017 at 9:01 PM, Damjan Marion (damarion) wrote: > yes, you can also try to execute “show memory verbose” before the failing > one to see the stats… > > On 6 Se

Re: [vpp-dev] query on hugepages usage in VPP

2017-09-06 Thread Damjan Marion (damarion)
yes, you can also try to execute “show memory verbose” before the failing one to see the stats… On 6 Sep 2017, at 17:21, Balaji Kn mailto:balaji.s...@gmail.com>> wrote: Hi Damjan, I am creating vrf's using "set interface ip table ". /dev/shm/vpe-api shared memory is unlinked. I am able to see

Re: [vpp-dev] query on hugepages usage in VPP

2017-09-06 Thread Balaji Kn
Hi Damjan, I am creating vrf's using "*set interface ip table ".* */dev/shm/vpe-api* shared memory is unlinked. I am able to see following error message on vppctl console. *exec error: Misc* After this if i execute "show int" on vppctl, all VPP configuration i did so far was lost and started wi

Re: [vpp-dev] query on hugepages usage in VPP

2017-09-06 Thread Damjan Marion (damarion)
On 6 Sep 2017, at 16:49, Balaji Kn mailto:balaji.s...@gmail.com>> wrote: Hi Damjan, I was trying to create 4k sub-interfaces for an interface and associate each sub-interface with vrf and observed a limitation in VPP 17.07 that was supporting only 874 VRFs and shared memory was unlinked for 8

Re: [vpp-dev] query on hugepages usage in VPP

2017-09-06 Thread Balaji Kn
Hi Damjan, I was trying to create 4k sub-interfaces for an interface and associate each sub-interface with vrf and observed a limitation in VPP 17.07 that was supporting only 874 VRFs and shared memory was unlinked for 875th VRF. I felt this might be because of shortage of heap memory used in VPP

Re: [vpp-dev] query on hugepages usage in VPP

2017-09-06 Thread Damjan Marion (damarion)
why do you need so much memory? Currently, for default number of buffers (16K per socket) VPP needs around 40MB of hugepage memory so allocating 1G will be huge waste of memory…. Thanks, Damjan On 5 Sep 2017, at 11:15, Balaji Kn mailto:balaji.s...@gmail.com>> wrote: Hello, Can you help me o

Re: [vpp-dev] query on hugepages usage in VPP

2017-09-05 Thread Balaji Kn
Hello, Can you help me on below query related to 1G huge pages usage in VPP. Regards, Balaji On Thu, Aug 31, 2017 at 5:19 PM, Balaji Kn wrote: > Hello, > > I am using *v17.07*. I am trying to configure huge page size as 1GB and > reserve 16 huge pages for VPP. > I went through /etc/sysctl.d/8

[vpp-dev] query on hugepages usage in VPP

2017-08-31 Thread Balaji Kn
Hello, I am using *v17.07*. I am trying to configure huge page size as 1GB and reserve 16 huge pages for VPP. I went through /etc/sysctl.d/80-vpp.conf file and found options only for huge page of size 2M. *output of vpp-conf file.* .# Number of 2MB hugepages desired vm.nr_hugepages=1024 # Must b