Junos OS

Expand all | Collapse all

NFX250-JDM Hugepages JUNOS Command

Jump to Best Answer
  • 1.  NFX250-JDM Hugepages JUNOS Command

    Posted 08-14-2017 13:51

    Hi,

     

    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. 


    #JUNOS
    #JDM
    #NFX250
    #HUGEPAGES


  • 2.  RE: NFX250-JDM Hugepages JUNOS Command

    Posted 08-17-2017 14:40

    Anyone 😞



  • 3.  RE: NFX250-JDM Hugepages JUNOS Command
    Best Answer

     
    Posted 08-17-2017 22:55

    Hi Carlos,

     

    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

     

    HTH

     

    -Shailesh



  • 4.  RE: NFX250-JDM Hugepages JUNOS Command

    Posted 08-19-2017 09:23

    This is what i need, thanks for your help.



  • 5.  RE: NFX250-JDM Hugepages JUNOS Command

    Posted 08-17-2018 08:30

    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.

     

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB32339

     

    One ramification of applying too many hugepages, is that you could run into memory allocation issues.