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 
<balaji.s...@gmail.com<mailto:balaji.s...@gmail.com>> wrote:

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 
<balaji.s...@gmail.com<mailto:balaji.s...@gmail.com>> 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/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 be greater than or equal to (2 * vm.nr_hugepages).
vm.max_map_count=3096

# All groups allowed to access hugepages
vm.hugetlb_shm_group=0

# Shared Memory Max must be greator or equal to the total size of hugepages.
# For 2MB pages, TotalHugepageSize = vm.nr_hugepages * 2 * 1024 * 1024
# If the existing kernel.shmmax setting  (cat /sys/proc/kernel/shmmax)
# is greater than the calculated TotalHugepageSize then set this parameter
# to current shmmax value.
kernel.shmmax=2147483648<tel:(214)%20748-3648>

Please can you let me know configurations i need to do so that VPP runs with 
1GB huge pages.

Host OS is supporting 1GB huge pages.

Regards,
Balaji


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
https://lists.fd.io/mailman/listinfo/vpp-dev

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to