Optimizing processor utilization by disconnected scanner (disconnected scenario)
By default, CPU utilization is not limited during the scan. You can optimize the utilization by setting the CPU threshold.
Before you begin
- Starting from application update 9.2.27, the CPU threshold is defined in the setup_config.ini file.
- For application update 9.2.26 and lower, the CPU threshold is defined in the isotag_config.xml, slmtag_config.xml and sw_config.xml files.
About this task
By default, the scan can consume up to 100% of a single CPU that is available to the scanner. The higher value that you specify as the threshold, the higher is the consumption limit. For example, if you specify 75, scanner processes use the average of 75% of a single CPU that is available on the target computer.
Setting the threshold does not guarantee that CPU consumption is always below the specified value. It fluctuates around that value, sometimes exceeding it and sometimes dropping below it. Temporary peaks are expected. The CPU threshold provides the process scheduler of the operating system with information for how long to keep the scanner thread idle. The scanner does not control how the threshold is mapped to the CPU resources that are available. The assignment of resources is determined by the operating system that decides on which processor (or core) to run the scanner thread.
Setting the threshold might lengthen the time of the scan.
Procedure
- Starting from application update 9.2.27, perform the following steps.
The procedure does not apply to IBM i. For this operating system, use the procedure that is
described for older application updates.
- Change the value of the SW_SCAN_CPU_THRESHOLD_PERCENTAGE parameter in the setup_config.ini file. Provide a value between 5 and 100.
- Run the automation/configure.sh or automation\configure.bat script for the change to take effect.
- For application update 9.2.26 and lower, or if you use IBM i, perform
the following steps.