Agent sets the lowest thread priority (THREAD_PRIORITY_IDLE) by default, and begins background processing mode so that it can perform background work without significantly affecting activity in the foreground. The thread priority can be changed via command line (--scan-thread-priority) or registry (ScanThreadPriority) as explained below:
SVM Agents will begin background processing mode so that it can perform background work without significantly affecting activity in the foreground. By default, SVM Agents for Windows, Linux, MAC OSX will be installed with lowest thread priority:
The thread priority can be changed via the command line using the following optional command-line parameter supported by the Agent for Windows/Linux:
On Windows hosts (SVM Agent for Windows), the configuration of thread priority is more flexible.
You can also configure the default thread priority of your Agents through the Windows registry entry ScanThreadPriority by specifying one of the following available values:
ScanThreadPriority is setup as a DWORD registry value in the Windows Registry.
The agent reads the setting from HKLM\SOFTWARE\Wow6432Node\Secunia\CSI Agent when running under the Local System account, and from HKCU\SOFTWARE\Secunia\CSI Agent when running under a different domain service user account.
SeeWindows API for more details about the parameters of thread priority.
The Software Vulnerability Agent doesn’t use the background processing mode when THREAD_PRIORITY_NORMAL is specified.
The scan thread priority for MAC OSX-based SVM Agents cannot be changed due to known performance problems when different than the lowest thread is being used by the SVM Agent on OSX hosts.