vMX

Expand all | Collapse all

vMX lite mode and lower bw

Jump to Best Answer
  • 1.  vMX lite mode and lower bw

    Posted 07-13-2020 17:35

    Hi everybody,

    I have been researching how much bw vMX can support when using lite mode.

    https://www.juniper.net/documentation/en_US/vmx/information-products/pathway-pages/getting-started/vmx-gsg-vmware.pdf

    From above link:

    vMX can be configured to run in two modes depending on the use case.
    Lite mode—Needs fewer resources in terms of CPU and memory to run at lower bandwidth.
    • Performance mode—Needs higher resources in terms of CPU and memory to run at higher bandwidth.

     

    What is lower BW when using lite mode? is it 200Mbs? 300Mbs? 1Gbs?

    Thanks and have a good day!!

     

     



  • 2.  RE: vMX lite mode and lower bw

     
    Posted 07-13-2020 17:59

     

    Hi sarahr202,

     

    Greetings, As the documentations mentioned it depends like for example the Junos OS features that are configured and other factors, such as average packet size, etc so there is no fixed answer, however, you can get an idea/baseline of the variation once you add the minimum requirements for of mode in the equation:

     

    Memory

    Note:Performance mode is the default mode.

    For performance mode:

    • Minimum of 5 GB

      1 GB for VCP
      4 GB for VFP

    • Recommended of 16 GB

      4 GB for VCP
      12 GB for VFP

    For lite mode: Minimum of 3 GB

    • 1 GB for VCP

    • 2 GB for VFP

     

    You can find much more information here: https://www.juniper.net/documentation/en_US/vmx/topics/reference/general/vmx-hw-sw-minimums-vmware.html

     


    If this solves your problem, please mark this post as "Accepted Solution" so we can help others too \:)/

    Regards,

     

    Lil Dexx
    JNCIE-ENT#863, 3X JNCIP-[SP-ENT-DC], 4X JNCIA [cloud-DevOps-Junos-Design], Champions Ingenius, SSYB

     



  • 3.  RE: vMX lite mode and lower bw

    Posted 07-13-2020 20:41

    Hi sarahr202,

     

    Performance Mode: Enables vMX to run in performance mode. Performance mode needs more CPUs (check below for specifications ) and memory to run at a higher bandwidth. When you enable performance mode, make sure you have configured the proper number of vCPUs and memory for your VMs based on your use case. If you have not configured enough vCPUs, vMX runs in lite mode.

     

    Lite Mode: Enables vMX to run in lite mode and disables performance mode. Lite mode needs fewer CPUs( check below for specifications ) and memory to run at lower bandwidth.

     

    While the bandwidth varies upon how you deploy and what resources you use,  there are a few things you might need to be mindful of while choosing between the modes:

     

    1) Due to a DPDK version change in Junos OS Release 18.1R1 and later, ESXi 6.5 is the minimum version required to run the vMX router if you are operating in high-bandwidth mode (performance mode). If you are operating the vMX router in low-bandwidth (lite) mode, you can use ESXi 6.0 or ESXi 5.5.


    NOTE: For performance mode, the minimum software requirement for ESXI 6.5 is Junos OS Release 18.1R1 and later.

     

    2)  If you are running virtio interfaces in lite mode, you can use up to 96 ports. Other configurations running in performance mode support up to 23 ports.

     

    3) Starting in Junos OS Release 15.1F6 and later releases performance mode is enabled implicitly by default.

    When you enable performance mode, make sure you have configured the proper number of vCPUs (four or more VPCUs) and memory for your VMs based on your use case. 

     

    4) You can explicitly enable lite-mode. If you are using paravirtualized network interfaces such as virtio (for
    KVM) or VMXNET3 (for VMware) for lab simulation use cases, you can disable performance mode by
    including the lite-mode statement.

     

    More details below:

    https://www.juniper.net/documentation/en_US/vmx/information-products/pathway-pages/getting-started/vmx-gsg-vmware.pdf

     

    Hope this helps 🙂

     

    Please mark "Accepted Solution" if this helps you solve your query. Kudos are always appreciated!



  • 4.  RE: vMX lite mode and lower bw
    Best Answer

     
    Posted 07-14-2020 03:00

    Hello Sarah,

     

    if you are just having the minimum amount of vCPUs and memory, then the maximum bandwidth is 100 Mbps:
    https://www.juniper.net/documentation/en_US/vmx/topics/topic-map/vmx-installing-on-kvm.html#id-installing-vmx-for-different-use-cases

     

    There is no direct correlation between the mode (lite or performance) and bandwidth, the different modes just define which features you can use. The more vCPUs memory you have, the more bandwidth you can use (up to 3 Gbps, then you have to change the NIC type)