Technical data
Optimizing VSX
Check Point VSX Administration Guide NGX R67 | 152
Assigning Priorities to Virtual Systems
Assigning Virtual System priorities requires editing the Resource Control configuration file
$FWDIR/conf/resctrl on the VSX gateway or on each cluster member. The following information
appears in the configuration file:
Resource Control Monitor default setting (enabled/disabled). This if
Resource Control Enforcer default setting (enabled/disabled)
Manually assigned Virtual System weight factors. Virtual Systems using the default weight factor (10) do
not appear in the configuration file.
A sample configuration file appears below:
#file format:
#first line must be "monitoring enabled" or "monitoring disabled"
#second line must be "enforcement enabled" or "enforcement
disabled"
#rest of the lines should contain weights for the virtual systems
where
#weight varies between 1 and 100
#<vsid> <weight>
#For example:
#8 40
monitoring enabled
enforcement enabled
2 25
3 40
4 15
To manually assign Virtual System priorities:
1. Open the $FWDIR/conf/resctrl file using a text editor.
2. Change the monitoring and enforcement default setting to enabled. This ensures that the Resource
Control enforcer is active by default whenever the VSX Gateway or cluster member is rebooted.
3. For each Virtual System, enter its Virtual System ID (vsid) followed by a space and its weight factor (an
integer between 1 and 100 inclusive). Each Virtual System must appear on a separate line, as illustrated
in the above example.
4. Save and close the configuration file.
5. Execute the vsx resctrl start command.
6. Execute the vsx resctrl stat command to verify the configuration.
Monitoring CPU Resource Utilization
You can view real time statistical information about CPU resource utilization. To do so, execute the vsx
resctrl stat command. A screen similar to the following appears.