Translate

Note 1063061 - Information about response time in STAD/ST03

Summary
Symptom
The term 'response time' in Performance Monitoring is rather complex. This note provides information about how response time is measured and contains information about the term in general. The attachment of this note contains a diagram for further explanations.
Reason and Prerequisites
'Response time' refers to the time that it takes to process a request. The time measurement starts when a request reaches the ABAP application server and ends when processing is completed and the answer is sent to the front end. In other words: The response time refers to the time that it takes until a user receives a response from the server.
The ABAP kernel measures the response time.  The result is saved with the statistic records. The following fields in the statistic record are important in this context:
  • RESPTIME: Response time
  • QUEUETIME: Wait time in the dispatcher wait queue
  • ROLLINTI: Time for loading a user context (roll-in)
  • ROLLOUTTI: Time for unloading a user context (roll-out)
  • ROLLED_OUT: Wait time during request processing in which the user context has been unloaded

All times are written in microseconds, but displayed in milliseconds in STAD/ST03n.
Solution
A request is processed in the ABAP application server. The following steps are important with regard to the measurement of the response time (also see the diagram in the attachment of this note):
    1. The dispatcher assigns each request to a free work process (WP). It may take some time until a request can be assigned to free a work process. This wait time is specified as QUEUETIME (wait time in the dispatcher wait queue).
    2. After the request has been assigned to a WP, the measurement of the response time starts in the WP.
    3. Before the WP can be processed in the WP,  the relevant user context has to be loaded (roll-in). The time for this process is measured by the roll-in time (ROLLINTI) in parallel to the response time.
    4. The measurement of the response time in in the WP ends when the response is sent to the front end. However, there are further actions in the WP that are still part of this dialog step. In particular, the user context still has to be rolled out of the work process. This is measured by the roll-out time. As the user does not have to wait for this roll-out, the roll-out time (ROLLOUTTI) is not part of the response time.
    5. In case of remote communication, the user context may be rolled out of the WP so that the WP is free for the next request if it is no longer required for the last request. This is the case if the response of a server is not provided after 500 milliseconds at the most. The period between the roll-out and the roll-in is called rolled-out time (ROLLED_OUT). The rolled-out time is subtracted from the response time.
    6. If the response from the remote server reaches the application server, the dispatcher must first assign the request to the work process again.  In this process, there may be further wait time in the dispatcher wait queue (QUEUETIME). The user context has to be loaded in the work process (roll-in).  The time that is required for this process is added to the queue time or the roll-in time.

The total response time (RESPTIME) is the total of the response time, which was measured in the WP, and the dispatcher wait time (QUEUETIME). The time for the roll-in and roll-out is measured separately and must not be added.
  • RESPTIME: Response time (time in the WP + time in the dispatcher wait queue)
  • QUEUETIME: Wait time in the dispatcher wait queue; already contained in RESPTIME.
  • ROLLINTI: Time to load a user context (roll-in); already contained in RESPTIME.
  • ROLLOUTTI: Time to unload a user context (roll-out); not contained in RESPTIME.
  • ROLLED_OUT: Wait time during request processing in which the user context has been unloaded; not contained in RESPTIME.

Transaction STAD (display of statistical records) displays the following times:
  • Response Time,
  • Time in WP
  • Wait Time
  • Roll-In Time
  • Roll-Out Time
  • RollWait Time

These times are calculated from the values of the statistical records as follows:
  • Response Time = RESPTIME + ROLLED_OUT
  • Time in WP    = RESPTIME - QUEUETIME
  • Wait Time     = QUEUETIME
  • Roll-In Time  = ROLLINTI
  • Roll-Out Time = ROLLOUTTI
  • RollWait Time = ROLLED_OUT

Header Data
Release Status:Released for Customer
Released on:19.03.2013  08:05:28
Master Language:German
Priority:Recommendations/additional info
Category:Consulting
Primary Component:BC-CST-ST Kernel Statistics
Secondary Components:BC-CCM-MON-TUN Performance Monitors (TCC)
Affected Releases
Release-Independent
Related Notes

 
950019 - STAD Roll (in+wait) time in RFC/CPIC/ALE statistic records
 
919657 - Dialog response times in alert monitor and workload monitor

No comments:

Labels

sap hana hana database aws s4 hana hana db s4hana conversion steps sap hana azure bw4hana hana migration s4hana migration sap cloud migration steps sap hana migration steps sap hana migration to azure s4hana sap fiori fiori performance fiori erp s4 hana fiori sap fiori app sap fiori client sap fiori launchpad sap s4 hana fiori cisco ecc AI SAP AI abap dumps hana sap S/4HANA S/4HANA Conversion best sap ui5 & fiori training configuration database fiori tutorial on webide free sap ui5 & fiori training s/4 hana sap dumps sap fiori tutorial sap ui5 sap ui5 & fiori sap ui5 & fiori tutorial sara ui5cn 2367245 - Troubleshooting performance issues with SAP BPA Amazon free tier for SAP AWS setup Experience CALL_FUNCTION_NOT_FOUND CCMS Configuration and Use Create New Data Class in SAP (Oracle) Critical top SAP Abap dumps DHCP Clients Not Receiving IP Addresses Download Stack.xml HAN-DB HAN-DB-ENG High CPU Usage Due to Excessive Process Switching How To How to Start and Stop SAP Hana Tenant Database How to change SAP Hana Sql Output results are limited to 5000 Records How to perform SAP Dual Stack Split - Netweaver Inactive Objects in SAP Intercompany transactions in SAP AP / AR : Cross Company Code Transaction Interface Flapping Due to Duplex Mismatch KBA LOAD_PROGRAM_LOST MSSQL shrinking transaction log file Migrating to SAP hana database NAT Overload Causing Internet Access Failure Note 500235 - Network Diagnosis with NIPING OSPF Adjacency Not Forming PRINCE2 Foundation Sample Questions Preparing for S/4HANA Conversion and the MUST know items Push to Download Basket S/4HANA Migration Cockpit S/4JANA SAP BI Support Data Load Errors and Solutions SAP BI/BW Landscape SAP BPA SAP Basis SAP Basis Automation SAP Business Objects SAP CPS SAP Certification SAP FI Certification SAP FI Certification Sample Questions SAP HANA Admin - Cockpit SAP HANA DB Engines SAP HANA Database SAP HANA terminate session connection disconnect cancel kill hang stuck SAP Hana DB restore SAP Hana Numeric Error Codes SAP Landscape SAP Language installation SAP MM and Purchase Order Tables SAP Maintenance Planner SAP Note 500235 SAP R/3 Glossary SAP Readiness Check SAP S/4HANA 1709 Installation Files SAP S/4HANA 2023 SAP S/4HANA 2023 Installation SAP S/4HANA 2023 running SAP S/4HANA Installation SAP Scheduling SAP Solman 7.2 CHARM: SAP Support Package Stack Strategy SAP Support package SAP Upgrade SAP support stack upgrade SP stacks STORAGE_PARAMETERS_WRONG_SET SUSE/SLES/Kernel versions Setup of S/4hana 2023 TSV_TNEW_PAGE_ALLOC_FAILED TSV_TNEW_PAGE_ALLOC_FAILED error Transaction ID Unable to download an SAP Note Unix/Linux Command That Are Helpful For SAP Basis Upgrading SAP Kernel Without Downtime Upgrading windows server 2008 to windows server 2019 What is OSS Notes? SAP SNOTE Tutorial accounting agile ale idoc ale/edi archive FI documents audit auditing auditor aws aws cloud basic type bluefield approach ccms ccmsidb charm copilot datavard dbacockpit download sap note download snote edi idoc electronic data interchange enable sap archiving objects erpprep ffid firefighter fraud functional hana admin how to apply sap security note https://www.erpprep.com/ idoc install install sap fiori installation interfaces intermediate document internal control license key linux version materials management messsage niping test order type port prince2 agile prince2 agile practitioner purchasing quick info s4 hana sap abap dumps sap abbreviations sap activate certification sap activate project manager sap authorization sap aws sap brownfield sap ccms sap ccms configuration sap erp sap error sap grc sap greenfield sap internet demo system sap license sap maintenance certificate sap material management sap meaning sap mm sap mm consultant sap monthly security note sap netweaver sap network diagnostic sap niping sap note sap oss sap patch day sap performance sap performance issue sap purchase order sap s/4hana sap sales and distribution sap sap otc sap sd sap sd certification training sap sd course sap sd jobs sap sd module sap sd online training sap sd training sap sd tutorial sap sd tutorial for beginners sap security sap security note sap snote sap snote tutorial sap solution manager sap sql segregation of duties separation of duties sles slicense smc snote snote in sap system sod conflict solution manager solution maneger stop start hana database suse linux techie trex two step upgrade required waterfall