Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

system default dataplane cpu-affinity <cpu-list>

Assigns a range or list of CPUs to the affinity on the default data plane.

set system default dataplane cpu-affinity cpu-list
delete system default dataplane [ cpu-affinity [ cpu-list ] ]
show system default dataplane [ cpu-affinity ]
cpu-list
The CPU IDs assigned to the affinity. Enter a range of numbers separated by a hyphen or a comma-separated list. The first CPU is 0. At least two CPUs must be assigned.

Configuration mode


system {
    default dataplane {
        cpu-affinity cpu-list
    } 
}
Note: Misconfiguration of CPU affinity may adversely affect the performance of the vRouter.

By default, all CPUs are used.

To display the number of CPUs available for the data plane, use show hardware cpu.

The CPU ID does not have to exist in the system where the data plane is running. For example, if you configure cpu-affinity with a range of 0-3 and the data plane is running on a two CPU system, then the data plane only uses CPUs 0 and 1 and silently ignores the other CPUs in the affinity.

If cpu-affinity is out of the range of the available CPUs in the data plane environment, for example, if you configure cpu-affinity with a range of 4-7 on a two CPU system, then an ERROR priority system message is logged and the data plane is not started.

Use the set form of this command to define the CPU affinity list for the default data plane.

Use the delete form of this command to remove CPU affinity list for the default data plane.

Use the show form of this command to view the CPU affinity list for the default data plane.