Setting Affinity for all Virtual Systems (fw ctl affinity -s -d -fwkall)
Use fw ctl affinity -s -d -fwkall to assign the specified number of CPU cores to all Virtual Systems at one time.
Effect on Multi-queue settings for ixgbe interfaces
The use of this command to change the number of cores assigned to Virtual Systems, changes the number of cores available for interface . Conversely, when you change the number of cores assigned to interface queues, you also change the number of cores assigned to Virtual Systems.
For example, if your SGMs have 16 cores, and you assign 9 cores to Virtual Systems, the remaining 7 cores are available to the interfaces.
Syntax
> fw ctl affinity -s -d -fwkall < cores>
Parameter
|
Description
|
-s -d
|
Set affinity for a VSX environment.
|
-fwkall < cores>
|
Defines the number of cores assigned to all Virtual Systems.
|
Example
This example assigns three cores to Firewall instances for all Virtual Systems.
> fw ctl affinity -s -d -fwkall 3
VDevice 0-2 : CPU 0 1 2 - set successfully
|
Note - You can run this command from the VS0 context only.
|
|