We have a NFX250-LS1, and we have already deploy a vSRX inside this device, but we have a issue.
One of first things we did after put root password to our JDM in NFX250 ,was set this command "set system memory hugepages page-size X page-count Y", we know that the X param could be 2 or 1024, but we don't know which are the posible values for Y.
We have tried some values an what we could note is that when the value is lower for example 8, the VNF "runs" quickly , we do not know what implications has that parameter , so we would like to know more detail about this
We have looked for examples but we did not find anything.
Here is more info https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/hugepage-allocation-nfx.html
Thanks and hope you can help us.
The page count is the memory-dependent.
For eg; if the device has 16GB of memory , system will need atleast 7-8 GB of memory..
So you reservce 8 GB for a 16GB system by aving the page-size as 1024 and page count as 8.
So you will need to do the math according to the system memory which you can check using the command;
show system visibility memory
This is what i need, thanks for your help.
One thing to keep in mind ... if you change your hugepage count, you will need to reboot, in order for the change to take effect. This is because the 1G hugepage has to be reallocated on bootup.
Additionally, we have a KB article that provides recommended values per platform on NFX250.
One ramification of applying too many hugepages, is that you could run into memory allocation issues.