Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Enabling Performance Mode or Lite Mode

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.

    Note:

    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.

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 at the [edit chassis fpc 0] hierarchy level.

You can explicitly enable performance mode by including the performance-mode statement at the [edit chassis fpc 0] hierarchy level.

Note:

We recommend that you enable hyperthreading in BIOS. We recommend that you verify the process with the vendor because different systems have different methods to enable hyperthreading.

Starting with Junos OS Release 17.3R1, the show chassis hardware command displays the mode in which vMX is running in the part number field for the FPC. RIOT-PERF indicates performance mode and RIOT-LITE indicates lite mode. For example, this output indicates that vMX is running in lite mode.

Table 1 highlights some of the challenging features which are supported in the Fast Path and some which are not supported. Features which are not supported in the Fast Path still work but they get less than 100K PPS per worker vCPU.

Table 1: Features Support in Fast Path

Features

Support in Fast Path

Pseudowire Headend Termination (PWHT) (Layer 2 VPN)

Not Supported

L2 circuit

Not Supported

Ethernet VPN (EVPN)

Not Supported

Virtual Extensible LAN protocol (VXLAN)

Not Supported

MPLS-over-UDP (MPLSoUDP)

Not Supported

Inline J-flow

Supported

Pseudowire Headend Termination (PWHT) (Layer 3 VPN and IP )

Supported

GRE

Supported

logical tunnel interfaces (lt)

Supported

Release History Table
Release
Description
15.1F6
Starting in Junos OS Release 15.1F6 and later releases performance mode is enabled implicitly by default.