Configuring CPU affinity on a data plane interface
By default, the vRouter assigns a CPU to a dataplane interface in a round-robin manner. The following example provides a configuration of CPU affinity on a data plane interface by using system interface dataplane <id> cpu-affinity <cpu-list>.
Step | Command |
---|---|
Assign the CPU ID for affinity on a data plane interface. For the CPU ID, enter its number, a range of numbers separated by a hyphen or a comma-separated list. |
|
Commit the change. |
|
Show the configuration. |
|
If you configure a limited number of CPUs, the number of receive queues are reduced. If you configure a CPU that does not exist or is not defined as used for the data plane, then a message is logged and the interface does not start.