CPU MONITORING
TOTAL VSP SERVICES CPU CAPPING
-
The default limit is 40%
-
Configure the total CPU usage of the VSP services using the below command:
-
vsp-cli config vsp-manager edit cpuLimit <Limit_In_Percentage> --persist
-
NOTE:
AE and AE-Proxy services are excluded from the total CPU capping. Utilize the Individual Service Memory capping feature if required
INDIVIDUAL VSP SERVICE CPU CAPPING
-
Execute the below command to set the CPU limit of an individual VSP service by running:
-
vsp-cli edit-service <Service_Name> edit cpuLimit <Limit_In_Pertecntage>
-
-
Configure the Usage Sampling Time using the below command:
-
vsp-cli config vsp-manager edit usageSamplingTime <time_in_seconds> --persist
-
-
Configure Usage Sampling Rate using the below command:
-
vsp-cli config vsp-manager edit usageSamplingRate <Usage_Sampling_Rate> --persist
-
-
The available services are: AE, AE-PROXY, vIPC-server, FSM, FSM-AGENT, HMM, RMP, VSP-manager, VSP-memory-assist, VSP-web-assist and VSP-APG
-
Example:
-
Consider the values: usageSamplingTime = 2.5 and usageSamplingRate = 2,
-
For each CPU usage reading, VSP-Manager collects 2 samples, 2.5 seconds apart. Their average value is then calculated to procure the most accurate value of the current CPU usage
-
The average value is divided by the number of CPU cores on the system to get the overall CPU usage of a specific process
-
NOTE:
In cases where both Individual and Total capping values are configured, the lower value of the two will be effective