Statement introduced in Junos OS Release 15.1F4 and 16.1R1 for vMX routers.
number-of-ucode-workers option introduced in Junos OS Release 15.1F6 and 16.2R1 for vMX routers.
(vMX routers only) Enables vMX to run in performance mode. Performance mode needs more vCPUs and memory to run at 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.
Starting with Junos OS Release 15.1F6, performance mode is enabled by default for vMX.
The FPC reboots if you change this configuration.
You can tune performance mode for unicast traffic by changing the number of Workers dedicated to processing multicast and control traffic. Starting with Junos OS Release 17.2R1, you do not need to specify dedicated Workers for processing multicast traffic. The default specifies that all available Workers are used to process all traffic.
The number of dedicated Workers specified in relation to the number of available Workers results in the following behavior:
If the number of dedicated Workers is greater than or equal to the number of available Workers, then all available Workers are used to process all traffic.
If the number of dedicated Workers is less than the number of available Workers, then the first set of available Workers (equal to the specified number of dedicated Workers) is used to process multicast and control traffic while the remaining available Workers are used to process flow cache traffic.
To disable performance mode, enable lite mode by including the lite-mode statement at the [edit chassis fpc 0] hierarchy level.
Range: 0 through 15
Default: 0 specifies that all available Workers are used to process all traffic.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.