In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
How to analyze the optimized configuration of SAP memory, in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
SAP application system consists of three layers: SAP GUI, SAP application server and SAP data server.
This time, we mainly optimize the configuration of SAP application server; the architecture of SAP application server is mainly composed of Dispatcher and Work Process, in which Work Process also includes Dialog: foreground operation, Update: asynchronous data update, Background: background task, Enqueue: for locking and synchronization, and Spool: for printing.
Memory usage by the SAP application server:
1. User Context
-user-specific area: user and authorization data
-session context: each foreground user can have 6 Session
2. Variables
3. Internal Tables
4 what is memory switching?
Why switch memory? All foreground operations are served by a limited number of background Dialog processes.
A Dialog process may need to serve multiple foreground processes at the same time
How does a Dialog process serve multiple foreground sessions?
Each foreground operation is composed of a series of Transaction Step
Each Transaction Step is the smallest unit in which SAP ABAP programs run independently.
Each Transaction Step is submitted to Dispatcher as a Dialog run request
Dispacher assigns the task to a Dialog process to handle
Therefore, the Dialog process needs to switch the User Context before and after processing each Transaction Step
5 enter PRIV mode: until the end of the current Transaction
Automatic termination of processes that enter PRIV mode
The number of processes in PRIV mode exceeds Max (rdisp/wppriv_max_no-5, 1)
Time to enter PRIV mode exceeds rdisp/max_priv_time (default=600s)
Non-Dialog processes are not affected
How the Dialog process allocates memory
6 Best Optimization practices-A dilemma
Allocating more memory to the database can improve the speed of data access, but too much will result in too much Page in/out in the operating system, which will degrade the performance.
If the Roll Area is too large, the overhead of memory replication will be high, and if it is too small, it is easy to make non-Dialog processes enter PRIV mode.
Extended Memory should be set larger to prevent the Dialog process from entering PRIV mode, but it is too large to cause too much operating system Page in/out
Setting more Dialog processes can improve the response speed of the foreground, but too much and too much memory
7 Best optimization practices-optimization methods
Database access usually does not become a bottleneck, so less memory can be allocated to it; moreover, when we set up the operating system Cache reasonably, the performance is not much different from that of the database itself Cache
Ztta/roll_first should be set small so that Dialog processes use Extended Memory as much as possible, and ztta/roll_area does not need to be too large, so as to save memory occupied by each process.
Extended Memory should be set large to avoid entering PRIV mode, but ensure that the total amount of memory used by the system (minus OS Cache) does not exceed too much physical memory
The number of Dialog processes should be determined through a trial period, mainly to ensure that the maximum queue length is not too large.
Abap/heaplimit is set to a moderate value, which takes up less memory.
There is no need to set the abap/buffersize too large, as long as it is not obviously affected.
This is the answer to the question on how to analyze the optimized configuration of SAP memory. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.