SAP/HANADB

s4hana memory reference ( SAP ABAP )

미미면 2023. 7. 11. 09:56
728x90
반응형
  Features     
  Controls the memory sizes for all work processes    
        
  Profile ParameterDescriptionDefault valueUnitRestrictions비고
  PHYS_MEMSIZESpecifies the size of the main memory of the host on which AS ABAP is running.Size of the main memory (RAM)MB-기본값 메인 메모리 크기와 동일
아래의 메모리들은 PHYS_MEMSIZE 자동으로 참조
[메모리]
em/initial_size_MB
EM/TOTAL_SIZE_MB
em/max_size_MB
abap/heap_area_total
rdisp/PG_SHM
  em/initial_size_MBSpecifies the total size of the extended memory (EM). The value is derived from the size of the physical main memory.(min(512000, $(PHYS_MEMSIZE) * 0.7))
-> 메모리의 70%
MBUNIX인스턴스가 실행중인 메모리와 관련 있음
ztta/roll_extension 통해 사용자 최대 조정 가능
  
  Linux
  
  Windows
  
  IBM i
  EM/TOTAL_SIZE_MBControls the total size of the EM for the implementation of shared memory segments (SHM segments).($(PHYS_MEMSIZE) * 0.7)MBAIX 
  em/max_size_MBSpecifies the maximum size of the dynamically extendable EM.(min(512000, $(PHYS_MEMSIZE) * 1.5))MBWindowsWindows 에서 확장할 있는 EM 상한
  ($(em/initial_size_MB))MBUNIXWindows 외에는 em/initial_size_MB 참조
  
  Linux
  
  IBM i
  
  AIX
  em/global_area_MBSpecifies the size of the global extended memory (EG).(min($(em/initial_size_MB) * 0.05, 32000))MB the task handler or enqueue 같은 커널 구성용 내부 통신만 관여하므로 확장메모리의 5%
자동으로 계산됨.
  abap/heap_area_totalSpecifies how much PRIV memory dialog and non-dialog work processes can allocate for user contexts.$(PHYS_MEMSIZE) * 1024 * 1024bytesWindows  PRIV 할당 있는 정의
  max($(PHYS_MEMSIZE)*1024*1024 * 0.1, $(abap/heap_area_dia) * 2)bytesUNIX
  
  Linux
  
  IBM i
  
  AIX
  em/proc_max_size_MBSpecifies the maximum amount of PROC memory all work processes together can use. The value 0 means that there is no limit to the PROC memory.0MB PROC 메모리양 지정
( PROC 작업 프로세스에 필요한 데이터에 사용 PRIV 다르게 사용자 별로 지정 X)
-> 자동 제어되며 수동으로 지정시 시스템 중단 될 수 있음.
  em/blocksize_KBThis value specifies the size of the blocks into which the segments of the extended segments memory (ES) are organized. The ES segments form the basis for the EM. If a user context requests memory from the extended memory, one or more blocks of this size are provided from the extended memory pool.(ceil($(em/initial_size_MB) * 1024 / 100000 / 4096) * 4096)KB ES 세그먼트가 구성되는 블록 크기 지정
  em/address_space_MBSpecifies the size of the address space that the work process provides for the EM. This also defines the total possible sum of the extended memory (EM) and the global extended memory (EG) of a single user context.($(em/initial_size_MB))MBWindowsEM 에서 제공되는 주소 공간의 크기 정의
  4096MBUNIX 
  
  Linux
  
  IBM i
  
  AIX
  rdisp/PG_SHMSpecifies the size of the paging buffer. The value is derived from the size of the physical main memory.(min(1000+40*max(5,floor(($(PHYS_MEMSIZE)-128)/20)),256000))8 KB blocks Pasing buffer , 변경할 필요 x
  rdisp/PG_MAXFSSpecifies the size of the SAP paging file. The SAP paging file functions as memory for Extract to Memory and Export to Memory.($(rdisp/PG_SHM))8 KB blocks 명령어를 저장하는 Pasing buffer , 변경할 필요 x
  rdisp/wppriv_max_noThe value specifies the maximum number of work processes that are allowed to be in PRIV mode.0Integer EM 할당량(ztta/roll_extension) 초과하면 PRIV 메모리로 할당되는데
이때 PRIV 있을 있는 작업프로세스 정의
  rdisp/max_priv_timeThis parameter value specifies the maximum time spent by a work process in PRIV mode.0Seconds 0 기본값 , 작업 프로세스에 대한 시간 제한 없음
        
  Controls the memory sizes for a work process    
        
  Profile ParameterDescriptionDefault valueUnitRestrictions비고
  ztta/roll_extensionSpecifies how much EM can be assigned to a user session (user context). The EM quota applies both to dialog work processes and to non-dialog work processes. The current parameter value is the default value for ztta/roll_extension_dia and ztta/roll_extension_nondia.4000000000bytesLinuxem 할당량 정의 // em/initial_size_MB 보다 적어야함.
  
  ztta/roll_extension only takes effect if its value is lower than em/initial_size_MB.2000000000bytesUNIX
  
  Windows
  
  IBM i
  
  AIX
  ztta/roll_extension_diaSpecifies the maximum amount of EM for dialog work processes.$(ztta/roll_extension)bytes 설정값 지정하면 ztta/roll_extension 엎어짐
  
  Note
  Set the parameter only if you want to change the limit explicitly.
  ztta/roll_extension_nondiaSpecifies the maximum amount of EM for non-dialog work processes.$(ztta/roll_extension)bytes "
  
  Note
  Set the parameter only if you want to change the limit explicitly.
  abap/heap_area_diaThis value specifies how much PRIV memory can be allocated for a user context by a single dialog work process. The aim is to limit the maximum size of user contexts so that one single user cannot occupy the entire memory available.2000000000bytes PRIV 메모리 지정
  abap/heap_area_nondiaSpecifies how much PRIV memory, a non-dialog work process (background, update, the system and print processes) can allocate for a user context. The aim is to limit the maximum size of user contexts so that one single user cannot occupy the entire memory available.2000000000bytesUnix, Linux, IBM i, AIX연관관계 있음
abap/heap_area_nondia or abap/heap_area_dia and profile parameter abap/heaplimit.
  0bytesWindows
  abap/heaplimitThis value specifies the amount of PRIV memory that, if exceeded, automatically restarts a work process after completion of the current transaction step. A bottleneck in the swap space should be prevented by using an automatic restart (as seldom as possible).150000000bytes 작업 프로세스 PRIV 대해 임계값 정의 , 임계값 초과시 프로그램 종료
  em/proc_max_wpsize_MBSpecifies the amount of PROC memory a single work process can use. The value 0 means that there is no limit to the PROC memory.0MB 최대 PROC 메모리 제한
        
  Controls the session memory size    
        
  Profile ParameterDescriptionDefault valueUnitRestrictions비고
  em/sessionmem_warnSpecifies the value of the warning threshold for dialog work processes before the regular session memory quota has been reached.0Percentage (%) EM + PRIV 값의
경고 임계값을 정의하여 높은 세션 메모리 사용으로 인한 리소스 병목 현상을 방지할 있습니다
 Total of ztta/roll_extension_dia and abap/heap_area_dia
Total of ztta/roll_extension_nondia and abap/heap_area_nondia
  When the threshold value is exceeded, a short dump without a program termination is written.
  em/sessionmem_warn_nondiaSpecifies the value of the warning threshold for non-dialog work processes before the regular session memory quota has been reached.0Percentage (%) "
  When the threshold value is exceeded, a short dump without a program termination is written.
  em/sessionmem_extSpecifies the size of the extended session memory quota for dialog work processes.0Percentage (%) 내부 세션 메모리 할당
   
  If the limit is exceeded, the program is terminated and a short dump written.
   
  Value 0 means that this quota extension is deactivated.
  em/sessionmem_ext_nondiaSpecifies the size of the extended session memory quota for non-dialog work processes.0Percentage (%) ABAP 프로그램에 대한 세션 메모리 할당
   
  If you exceed the limit, the program is terminated and a short dump written.
   
  Value 0 means that this parameter is inactive.
  em/sessionmem_ext_warnSpecifies the value of the warning threshold for dialog work processes before the extended session memory quota has been reached.0Percentage (%) EM + HEAP 메모리의 총 량
  When the threshold value is exceeded, a short dump without a program termination is written.
  em/sessionmem_ext_warn_nondiaSpecifies the value of the warning threshold for non-dialog work processes before the extended session memory quota has been reached.0Percentage (%)  
  When the threshold value is exceeded, a short dump without a program termination is written.
        
  EM implementation in SAP Memory Management    
        
  Profile ParameterDescriptionDefault valueUnitRestrictions비고
  es/implementationActivates the EM implementation with memory mapped files.stdSpecial character stringUNIX 
  
  Linux
  
  IBM i
  viewSpecial character stringWindows
  ES/TABLEActivates the EM implementation of shared memory segments.SHM_SEGSSpecial character stringAIX 
        
  SAP Memory Management Statistics     
        
  Profile ParameterDescriptionDefault valueUnitRestrictions비고
  em/stat_log_size_MBDisplays the statistics of the size of the user context.20MB 메모리 관리 통계 목적
   
  If the defined parameter value is exceeded, in SAP Memory Management, the sizes of user contexts are collected for statistical purposes.
  em/stat_log_timeoutThis parameter specifies the time interval with which the sizes are written to a file. Value 0 means that no file is written.0Min 파일에 기록하는 시간 기록
        
  Release of SAP memory to the operating system    
        
  Profile ParameterDescriptionDefault valueUnitRestrictions비고
  es/disclaim_threshold_MBIndicates the threshold from which memory blocks from the ES segments are released to the operating system.0bytes  매개변수를 사용하여 메모리 영역이 운영 체제로
릴리스되는 EM 채우기 레벨을 정의할 있습니다.
   
  If memory blocks are requested above this threshold, for instance when there is a high load, these blocks are released for the operating system at the same time as they are released for the ABAP system.
   
  Value 0
  es/disclaim_coasting_time_allocThis parameter specifies the length of time which a memory block from the ES segment that is currently allocated by the work process and swapped to the page file (or swap space) is released to the operating system once the configured release threshold is exceeded (es/disclaim_threshold_MB).0Seconds  
  es/disclaim_coasting_time_freeThis parameter specifies the length of time an allocated memory block from the ES segment that was released again by the work process is released to the operating system, after the configured release threshold (es/disclaim_threshold_MB) was exceeded.0Seconds  
  es/blockdisclaimsize_KBSpecifies the size of the upper part of a memory block from the ES segment that is released to the operating system.0bytes  
  es/freelist_compactorActivates a better utilization of memory blocks from the ES segments when there is a high load. This reduces the fragmentation of the EM.1Truth value  
        
        

 

반응형