Professional Documents
Culture Documents
SAP Memory Management
SAP Memory Management
SAP Memory Management
GUI Time
Dispatcher Wait Time
Rollout Time
Rollin Time
Processing Time
Load Time
Database Time
Enque Time
RFC Time
CPU Time
GUI & CPU are not part of response time because GUI is not part of application server.
GUI time is expensive if it goes beyond 200ms .
Steps to be taken:
1. Check networking connectivity.
2. Check for user desktop resources.
3. The amount of time taken by Work Process to get data from database is called
Database Time.
4. The amount of the time spent to load the program is called Load Time.
5. The amount of time spent by Work Process in CPU is called CPU time.
6. The amount of time requires to get the lock is called Enque Time.
7. The amount of time the user request is spent in queue is called wait time
8. The amount of time taken for rolling to work process is called Roll-on process
time.
9. Time taken to user request to roll out of the work process is called roll out time.
SAP BASIS 97
Parameters
10. The time taken by the work process to communicate with external device is called
RFC T ime.
11. The time taken from application server to database server is called Network Time.
12. Time taken by single dialogue step is called response time; it is usually in
between 600 ms - 1800 ms (800/900 ms)
13. Roll in and Roll out time is expensive if it goes beyond 50 ms.
It is expensive due to :
a. Excessive Authorization
b. User is fetching large amounts of data
Solution: try to look into authorization of user SU56 and try to take out
redundant/repeated authorization.
SAP BASIS 98
Parameters
20. Load time: it should be 100ms buffers are not effectively maintained, we may
need to change buffer parameters.
Response time in milliseconds: Starts when a user request enters the dispatcher queue; ends when
the next screen is returned to the user. The response time does not include the time to transfer from
the screen to the front end.
Wait time in milliseconds: This is the time a user request sits in the dispatcher queue. It starts
when user request is entered in the dispatcher queue; and ends when the request starts being
processed.
Roll-in time in milliseconds: The amount of time needed to roll user context information into
the work process.
Load time in milliseconds: The time needed to load from the database and generate objects
like ABAP source code, CUA, and screen information.
Processing time : This is equivalent to response time minus the sum of wait time, database
request time, load time, roll time, and enqueue time.
Database request time : Starts when a database request is put through to the database
interface; ends when the database interface has delivered the result.
CPU time in milliseconds: This is the CPU time used by the R/3 work process
Roll-wait time and GUI time are covered in the unit Interface Monitoring.
SAP BASIS 99
Parameters
Memory
Physical Memory:
It is a memory which is installed on the system RAM
Virtual Memory
Sum of physical memory and OS SWAP space 3 x Physical Memory + 500 MB
Shared Memory
Memory which is used by all the Work Processes
Extended Memory
A part of shared memory which is used by all the work processes
Local Memory
Memory used by a single work process, it is locally available
BUFFERS:
Buffers are temporary storage areas in the memory of application servers.
It is refreshed when the servers is restarted. R/3 buffers will reside in physical / Virtual
memory. The data will be stored as Bits / Bytes.
Types of Buffering
Full Buffering:
The table which is small frequently accessed is rarely changed
Ex: Currency table, measurement table timing
Single Record Buffering
Primary key information is buffered Ex: EmpNo, CustNo
General Record Buffering
A group of one or more keys bunched together for buffering. Ex: Primary and Foreign
Key
No Buffering:
Table is not qualified for buffering. Ex: Transactional Tables.
SWAPS:
These are important entity which needs to be monitored daily. Swapping i.e.; Object
swapping occurs when there are not enough space or directories in the buffer element.
Based on the company usages we can define swappable limit up to 5,000-10,000 per day.
NOTE:
1. In order to evaluate all the times go to ST03 in Export Mode.
2. ST03 is used to generate management reports, to measure the system response in
terms of Dialogue, User, Transaction and reports.
ROLL AREA:
The user context is stored in roll area.
This parameter is used to set the initial memory which will be used by
work process to roll in. it is part of roll area.
ZHA/roll_area
The amount of memory specified to roll the user context into local
memory of the work process
ZHA/roll_extension
The amount of extended memory allocated for the work process to roll
the user context information into the local memory of the work process.
Heap Memory:
If ZHA/roll_area is not specified to roll in, work process uses heap
memory.
Which is specified by parameter: ABAP/heap_limit
ABAP/heap_area_dia
memory or we can restrict the number of work process that goes into private
mode.