<< PREVIOUS  NEXT >>

 

CPU MONITORING

 

TOTAL VSP SERVICES CPU CAPPING
  1. The default limit is 40%

  2. Configure the total CPU usage of the VSP services using the below command:

    1. 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
  1. Execute the below command to set the CPU limit of an individual VSP service by running:

    1. vsp-cli edit-service <Service_Name> edit cpuLimit <Limit_In_Pertecntage>

       

       

       

  2. Configure the Usage Sampling Time using the below command:

    1. vsp-cli config vsp-manager edit usageSamplingTime <time_in_seconds> --persist

       

       

       

  3. Configure Usage Sampling Rate using the below command:

    1. vsp-cli config vsp-manager edit usageSamplingRate <Usage_Sampling_Rate> --persist

       

       

       

  4. 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

  5. Example:

    1. Consider the values: usageSamplingTime = 2.5 and usageSamplingRate = 2,

    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

    3. 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

 

<< PREVIOUS  NEXT >>