When investigating issue related to CPU consumption on Commerce Cloud, it is essential to know how many cores are allocated to each service (e.g. accstorefront, api, backoffice, backgroundprocessing). Dynatrace displays the CPU usage relative to the host, but in a containerized application this does not accurately represent the utilization percentage relative to the pod itself.
For example, if a service having 6 cores is contained in a VM having 16, that service can utilize 37.5% (6/16) of the total CPU. When Dynatrace shows a Process CPU utilization of 38% as illustrated below, this is actually equivalent to 100% CPU utilization from the perspective of the process.
To calculate the real CPU% utilization, this formula can be used: (Process CPU% on Dynatrace) x 16 / (#cores allocated to service). In this example, 38 x 16 / 6 = 101 ~ 100% (taking into consideration rounding on Dynatrace).
The number 16 here is based on the Standard_F16s_v2 VM that is provided by default on Commerce Cloud environments. In the event that you have a different VM type, the value can be replaced accordingly.
SAP Commerce Cloud
KBA , CEC-COM-CPS-PRF , Performance , How To
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.